nokogiri 1.14.5-x64-mingw32 → 1.15.0-x64-mingw32

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of nokogiri might be problematic. Click here for more details.

Files changed (111) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +9 -8
  3. data/dependencies.yml +6 -6
  4. data/ext/nokogiri/extconf.rb +66 -22
  5. data/ext/nokogiri/html4_document.c +1 -2
  6. data/ext/nokogiri/html4_element_description.c +19 -14
  7. data/ext/nokogiri/html4_sax_parser_context.c +10 -16
  8. data/ext/nokogiri/html4_sax_push_parser.c +2 -2
  9. data/ext/nokogiri/include/libexslt/exsltconfig.h +3 -3
  10. data/ext/nokogiri/include/libxml2/libxml/HTMLparser.h +52 -38
  11. data/ext/nokogiri/include/libxml2/libxml/HTMLtree.h +18 -18
  12. data/ext/nokogiri/include/libxml2/libxml/SAX.h +36 -36
  13. data/ext/nokogiri/include/libxml2/libxml/SAX2.h +37 -36
  14. data/ext/nokogiri/include/libxml2/libxml/c14n.h +4 -4
  15. data/ext/nokogiri/include/libxml2/libxml/catalog.h +36 -36
  16. data/ext/nokogiri/include/libxml2/libxml/chvalid.h +9 -9
  17. data/ext/nokogiri/include/libxml2/libxml/debugXML.h +28 -28
  18. data/ext/nokogiri/include/libxml2/libxml/dict.h +13 -13
  19. data/ext/nokogiri/include/libxml2/libxml/encoding.h +20 -19
  20. data/ext/nokogiri/include/libxml2/libxml/entities.h +19 -21
  21. data/ext/nokogiri/include/libxml2/libxml/globals.h +89 -59
  22. data/ext/nokogiri/include/libxml2/libxml/hash.h +25 -25
  23. data/ext/nokogiri/include/libxml2/libxml/list.h +26 -26
  24. data/ext/nokogiri/include/libxml2/libxml/nanoftp.h +22 -22
  25. data/ext/nokogiri/include/libxml2/libxml/nanohttp.h +17 -17
  26. data/ext/nokogiri/include/libxml2/libxml/parser.h +100 -79
  27. data/ext/nokogiri/include/libxml2/libxml/parserInternals.h +149 -143
  28. data/ext/nokogiri/include/libxml2/libxml/pattern.h +15 -15
  29. data/ext/nokogiri/include/libxml2/libxml/relaxng.h +26 -26
  30. data/ext/nokogiri/include/libxml2/libxml/schemasInternals.h +2 -2
  31. data/ext/nokogiri/include/libxml2/libxml/schematron.h +18 -18
  32. data/ext/nokogiri/include/libxml2/libxml/threads.h +23 -20
  33. data/ext/nokogiri/include/libxml2/libxml/tree.h +166 -164
  34. data/ext/nokogiri/include/libxml2/libxml/uri.h +15 -15
  35. data/ext/nokogiri/include/libxml2/libxml/valid.h +72 -87
  36. data/ext/nokogiri/include/libxml2/libxml/xinclude.h +10 -10
  37. data/ext/nokogiri/include/libxml2/libxml/xlink.h +5 -5
  38. data/ext/nokogiri/include/libxml2/libxml/xmlIO.h +60 -59
  39. data/ext/nokogiri/include/libxml2/libxml/xmlautomata.h +21 -21
  40. data/ext/nokogiri/include/libxml2/libxml/xmlerror.h +18 -46
  41. data/ext/nokogiri/include/libxml2/libxml/xmlexports.h +14 -41
  42. data/ext/nokogiri/include/libxml2/libxml/xmlmemory.h +26 -24
  43. data/ext/nokogiri/include/libxml2/libxml/xmlmodule.h +4 -4
  44. data/ext/nokogiri/include/libxml2/libxml/xmlreader.h +87 -87
  45. data/ext/nokogiri/include/libxml2/libxml/xmlregexp.h +30 -30
  46. data/ext/nokogiri/include/libxml2/libxml/xmlsave.h +10 -10
  47. data/ext/nokogiri/include/libxml2/libxml/xmlschemas.h +30 -30
  48. data/ext/nokogiri/include/libxml2/libxml/xmlschemastypes.h +34 -34
  49. data/ext/nokogiri/include/libxml2/libxml/xmlstring.h +30 -30
  50. data/ext/nokogiri/include/libxml2/libxml/xmlunicode.h +166 -166
  51. data/ext/nokogiri/include/libxml2/libxml/xmlversion.h +50 -27
  52. data/ext/nokogiri/include/libxml2/libxml/xmlwriter.h +80 -80
  53. data/ext/nokogiri/include/libxml2/libxml/xpath.h +41 -41
  54. data/ext/nokogiri/include/libxml2/libxml/xpathInternals.h +117 -117
  55. data/ext/nokogiri/include/libxml2/libxml/xpointer.h +21 -21
  56. data/ext/nokogiri/include/libxslt/attributes.h +1 -0
  57. data/ext/nokogiri/include/libxslt/variables.h +3 -3
  58. data/ext/nokogiri/include/libxslt/xsltInternals.h +14 -4
  59. data/ext/nokogiri/include/libxslt/xsltconfig.h +4 -4
  60. data/ext/nokogiri/include/libxslt/xsltlocale.h +14 -54
  61. data/ext/nokogiri/include/libxslt/xsltutils.h +35 -2
  62. data/ext/nokogiri/nokogiri.c +46 -24
  63. data/ext/nokogiri/nokogiri.h +13 -2
  64. data/ext/nokogiri/xml_attr.c +1 -1
  65. data/ext/nokogiri/xml_cdata.c +10 -2
  66. data/ext/nokogiri/xml_comment.c +1 -1
  67. data/ext/nokogiri/xml_document.c +102 -22
  68. data/ext/nokogiri/xml_document_fragment.c +1 -1
  69. data/ext/nokogiri/xml_dtd.c +1 -1
  70. data/ext/nokogiri/xml_element_content.c +32 -29
  71. data/ext/nokogiri/xml_element_decl.c +5 -5
  72. data/ext/nokogiri/xml_encoding_handler.c +12 -4
  73. data/ext/nokogiri/xml_entity_reference.c +1 -1
  74. data/ext/nokogiri/xml_namespace.c +11 -12
  75. data/ext/nokogiri/xml_node.c +7 -7
  76. data/ext/nokogiri/xml_node_set.c +125 -105
  77. data/ext/nokogiri/xml_processing_instruction.c +1 -1
  78. data/ext/nokogiri/xml_reader.c +37 -28
  79. data/ext/nokogiri/xml_relax_ng.c +65 -78
  80. data/ext/nokogiri/xml_sax_parser.c +24 -5
  81. data/ext/nokogiri/xml_sax_parser_context.c +46 -25
  82. data/ext/nokogiri/xml_sax_push_parser.c +29 -8
  83. data/ext/nokogiri/xml_schema.c +90 -116
  84. data/ext/nokogiri/xml_text.c +10 -2
  85. data/ext/nokogiri/xml_xpath_context.c +156 -83
  86. data/ext/nokogiri/xslt_stylesheet.c +103 -50
  87. data/lib/nokogiri/2.7/nokogiri.so +0 -0
  88. data/lib/nokogiri/3.0/nokogiri.so +0 -0
  89. data/lib/nokogiri/css/xpath_visitor.rb +2 -2
  90. data/lib/nokogiri/extension.rb +1 -1
  91. data/lib/nokogiri/html4/document_fragment.rb +1 -1
  92. data/lib/nokogiri/html4/element_description_defaults.rb +1821 -353
  93. data/lib/nokogiri/html5/document_fragment.rb +1 -1
  94. data/lib/nokogiri/html5/node.rb +5 -0
  95. data/lib/nokogiri/html5.rb +5 -2
  96. data/lib/nokogiri/jruby/nokogiri_jars.rb +3 -3
  97. data/lib/nokogiri/version/constant.rb +1 -1
  98. data/lib/nokogiri/xml/attribute_decl.rb +4 -2
  99. data/lib/nokogiri/xml/document_fragment.rb +1 -1
  100. data/lib/nokogiri/xml/element_content.rb +10 -2
  101. data/lib/nokogiri/xml/element_decl.rb +4 -2
  102. data/lib/nokogiri/xml/entity_decl.rb +4 -2
  103. data/lib/nokogiri/xml/node/save_options.rb +8 -0
  104. data/lib/nokogiri/xml/node.rb +22 -13
  105. data/lib/nokogiri/xml/pp/node.rb +23 -12
  106. data/lib/nokogiri/xml/sax/document.rb +1 -1
  107. data/lib/nokogiri/xml/searchable.rb +18 -10
  108. data/lib/nokogiri/xslt.rb +73 -3
  109. data/lib/nokogiri.rb +12 -4
  110. data/lib/xsd/xmlparser/nokogiri.rb +1 -1
  111. metadata +2 -2
@@ -49,43 +49,43 @@ struct _xmlURI {
49
49
  * xmlChar * xmlNodeGetBase (xmlDocPtr doc,
50
50
  * xmlNodePtr cur);
51
51
  */
52
- XMLPUBFUN xmlURIPtr XMLCALL
52
+ XMLPUBFUN xmlURIPtr
53
53
  xmlCreateURI (void);
54
- XMLPUBFUN xmlChar * XMLCALL
54
+ XMLPUBFUN xmlChar *
55
55
  xmlBuildURI (const xmlChar *URI,
56
56
  const xmlChar *base);
57
- XMLPUBFUN xmlChar * XMLCALL
57
+ XMLPUBFUN xmlChar *
58
58
  xmlBuildRelativeURI (const xmlChar *URI,
59
59
  const xmlChar *base);
60
- XMLPUBFUN xmlURIPtr XMLCALL
60
+ XMLPUBFUN xmlURIPtr
61
61
  xmlParseURI (const char *str);
62
- XMLPUBFUN xmlURIPtr XMLCALL
62
+ XMLPUBFUN xmlURIPtr
63
63
  xmlParseURIRaw (const char *str,
64
64
  int raw);
65
- XMLPUBFUN int XMLCALL
65
+ XMLPUBFUN int
66
66
  xmlParseURIReference (xmlURIPtr uri,
67
67
  const char *str);
68
- XMLPUBFUN xmlChar * XMLCALL
68
+ XMLPUBFUN xmlChar *
69
69
  xmlSaveUri (xmlURIPtr uri);
70
- XMLPUBFUN void XMLCALL
70
+ XMLPUBFUN void
71
71
  xmlPrintURI (FILE *stream,
72
72
  xmlURIPtr uri);
73
- XMLPUBFUN xmlChar * XMLCALL
73
+ XMLPUBFUN xmlChar *
74
74
  xmlURIEscapeStr (const xmlChar *str,
75
75
  const xmlChar *list);
76
- XMLPUBFUN char * XMLCALL
76
+ XMLPUBFUN char *
77
77
  xmlURIUnescapeString (const char *str,
78
78
  int len,
79
79
  char *target);
80
- XMLPUBFUN int XMLCALL
80
+ XMLPUBFUN int
81
81
  xmlNormalizeURIPath (char *path);
82
- XMLPUBFUN xmlChar * XMLCALL
82
+ XMLPUBFUN xmlChar *
83
83
  xmlURIEscape (const xmlChar *str);
84
- XMLPUBFUN void XMLCALL
84
+ XMLPUBFUN void
85
85
  xmlFreeURI (xmlURIPtr uri);
86
- XMLPUBFUN xmlChar* XMLCALL
86
+ XMLPUBFUN xmlChar*
87
87
  xmlCanonicPath (const xmlChar *path);
88
- XMLPUBFUN xmlChar* XMLCALL
88
+ XMLPUBFUN xmlChar*
89
89
  xmlPathToURI (const xmlChar *path);
90
90
 
91
91
  #ifdef __cplusplus
@@ -39,7 +39,7 @@ typedef xmlValidState *xmlValidStatePtr;
39
39
  * Callback called when a validity error is found. This is a message
40
40
  * oriented function similar to an *printf function.
41
41
  */
42
- typedef void (XMLCDECL *xmlValidityErrorFunc) (void *ctx,
42
+ typedef void (*xmlValidityErrorFunc) (void *ctx,
43
43
  const char *msg,
44
44
  ...) LIBXML_ATTR_FORMAT(2,3);
45
45
 
@@ -54,25 +54,10 @@ typedef void (XMLCDECL *xmlValidityErrorFunc) (void *ctx,
54
54
  * Callback called when a validity warning is found. This is a message
55
55
  * oriented function similar to an *printf function.
56
56
  */
57
- typedef void (XMLCDECL *xmlValidityWarningFunc) (void *ctx,
57
+ typedef void (*xmlValidityWarningFunc) (void *ctx,
58
58
  const char *msg,
59
59
  ...) LIBXML_ATTR_FORMAT(2,3);
60
60
 
61
- #ifdef IN_LIBXML
62
- /**
63
- * XML_VCTXT_DTD_VALIDATED:
64
- *
65
- * Set after xmlValidateDtdFinal was called.
66
- */
67
- #define XML_VCTXT_DTD_VALIDATED (1u << 0)
68
- /**
69
- * XML_VCTXT_USE_PCTXT:
70
- *
71
- * Set if the validation context is part of a parser context.
72
- */
73
- #define XML_VCTXT_USE_PCTXT (1u << 1)
74
- #endif
75
-
76
61
  /*
77
62
  * xmlValidCtxt:
78
63
  * An xmlValidCtxt is used for error reporting when validating.
@@ -150,55 +135,55 @@ typedef struct _xmlHashTable xmlRefTable;
150
135
  typedef xmlRefTable *xmlRefTablePtr;
151
136
 
152
137
  /* Notation */
153
- XMLPUBFUN xmlNotationPtr XMLCALL
138
+ XMLPUBFUN xmlNotationPtr
154
139
  xmlAddNotationDecl (xmlValidCtxtPtr ctxt,
155
140
  xmlDtdPtr dtd,
156
141
  const xmlChar *name,
157
142
  const xmlChar *PublicID,
158
143
  const xmlChar *SystemID);
159
144
  #ifdef LIBXML_TREE_ENABLED
160
- XMLPUBFUN xmlNotationTablePtr XMLCALL
145
+ XMLPUBFUN xmlNotationTablePtr
161
146
  xmlCopyNotationTable (xmlNotationTablePtr table);
162
147
  #endif /* LIBXML_TREE_ENABLED */
163
- XMLPUBFUN void XMLCALL
148
+ XMLPUBFUN void
164
149
  xmlFreeNotationTable (xmlNotationTablePtr table);
165
150
  #ifdef LIBXML_OUTPUT_ENABLED
166
- XMLPUBFUN void XMLCALL
151
+ XMLPUBFUN void
167
152
  xmlDumpNotationDecl (xmlBufferPtr buf,
168
153
  xmlNotationPtr nota);
169
- XMLPUBFUN void XMLCALL
154
+ XMLPUBFUN void
170
155
  xmlDumpNotationTable (xmlBufferPtr buf,
171
156
  xmlNotationTablePtr table);
172
157
  #endif /* LIBXML_OUTPUT_ENABLED */
173
158
 
174
159
  /* Element Content */
175
160
  /* the non Doc version are being deprecated */
176
- XMLPUBFUN xmlElementContentPtr XMLCALL
161
+ XMLPUBFUN xmlElementContentPtr
177
162
  xmlNewElementContent (const xmlChar *name,
178
163
  xmlElementContentType type);
179
- XMLPUBFUN xmlElementContentPtr XMLCALL
164
+ XMLPUBFUN xmlElementContentPtr
180
165
  xmlCopyElementContent (xmlElementContentPtr content);
181
- XMLPUBFUN void XMLCALL
166
+ XMLPUBFUN void
182
167
  xmlFreeElementContent (xmlElementContentPtr cur);
183
168
  /* the new versions with doc argument */
184
- XMLPUBFUN xmlElementContentPtr XMLCALL
169
+ XMLPUBFUN xmlElementContentPtr
185
170
  xmlNewDocElementContent (xmlDocPtr doc,
186
171
  const xmlChar *name,
187
172
  xmlElementContentType type);
188
- XMLPUBFUN xmlElementContentPtr XMLCALL
173
+ XMLPUBFUN xmlElementContentPtr
189
174
  xmlCopyDocElementContent(xmlDocPtr doc,
190
175
  xmlElementContentPtr content);
191
- XMLPUBFUN void XMLCALL
176
+ XMLPUBFUN void
192
177
  xmlFreeDocElementContent(xmlDocPtr doc,
193
178
  xmlElementContentPtr cur);
194
- XMLPUBFUN void XMLCALL
179
+ XMLPUBFUN void
195
180
  xmlSnprintfElementContent(char *buf,
196
181
  int size,
197
182
  xmlElementContentPtr content,
198
183
  int englob);
199
184
  #ifdef LIBXML_OUTPUT_ENABLED
200
185
  /* DEPRECATED */
201
- XMLPUBFUN void XMLCALL
186
+ XMLPUBFUN void
202
187
  xmlSprintfElementContent(char *buf,
203
188
  xmlElementContentPtr content,
204
189
  int englob);
@@ -206,39 +191,39 @@ XMLPUBFUN void XMLCALL
206
191
  /* DEPRECATED */
207
192
 
208
193
  /* Element */
209
- XMLPUBFUN xmlElementPtr XMLCALL
194
+ XMLPUBFUN xmlElementPtr
210
195
  xmlAddElementDecl (xmlValidCtxtPtr ctxt,
211
196
  xmlDtdPtr dtd,
212
197
  const xmlChar *name,
213
198
  xmlElementTypeVal type,
214
199
  xmlElementContentPtr content);
215
200
  #ifdef LIBXML_TREE_ENABLED
216
- XMLPUBFUN xmlElementTablePtr XMLCALL
201
+ XMLPUBFUN xmlElementTablePtr
217
202
  xmlCopyElementTable (xmlElementTablePtr table);
218
203
  #endif /* LIBXML_TREE_ENABLED */
219
- XMLPUBFUN void XMLCALL
204
+ XMLPUBFUN void
220
205
  xmlFreeElementTable (xmlElementTablePtr table);
221
206
  #ifdef LIBXML_OUTPUT_ENABLED
222
- XMLPUBFUN void XMLCALL
207
+ XMLPUBFUN void
223
208
  xmlDumpElementTable (xmlBufferPtr buf,
224
209
  xmlElementTablePtr table);
225
- XMLPUBFUN void XMLCALL
210
+ XMLPUBFUN void
226
211
  xmlDumpElementDecl (xmlBufferPtr buf,
227
212
  xmlElementPtr elem);
228
213
  #endif /* LIBXML_OUTPUT_ENABLED */
229
214
 
230
215
  /* Enumeration */
231
- XMLPUBFUN xmlEnumerationPtr XMLCALL
216
+ XMLPUBFUN xmlEnumerationPtr
232
217
  xmlCreateEnumeration (const xmlChar *name);
233
- XMLPUBFUN void XMLCALL
218
+ XMLPUBFUN void
234
219
  xmlFreeEnumeration (xmlEnumerationPtr cur);
235
220
  #ifdef LIBXML_TREE_ENABLED
236
- XMLPUBFUN xmlEnumerationPtr XMLCALL
221
+ XMLPUBFUN xmlEnumerationPtr
237
222
  xmlCopyEnumeration (xmlEnumerationPtr cur);
238
223
  #endif /* LIBXML_TREE_ENABLED */
239
224
 
240
225
  /* Attribute */
241
- XMLPUBFUN xmlAttributePtr XMLCALL
226
+ XMLPUBFUN xmlAttributePtr
242
227
  xmlAddAttributeDecl (xmlValidCtxtPtr ctxt,
243
228
  xmlDtdPtr dtd,
244
229
  const xmlChar *elem,
@@ -249,60 +234,60 @@ XMLPUBFUN xmlAttributePtr XMLCALL
249
234
  const xmlChar *defaultValue,
250
235
  xmlEnumerationPtr tree);
251
236
  #ifdef LIBXML_TREE_ENABLED
252
- XMLPUBFUN xmlAttributeTablePtr XMLCALL
237
+ XMLPUBFUN xmlAttributeTablePtr
253
238
  xmlCopyAttributeTable (xmlAttributeTablePtr table);
254
239
  #endif /* LIBXML_TREE_ENABLED */
255
- XMLPUBFUN void XMLCALL
240
+ XMLPUBFUN void
256
241
  xmlFreeAttributeTable (xmlAttributeTablePtr table);
257
242
  #ifdef LIBXML_OUTPUT_ENABLED
258
- XMLPUBFUN void XMLCALL
243
+ XMLPUBFUN void
259
244
  xmlDumpAttributeTable (xmlBufferPtr buf,
260
245
  xmlAttributeTablePtr table);
261
- XMLPUBFUN void XMLCALL
246
+ XMLPUBFUN void
262
247
  xmlDumpAttributeDecl (xmlBufferPtr buf,
263
248
  xmlAttributePtr attr);
264
249
  #endif /* LIBXML_OUTPUT_ENABLED */
265
250
 
266
251
  /* IDs */
267
- XMLPUBFUN xmlIDPtr XMLCALL
252
+ XMLPUBFUN xmlIDPtr
268
253
  xmlAddID (xmlValidCtxtPtr ctxt,
269
254
  xmlDocPtr doc,
270
255
  const xmlChar *value,
271
256
  xmlAttrPtr attr);
272
- XMLPUBFUN void XMLCALL
257
+ XMLPUBFUN void
273
258
  xmlFreeIDTable (xmlIDTablePtr table);
274
- XMLPUBFUN xmlAttrPtr XMLCALL
259
+ XMLPUBFUN xmlAttrPtr
275
260
  xmlGetID (xmlDocPtr doc,
276
261
  const xmlChar *ID);
277
- XMLPUBFUN int XMLCALL
262
+ XMLPUBFUN int
278
263
  xmlIsID (xmlDocPtr doc,
279
264
  xmlNodePtr elem,
280
265
  xmlAttrPtr attr);
281
- XMLPUBFUN int XMLCALL
266
+ XMLPUBFUN int
282
267
  xmlRemoveID (xmlDocPtr doc,
283
268
  xmlAttrPtr attr);
284
269
 
285
270
  /* IDREFs */
286
271
  XML_DEPRECATED
287
- XMLPUBFUN xmlRefPtr XMLCALL
272
+ XMLPUBFUN xmlRefPtr
288
273
  xmlAddRef (xmlValidCtxtPtr ctxt,
289
274
  xmlDocPtr doc,
290
275
  const xmlChar *value,
291
276
  xmlAttrPtr attr);
292
277
  XML_DEPRECATED
293
- XMLPUBFUN void XMLCALL
278
+ XMLPUBFUN void
294
279
  xmlFreeRefTable (xmlRefTablePtr table);
295
280
  XML_DEPRECATED
296
- XMLPUBFUN int XMLCALL
281
+ XMLPUBFUN int
297
282
  xmlIsRef (xmlDocPtr doc,
298
283
  xmlNodePtr elem,
299
284
  xmlAttrPtr attr);
300
285
  XML_DEPRECATED
301
- XMLPUBFUN int XMLCALL
286
+ XMLPUBFUN int
302
287
  xmlRemoveRef (xmlDocPtr doc,
303
288
  xmlAttrPtr attr);
304
289
  XML_DEPRECATED
305
- XMLPUBFUN xmlListPtr XMLCALL
290
+ XMLPUBFUN xmlListPtr
306
291
  xmlGetRefs (xmlDocPtr doc,
307
292
  const xmlChar *ID);
308
293
 
@@ -311,146 +296,146 @@ XMLPUBFUN xmlListPtr XMLCALL
311
296
  */
312
297
  #ifdef LIBXML_VALID_ENABLED
313
298
  /* Allocate/Release Validation Contexts */
314
- XMLPUBFUN xmlValidCtxtPtr XMLCALL
299
+ XMLPUBFUN xmlValidCtxtPtr
315
300
  xmlNewValidCtxt(void);
316
- XMLPUBFUN void XMLCALL
301
+ XMLPUBFUN void
317
302
  xmlFreeValidCtxt(xmlValidCtxtPtr);
318
303
 
319
- XMLPUBFUN int XMLCALL
304
+ XMLPUBFUN int
320
305
  xmlValidateRoot (xmlValidCtxtPtr ctxt,
321
306
  xmlDocPtr doc);
322
- XMLPUBFUN int XMLCALL
307
+ XMLPUBFUN int
323
308
  xmlValidateElementDecl (xmlValidCtxtPtr ctxt,
324
309
  xmlDocPtr doc,
325
310
  xmlElementPtr elem);
326
- XMLPUBFUN xmlChar * XMLCALL
311
+ XMLPUBFUN xmlChar *
327
312
  xmlValidNormalizeAttributeValue(xmlDocPtr doc,
328
313
  xmlNodePtr elem,
329
314
  const xmlChar *name,
330
315
  const xmlChar *value);
331
- XMLPUBFUN xmlChar * XMLCALL
316
+ XMLPUBFUN xmlChar *
332
317
  xmlValidCtxtNormalizeAttributeValue(xmlValidCtxtPtr ctxt,
333
318
  xmlDocPtr doc,
334
319
  xmlNodePtr elem,
335
320
  const xmlChar *name,
336
321
  const xmlChar *value);
337
- XMLPUBFUN int XMLCALL
322
+ XMLPUBFUN int
338
323
  xmlValidateAttributeDecl(xmlValidCtxtPtr ctxt,
339
324
  xmlDocPtr doc,
340
325
  xmlAttributePtr attr);
341
- XMLPUBFUN int XMLCALL
326
+ XMLPUBFUN int
342
327
  xmlValidateAttributeValue(xmlAttributeType type,
343
328
  const xmlChar *value);
344
- XMLPUBFUN int XMLCALL
329
+ XMLPUBFUN int
345
330
  xmlValidateNotationDecl (xmlValidCtxtPtr ctxt,
346
331
  xmlDocPtr doc,
347
332
  xmlNotationPtr nota);
348
- XMLPUBFUN int XMLCALL
333
+ XMLPUBFUN int
349
334
  xmlValidateDtd (xmlValidCtxtPtr ctxt,
350
335
  xmlDocPtr doc,
351
336
  xmlDtdPtr dtd);
352
- XMLPUBFUN int XMLCALL
337
+ XMLPUBFUN int
353
338
  xmlValidateDtdFinal (xmlValidCtxtPtr ctxt,
354
339
  xmlDocPtr doc);
355
- XMLPUBFUN int XMLCALL
340
+ XMLPUBFUN int
356
341
  xmlValidateDocument (xmlValidCtxtPtr ctxt,
357
342
  xmlDocPtr doc);
358
- XMLPUBFUN int XMLCALL
343
+ XMLPUBFUN int
359
344
  xmlValidateElement (xmlValidCtxtPtr ctxt,
360
345
  xmlDocPtr doc,
361
346
  xmlNodePtr elem);
362
- XMLPUBFUN int XMLCALL
347
+ XMLPUBFUN int
363
348
  xmlValidateOneElement (xmlValidCtxtPtr ctxt,
364
349
  xmlDocPtr doc,
365
350
  xmlNodePtr elem);
366
- XMLPUBFUN int XMLCALL
351
+ XMLPUBFUN int
367
352
  xmlValidateOneAttribute (xmlValidCtxtPtr ctxt,
368
353
  xmlDocPtr doc,
369
354
  xmlNodePtr elem,
370
355
  xmlAttrPtr attr,
371
356
  const xmlChar *value);
372
- XMLPUBFUN int XMLCALL
357
+ XMLPUBFUN int
373
358
  xmlValidateOneNamespace (xmlValidCtxtPtr ctxt,
374
359
  xmlDocPtr doc,
375
360
  xmlNodePtr elem,
376
361
  const xmlChar *prefix,
377
362
  xmlNsPtr ns,
378
363
  const xmlChar *value);
379
- XMLPUBFUN int XMLCALL
364
+ XMLPUBFUN int
380
365
  xmlValidateDocumentFinal(xmlValidCtxtPtr ctxt,
381
366
  xmlDocPtr doc);
382
367
  #endif /* LIBXML_VALID_ENABLED */
383
368
 
384
369
  #if defined(LIBXML_VALID_ENABLED) || defined(LIBXML_SCHEMAS_ENABLED)
385
- XMLPUBFUN int XMLCALL
370
+ XMLPUBFUN int
386
371
  xmlValidateNotationUse (xmlValidCtxtPtr ctxt,
387
372
  xmlDocPtr doc,
388
373
  const xmlChar *notationName);
389
374
  #endif /* LIBXML_VALID_ENABLED or LIBXML_SCHEMAS_ENABLED */
390
375
 
391
- XMLPUBFUN int XMLCALL
376
+ XMLPUBFUN int
392
377
  xmlIsMixedElement (xmlDocPtr doc,
393
378
  const xmlChar *name);
394
- XMLPUBFUN xmlAttributePtr XMLCALL
379
+ XMLPUBFUN xmlAttributePtr
395
380
  xmlGetDtdAttrDesc (xmlDtdPtr dtd,
396
381
  const xmlChar *elem,
397
382
  const xmlChar *name);
398
- XMLPUBFUN xmlAttributePtr XMLCALL
383
+ XMLPUBFUN xmlAttributePtr
399
384
  xmlGetDtdQAttrDesc (xmlDtdPtr dtd,
400
385
  const xmlChar *elem,
401
386
  const xmlChar *name,
402
387
  const xmlChar *prefix);
403
- XMLPUBFUN xmlNotationPtr XMLCALL
388
+ XMLPUBFUN xmlNotationPtr
404
389
  xmlGetDtdNotationDesc (xmlDtdPtr dtd,
405
390
  const xmlChar *name);
406
- XMLPUBFUN xmlElementPtr XMLCALL
391
+ XMLPUBFUN xmlElementPtr
407
392
  xmlGetDtdQElementDesc (xmlDtdPtr dtd,
408
393
  const xmlChar *name,
409
394
  const xmlChar *prefix);
410
- XMLPUBFUN xmlElementPtr XMLCALL
395
+ XMLPUBFUN xmlElementPtr
411
396
  xmlGetDtdElementDesc (xmlDtdPtr dtd,
412
397
  const xmlChar *name);
413
398
 
414
399
  #ifdef LIBXML_VALID_ENABLED
415
400
 
416
- XMLPUBFUN int XMLCALL
401
+ XMLPUBFUN int
417
402
  xmlValidGetPotentialChildren(xmlElementContent *ctree,
418
403
  const xmlChar **names,
419
404
  int *len,
420
405
  int max);
421
406
 
422
- XMLPUBFUN int XMLCALL
407
+ XMLPUBFUN int
423
408
  xmlValidGetValidElements(xmlNode *prev,
424
409
  xmlNode *next,
425
410
  const xmlChar **names,
426
411
  int max);
427
- XMLPUBFUN int XMLCALL
412
+ XMLPUBFUN int
428
413
  xmlValidateNameValue (const xmlChar *value);
429
- XMLPUBFUN int XMLCALL
414
+ XMLPUBFUN int
430
415
  xmlValidateNamesValue (const xmlChar *value);
431
- XMLPUBFUN int XMLCALL
416
+ XMLPUBFUN int
432
417
  xmlValidateNmtokenValue (const xmlChar *value);
433
- XMLPUBFUN int XMLCALL
418
+ XMLPUBFUN int
434
419
  xmlValidateNmtokensValue(const xmlChar *value);
435
420
 
436
421
  #ifdef LIBXML_REGEXP_ENABLED
437
422
  /*
438
423
  * Validation based on the regexp support
439
424
  */
440
- XMLPUBFUN int XMLCALL
425
+ XMLPUBFUN int
441
426
  xmlValidBuildContentModel(xmlValidCtxtPtr ctxt,
442
427
  xmlElementPtr elem);
443
428
 
444
- XMLPUBFUN int XMLCALL
429
+ XMLPUBFUN int
445
430
  xmlValidatePushElement (xmlValidCtxtPtr ctxt,
446
431
  xmlDocPtr doc,
447
432
  xmlNodePtr elem,
448
433
  const xmlChar *qname);
449
- XMLPUBFUN int XMLCALL
434
+ XMLPUBFUN int
450
435
  xmlValidatePushCData (xmlValidCtxtPtr ctxt,
451
436
  const xmlChar *data,
452
437
  int len);
453
- XMLPUBFUN int XMLCALL
438
+ XMLPUBFUN int
454
439
  xmlValidatePopElement (xmlValidCtxtPtr ctxt,
455
440
  xmlDocPtr doc,
456
441
  xmlNodePtr elem,
@@ -89,35 +89,35 @@ typedef xmlXIncludeCtxt *xmlXIncludeCtxtPtr;
89
89
  /*
90
90
  * standalone processing
91
91
  */
92
- XMLPUBFUN int XMLCALL
92
+ XMLPUBFUN int
93
93
  xmlXIncludeProcess (xmlDocPtr doc);
94
- XMLPUBFUN int XMLCALL
94
+ XMLPUBFUN int
95
95
  xmlXIncludeProcessFlags (xmlDocPtr doc,
96
96
  int flags);
97
- XMLPUBFUN int XMLCALL
97
+ XMLPUBFUN int
98
98
  xmlXIncludeProcessFlagsData(xmlDocPtr doc,
99
99
  int flags,
100
100
  void *data);
101
- XMLPUBFUN int XMLCALL
101
+ XMLPUBFUN int
102
102
  xmlXIncludeProcessTreeFlagsData(xmlNodePtr tree,
103
103
  int flags,
104
104
  void *data);
105
- XMLPUBFUN int XMLCALL
105
+ XMLPUBFUN int
106
106
  xmlXIncludeProcessTree (xmlNodePtr tree);
107
- XMLPUBFUN int XMLCALL
107
+ XMLPUBFUN int
108
108
  xmlXIncludeProcessTreeFlags(xmlNodePtr tree,
109
109
  int flags);
110
110
  /*
111
111
  * contextual processing
112
112
  */
113
- XMLPUBFUN xmlXIncludeCtxtPtr XMLCALL
113
+ XMLPUBFUN xmlXIncludeCtxtPtr
114
114
  xmlXIncludeNewContext (xmlDocPtr doc);
115
- XMLPUBFUN int XMLCALL
115
+ XMLPUBFUN int
116
116
  xmlXIncludeSetFlags (xmlXIncludeCtxtPtr ctxt,
117
117
  int flags);
118
- XMLPUBFUN void XMLCALL
118
+ XMLPUBFUN void
119
119
  xmlXIncludeFreeContext (xmlXIncludeCtxtPtr ctxt);
120
- XMLPUBFUN int XMLCALL
120
+ XMLPUBFUN int
121
121
  xmlXIncludeProcessNode (xmlXIncludeCtxtPtr ctxt,
122
122
  xmlNodePtr tree);
123
123
  #ifdef __cplusplus
@@ -160,23 +160,23 @@ struct _xlinkHandler {
160
160
  * detection callbacks.
161
161
  */
162
162
 
163
- XMLPUBFUN xlinkNodeDetectFunc XMLCALL
163
+ XMLPUBFUN xlinkNodeDetectFunc
164
164
  xlinkGetDefaultDetect (void);
165
- XMLPUBFUN void XMLCALL
165
+ XMLPUBFUN void
166
166
  xlinkSetDefaultDetect (xlinkNodeDetectFunc func);
167
167
 
168
168
  /*
169
169
  * Routines to set/get the default handlers.
170
170
  */
171
- XMLPUBFUN xlinkHandlerPtr XMLCALL
171
+ XMLPUBFUN xlinkHandlerPtr
172
172
  xlinkGetDefaultHandler (void);
173
- XMLPUBFUN void XMLCALL
173
+ XMLPUBFUN void
174
174
  xlinkSetDefaultHandler (xlinkHandlerPtr handler);
175
175
 
176
176
  /*
177
177
  * Link detection module itself.
178
178
  */
179
- XMLPUBFUN xlinkType XMLCALL
179
+ XMLPUBFUN xlinkType
180
180
  xlinkIsLink (xmlDocPtr doc,
181
181
  xmlNodePtr node);
182
182