nokogiri 1.14.5-arm64-darwin → 1.15.0-arm64-darwin

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 (113) 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.bundle +0 -0
  88. data/lib/nokogiri/3.0/nokogiri.bundle +0 -0
  89. data/lib/nokogiri/3.1/nokogiri.bundle +0 -0
  90. data/lib/nokogiri/3.2/nokogiri.bundle +0 -0
  91. data/lib/nokogiri/css/xpath_visitor.rb +2 -2
  92. data/lib/nokogiri/extension.rb +1 -1
  93. data/lib/nokogiri/html4/document_fragment.rb +1 -1
  94. data/lib/nokogiri/html4/element_description_defaults.rb +1821 -353
  95. data/lib/nokogiri/html5/document_fragment.rb +1 -1
  96. data/lib/nokogiri/html5/node.rb +5 -0
  97. data/lib/nokogiri/html5.rb +5 -2
  98. data/lib/nokogiri/jruby/nokogiri_jars.rb +3 -3
  99. data/lib/nokogiri/version/constant.rb +1 -1
  100. data/lib/nokogiri/xml/attribute_decl.rb +4 -2
  101. data/lib/nokogiri/xml/document_fragment.rb +1 -1
  102. data/lib/nokogiri/xml/element_content.rb +10 -2
  103. data/lib/nokogiri/xml/element_decl.rb +4 -2
  104. data/lib/nokogiri/xml/entity_decl.rb +4 -2
  105. data/lib/nokogiri/xml/node/save_options.rb +8 -0
  106. data/lib/nokogiri/xml/node.rb +22 -13
  107. data/lib/nokogiri/xml/pp/node.rb +23 -12
  108. data/lib/nokogiri/xml/sax/document.rb +1 -1
  109. data/lib/nokogiri/xml/searchable.rb +18 -10
  110. data/lib/nokogiri/xslt.rb +73 -3
  111. data/lib/nokogiri.rb +12 -4
  112. data/lib/xsd/xmlparser/nokogiri.rb +1 -1
  113. metadata +2 -2
@@ -29,20 +29,20 @@ extern "C" {
29
29
  /*
30
30
  * Constructors & Destructor
31
31
  */
32
- XMLPUBFUN xmlTextWriterPtr XMLCALL
32
+ XMLPUBFUN xmlTextWriterPtr
33
33
  xmlNewTextWriter(xmlOutputBufferPtr out);
34
- XMLPUBFUN xmlTextWriterPtr XMLCALL
34
+ XMLPUBFUN xmlTextWriterPtr
35
35
  xmlNewTextWriterFilename(const char *uri, int compression);
36
- XMLPUBFUN xmlTextWriterPtr XMLCALL
36
+ XMLPUBFUN xmlTextWriterPtr
37
37
  xmlNewTextWriterMemory(xmlBufferPtr buf, int compression);
38
- XMLPUBFUN xmlTextWriterPtr XMLCALL
38
+ XMLPUBFUN xmlTextWriterPtr
39
39
  xmlNewTextWriterPushParser(xmlParserCtxtPtr ctxt, int compression);
40
- XMLPUBFUN xmlTextWriterPtr XMLCALL
40
+ XMLPUBFUN xmlTextWriterPtr
41
41
  xmlNewTextWriterDoc(xmlDocPtr * doc, int compression);
42
- XMLPUBFUN xmlTextWriterPtr XMLCALL
42
+ XMLPUBFUN xmlTextWriterPtr
43
43
  xmlNewTextWriterTree(xmlDocPtr doc, xmlNodePtr node,
44
44
  int compression);
45
- XMLPUBFUN void XMLCALL xmlFreeTextWriter(xmlTextWriterPtr writer);
45
+ XMLPUBFUN void xmlFreeTextWriter(xmlTextWriterPtr writer);
46
46
 
47
47
  /*
48
48
  * Functions
@@ -52,30 +52,30 @@ extern "C" {
52
52
  /*
53
53
  * Document
54
54
  */
55
- XMLPUBFUN int XMLCALL
55
+ XMLPUBFUN int
56
56
  xmlTextWriterStartDocument(xmlTextWriterPtr writer,
57
57
  const char *version,
58
58
  const char *encoding,
59
59
  const char *standalone);
60
- XMLPUBFUN int XMLCALL xmlTextWriterEndDocument(xmlTextWriterPtr
60
+ XMLPUBFUN int xmlTextWriterEndDocument(xmlTextWriterPtr
61
61
  writer);
62
62
 
63
63
  /*
64
64
  * Comments
65
65
  */
66
- XMLPUBFUN int XMLCALL xmlTextWriterStartComment(xmlTextWriterPtr
66
+ XMLPUBFUN int xmlTextWriterStartComment(xmlTextWriterPtr
67
67
  writer);
68
- XMLPUBFUN int XMLCALL xmlTextWriterEndComment(xmlTextWriterPtr writer);
69
- XMLPUBFUN int XMLCALL
68
+ XMLPUBFUN int xmlTextWriterEndComment(xmlTextWriterPtr writer);
69
+ XMLPUBFUN int
70
70
  xmlTextWriterWriteFormatComment(xmlTextWriterPtr writer,
71
71
  const char *format, ...)
72
72
  LIBXML_ATTR_FORMAT(2,3);
73
- XMLPUBFUN int XMLCALL
73
+ XMLPUBFUN int
74
74
  xmlTextWriterWriteVFormatComment(xmlTextWriterPtr writer,
75
75
  const char *format,
76
76
  va_list argptr)
77
77
  LIBXML_ATTR_FORMAT(2,0);
78
- XMLPUBFUN int XMLCALL xmlTextWriterWriteComment(xmlTextWriterPtr
78
+ XMLPUBFUN int xmlTextWriterWriteComment(xmlTextWriterPtr
79
79
  writer,
80
80
  const xmlChar *
81
81
  content);
@@ -83,47 +83,47 @@ extern "C" {
83
83
  /*
84
84
  * Elements
85
85
  */
86
- XMLPUBFUN int XMLCALL
86
+ XMLPUBFUN int
87
87
  xmlTextWriterStartElement(xmlTextWriterPtr writer,
88
88
  const xmlChar * name);
89
- XMLPUBFUN int XMLCALL xmlTextWriterStartElementNS(xmlTextWriterPtr
89
+ XMLPUBFUN int xmlTextWriterStartElementNS(xmlTextWriterPtr
90
90
  writer,
91
91
  const xmlChar *
92
92
  prefix,
93
93
  const xmlChar * name,
94
94
  const xmlChar *
95
95
  namespaceURI);
96
- XMLPUBFUN int XMLCALL xmlTextWriterEndElement(xmlTextWriterPtr writer);
97
- XMLPUBFUN int XMLCALL xmlTextWriterFullEndElement(xmlTextWriterPtr
96
+ XMLPUBFUN int xmlTextWriterEndElement(xmlTextWriterPtr writer);
97
+ XMLPUBFUN int xmlTextWriterFullEndElement(xmlTextWriterPtr
98
98
  writer);
99
99
 
100
100
  /*
101
101
  * Elements conveniency functions
102
102
  */
103
- XMLPUBFUN int XMLCALL
103
+ XMLPUBFUN int
104
104
  xmlTextWriterWriteFormatElement(xmlTextWriterPtr writer,
105
105
  const xmlChar * name,
106
106
  const char *format, ...)
107
107
  LIBXML_ATTR_FORMAT(3,4);
108
- XMLPUBFUN int XMLCALL
108
+ XMLPUBFUN int
109
109
  xmlTextWriterWriteVFormatElement(xmlTextWriterPtr writer,
110
110
  const xmlChar * name,
111
111
  const char *format,
112
112
  va_list argptr)
113
113
  LIBXML_ATTR_FORMAT(3,0);
114
- XMLPUBFUN int XMLCALL xmlTextWriterWriteElement(xmlTextWriterPtr
114
+ XMLPUBFUN int xmlTextWriterWriteElement(xmlTextWriterPtr
115
115
  writer,
116
116
  const xmlChar * name,
117
117
  const xmlChar *
118
118
  content);
119
- XMLPUBFUN int XMLCALL
119
+ XMLPUBFUN int
120
120
  xmlTextWriterWriteFormatElementNS(xmlTextWriterPtr writer,
121
121
  const xmlChar * prefix,
122
122
  const xmlChar * name,
123
123
  const xmlChar * namespaceURI,
124
124
  const char *format, ...)
125
125
  LIBXML_ATTR_FORMAT(5,6);
126
- XMLPUBFUN int XMLCALL
126
+ XMLPUBFUN int
127
127
  xmlTextWriterWriteVFormatElementNS(xmlTextWriterPtr writer,
128
128
  const xmlChar * prefix,
129
129
  const xmlChar * name,
@@ -131,7 +131,7 @@ extern "C" {
131
131
  const char *format,
132
132
  va_list argptr)
133
133
  LIBXML_ATTR_FORMAT(5,0);
134
- XMLPUBFUN int XMLCALL xmlTextWriterWriteElementNS(xmlTextWriterPtr
134
+ XMLPUBFUN int xmlTextWriterWriteElementNS(xmlTextWriterPtr
135
135
  writer,
136
136
  const xmlChar *
137
137
  prefix,
@@ -144,48 +144,48 @@ extern "C" {
144
144
  /*
145
145
  * Text
146
146
  */
147
- XMLPUBFUN int XMLCALL
147
+ XMLPUBFUN int
148
148
  xmlTextWriterWriteFormatRaw(xmlTextWriterPtr writer,
149
149
  const char *format, ...)
150
150
  LIBXML_ATTR_FORMAT(2,3);
151
- XMLPUBFUN int XMLCALL
151
+ XMLPUBFUN int
152
152
  xmlTextWriterWriteVFormatRaw(xmlTextWriterPtr writer,
153
153
  const char *format, va_list argptr)
154
154
  LIBXML_ATTR_FORMAT(2,0);
155
- XMLPUBFUN int XMLCALL
155
+ XMLPUBFUN int
156
156
  xmlTextWriterWriteRawLen(xmlTextWriterPtr writer,
157
157
  const xmlChar * content, int len);
158
- XMLPUBFUN int XMLCALL
158
+ XMLPUBFUN int
159
159
  xmlTextWriterWriteRaw(xmlTextWriterPtr writer,
160
160
  const xmlChar * content);
161
- XMLPUBFUN int XMLCALL xmlTextWriterWriteFormatString(xmlTextWriterPtr
161
+ XMLPUBFUN int xmlTextWriterWriteFormatString(xmlTextWriterPtr
162
162
  writer,
163
163
  const char
164
164
  *format, ...)
165
165
  LIBXML_ATTR_FORMAT(2,3);
166
- XMLPUBFUN int XMLCALL xmlTextWriterWriteVFormatString(xmlTextWriterPtr
166
+ XMLPUBFUN int xmlTextWriterWriteVFormatString(xmlTextWriterPtr
167
167
  writer,
168
168
  const char
169
169
  *format,
170
170
  va_list argptr)
171
171
  LIBXML_ATTR_FORMAT(2,0);
172
- XMLPUBFUN int XMLCALL xmlTextWriterWriteString(xmlTextWriterPtr writer,
172
+ XMLPUBFUN int xmlTextWriterWriteString(xmlTextWriterPtr writer,
173
173
  const xmlChar *
174
174
  content);
175
- XMLPUBFUN int XMLCALL xmlTextWriterWriteBase64(xmlTextWriterPtr writer,
175
+ XMLPUBFUN int xmlTextWriterWriteBase64(xmlTextWriterPtr writer,
176
176
  const char *data,
177
177
  int start, int len);
178
- XMLPUBFUN int XMLCALL xmlTextWriterWriteBinHex(xmlTextWriterPtr writer,
178
+ XMLPUBFUN int xmlTextWriterWriteBinHex(xmlTextWriterPtr writer,
179
179
  const char *data,
180
180
  int start, int len);
181
181
 
182
182
  /*
183
183
  * Attributes
184
184
  */
185
- XMLPUBFUN int XMLCALL
185
+ XMLPUBFUN int
186
186
  xmlTextWriterStartAttribute(xmlTextWriterPtr writer,
187
187
  const xmlChar * name);
188
- XMLPUBFUN int XMLCALL xmlTextWriterStartAttributeNS(xmlTextWriterPtr
188
+ XMLPUBFUN int xmlTextWriterStartAttributeNS(xmlTextWriterPtr
189
189
  writer,
190
190
  const xmlChar *
191
191
  prefix,
@@ -193,36 +193,36 @@ extern "C" {
193
193
  name,
194
194
  const xmlChar *
195
195
  namespaceURI);
196
- XMLPUBFUN int XMLCALL xmlTextWriterEndAttribute(xmlTextWriterPtr
196
+ XMLPUBFUN int xmlTextWriterEndAttribute(xmlTextWriterPtr
197
197
  writer);
198
198
 
199
199
  /*
200
200
  * Attributes conveniency functions
201
201
  */
202
- XMLPUBFUN int XMLCALL
202
+ XMLPUBFUN int
203
203
  xmlTextWriterWriteFormatAttribute(xmlTextWriterPtr writer,
204
204
  const xmlChar * name,
205
205
  const char *format, ...)
206
206
  LIBXML_ATTR_FORMAT(3,4);
207
- XMLPUBFUN int XMLCALL
207
+ XMLPUBFUN int
208
208
  xmlTextWriterWriteVFormatAttribute(xmlTextWriterPtr writer,
209
209
  const xmlChar * name,
210
210
  const char *format,
211
211
  va_list argptr)
212
212
  LIBXML_ATTR_FORMAT(3,0);
213
- XMLPUBFUN int XMLCALL xmlTextWriterWriteAttribute(xmlTextWriterPtr
213
+ XMLPUBFUN int xmlTextWriterWriteAttribute(xmlTextWriterPtr
214
214
  writer,
215
215
  const xmlChar * name,
216
216
  const xmlChar *
217
217
  content);
218
- XMLPUBFUN int XMLCALL
218
+ XMLPUBFUN int
219
219
  xmlTextWriterWriteFormatAttributeNS(xmlTextWriterPtr writer,
220
220
  const xmlChar * prefix,
221
221
  const xmlChar * name,
222
222
  const xmlChar * namespaceURI,
223
223
  const char *format, ...)
224
224
  LIBXML_ATTR_FORMAT(5,6);
225
- XMLPUBFUN int XMLCALL
225
+ XMLPUBFUN int
226
226
  xmlTextWriterWriteVFormatAttributeNS(xmlTextWriterPtr writer,
227
227
  const xmlChar * prefix,
228
228
  const xmlChar * name,
@@ -230,7 +230,7 @@ extern "C" {
230
230
  const char *format,
231
231
  va_list argptr)
232
232
  LIBXML_ATTR_FORMAT(5,0);
233
- XMLPUBFUN int XMLCALL xmlTextWriterWriteAttributeNS(xmlTextWriterPtr
233
+ XMLPUBFUN int xmlTextWriterWriteAttributeNS(xmlTextWriterPtr
234
234
  writer,
235
235
  const xmlChar *
236
236
  prefix,
@@ -244,25 +244,25 @@ extern "C" {
244
244
  /*
245
245
  * PI's
246
246
  */
247
- XMLPUBFUN int XMLCALL
247
+ XMLPUBFUN int
248
248
  xmlTextWriterStartPI(xmlTextWriterPtr writer,
249
249
  const xmlChar * target);
250
- XMLPUBFUN int XMLCALL xmlTextWriterEndPI(xmlTextWriterPtr writer);
250
+ XMLPUBFUN int xmlTextWriterEndPI(xmlTextWriterPtr writer);
251
251
 
252
252
  /*
253
253
  * PI conveniency functions
254
254
  */
255
- XMLPUBFUN int XMLCALL
255
+ XMLPUBFUN int
256
256
  xmlTextWriterWriteFormatPI(xmlTextWriterPtr writer,
257
257
  const xmlChar * target,
258
258
  const char *format, ...)
259
259
  LIBXML_ATTR_FORMAT(3,4);
260
- XMLPUBFUN int XMLCALL
260
+ XMLPUBFUN int
261
261
  xmlTextWriterWriteVFormatPI(xmlTextWriterPtr writer,
262
262
  const xmlChar * target,
263
263
  const char *format, va_list argptr)
264
264
  LIBXML_ATTR_FORMAT(3,0);
265
- XMLPUBFUN int XMLCALL
265
+ XMLPUBFUN int
266
266
  xmlTextWriterWritePI(xmlTextWriterPtr writer,
267
267
  const xmlChar * target,
268
268
  const xmlChar * content);
@@ -277,52 +277,52 @@ extern "C" {
277
277
  /*
278
278
  * CDATA
279
279
  */
280
- XMLPUBFUN int XMLCALL xmlTextWriterStartCDATA(xmlTextWriterPtr writer);
281
- XMLPUBFUN int XMLCALL xmlTextWriterEndCDATA(xmlTextWriterPtr writer);
280
+ XMLPUBFUN int xmlTextWriterStartCDATA(xmlTextWriterPtr writer);
281
+ XMLPUBFUN int xmlTextWriterEndCDATA(xmlTextWriterPtr writer);
282
282
 
283
283
  /*
284
284
  * CDATA conveniency functions
285
285
  */
286
- XMLPUBFUN int XMLCALL
286
+ XMLPUBFUN int
287
287
  xmlTextWriterWriteFormatCDATA(xmlTextWriterPtr writer,
288
288
  const char *format, ...)
289
289
  LIBXML_ATTR_FORMAT(2,3);
290
- XMLPUBFUN int XMLCALL
290
+ XMLPUBFUN int
291
291
  xmlTextWriterWriteVFormatCDATA(xmlTextWriterPtr writer,
292
292
  const char *format, va_list argptr)
293
293
  LIBXML_ATTR_FORMAT(2,0);
294
- XMLPUBFUN int XMLCALL
294
+ XMLPUBFUN int
295
295
  xmlTextWriterWriteCDATA(xmlTextWriterPtr writer,
296
296
  const xmlChar * content);
297
297
 
298
298
  /*
299
299
  * DTD
300
300
  */
301
- XMLPUBFUN int XMLCALL
301
+ XMLPUBFUN int
302
302
  xmlTextWriterStartDTD(xmlTextWriterPtr writer,
303
303
  const xmlChar * name,
304
304
  const xmlChar * pubid,
305
305
  const xmlChar * sysid);
306
- XMLPUBFUN int XMLCALL xmlTextWriterEndDTD(xmlTextWriterPtr writer);
306
+ XMLPUBFUN int xmlTextWriterEndDTD(xmlTextWriterPtr writer);
307
307
 
308
308
  /*
309
309
  * DTD conveniency functions
310
310
  */
311
- XMLPUBFUN int XMLCALL
311
+ XMLPUBFUN int
312
312
  xmlTextWriterWriteFormatDTD(xmlTextWriterPtr writer,
313
313
  const xmlChar * name,
314
314
  const xmlChar * pubid,
315
315
  const xmlChar * sysid,
316
316
  const char *format, ...)
317
317
  LIBXML_ATTR_FORMAT(5,6);
318
- XMLPUBFUN int XMLCALL
318
+ XMLPUBFUN int
319
319
  xmlTextWriterWriteVFormatDTD(xmlTextWriterPtr writer,
320
320
  const xmlChar * name,
321
321
  const xmlChar * pubid,
322
322
  const xmlChar * sysid,
323
323
  const char *format, va_list argptr)
324
324
  LIBXML_ATTR_FORMAT(5,0);
325
- XMLPUBFUN int XMLCALL
325
+ XMLPUBFUN int
326
326
  xmlTextWriterWriteDTD(xmlTextWriterPtr writer,
327
327
  const xmlChar * name,
328
328
  const xmlChar * pubid,
@@ -339,27 +339,27 @@ extern "C" {
339
339
  /*
340
340
  * DTD element definition
341
341
  */
342
- XMLPUBFUN int XMLCALL
342
+ XMLPUBFUN int
343
343
  xmlTextWriterStartDTDElement(xmlTextWriterPtr writer,
344
344
  const xmlChar * name);
345
- XMLPUBFUN int XMLCALL xmlTextWriterEndDTDElement(xmlTextWriterPtr
345
+ XMLPUBFUN int xmlTextWriterEndDTDElement(xmlTextWriterPtr
346
346
  writer);
347
347
 
348
348
  /*
349
349
  * DTD element definition conveniency functions
350
350
  */
351
- XMLPUBFUN int XMLCALL
351
+ XMLPUBFUN int
352
352
  xmlTextWriterWriteFormatDTDElement(xmlTextWriterPtr writer,
353
353
  const xmlChar * name,
354
354
  const char *format, ...)
355
355
  LIBXML_ATTR_FORMAT(3,4);
356
- XMLPUBFUN int XMLCALL
356
+ XMLPUBFUN int
357
357
  xmlTextWriterWriteVFormatDTDElement(xmlTextWriterPtr writer,
358
358
  const xmlChar * name,
359
359
  const char *format,
360
360
  va_list argptr)
361
361
  LIBXML_ATTR_FORMAT(3,0);
362
- XMLPUBFUN int XMLCALL xmlTextWriterWriteDTDElement(xmlTextWriterPtr
362
+ XMLPUBFUN int xmlTextWriterWriteDTDElement(xmlTextWriterPtr
363
363
  writer,
364
364
  const xmlChar *
365
365
  name,
@@ -369,27 +369,27 @@ extern "C" {
369
369
  /*
370
370
  * DTD attribute list definition
371
371
  */
372
- XMLPUBFUN int XMLCALL
372
+ XMLPUBFUN int
373
373
  xmlTextWriterStartDTDAttlist(xmlTextWriterPtr writer,
374
374
  const xmlChar * name);
375
- XMLPUBFUN int XMLCALL xmlTextWriterEndDTDAttlist(xmlTextWriterPtr
375
+ XMLPUBFUN int xmlTextWriterEndDTDAttlist(xmlTextWriterPtr
376
376
  writer);
377
377
 
378
378
  /*
379
379
  * DTD attribute list definition conveniency functions
380
380
  */
381
- XMLPUBFUN int XMLCALL
381
+ XMLPUBFUN int
382
382
  xmlTextWriterWriteFormatDTDAttlist(xmlTextWriterPtr writer,
383
383
  const xmlChar * name,
384
384
  const char *format, ...)
385
385
  LIBXML_ATTR_FORMAT(3,4);
386
- XMLPUBFUN int XMLCALL
386
+ XMLPUBFUN int
387
387
  xmlTextWriterWriteVFormatDTDAttlist(xmlTextWriterPtr writer,
388
388
  const xmlChar * name,
389
389
  const char *format,
390
390
  va_list argptr)
391
391
  LIBXML_ATTR_FORMAT(3,0);
392
- XMLPUBFUN int XMLCALL xmlTextWriterWriteDTDAttlist(xmlTextWriterPtr
392
+ XMLPUBFUN int xmlTextWriterWriteDTDAttlist(xmlTextWriterPtr
393
393
  writer,
394
394
  const xmlChar *
395
395
  name,
@@ -399,48 +399,48 @@ extern "C" {
399
399
  /*
400
400
  * DTD entity definition
401
401
  */
402
- XMLPUBFUN int XMLCALL
402
+ XMLPUBFUN int
403
403
  xmlTextWriterStartDTDEntity(xmlTextWriterPtr writer,
404
404
  int pe, const xmlChar * name);
405
- XMLPUBFUN int XMLCALL xmlTextWriterEndDTDEntity(xmlTextWriterPtr
405
+ XMLPUBFUN int xmlTextWriterEndDTDEntity(xmlTextWriterPtr
406
406
  writer);
407
407
 
408
408
  /*
409
409
  * DTD entity definition conveniency functions
410
410
  */
411
- XMLPUBFUN int XMLCALL
411
+ XMLPUBFUN int
412
412
  xmlTextWriterWriteFormatDTDInternalEntity(xmlTextWriterPtr writer,
413
413
  int pe,
414
414
  const xmlChar * name,
415
415
  const char *format, ...)
416
416
  LIBXML_ATTR_FORMAT(4,5);
417
- XMLPUBFUN int XMLCALL
417
+ XMLPUBFUN int
418
418
  xmlTextWriterWriteVFormatDTDInternalEntity(xmlTextWriterPtr writer,
419
419
  int pe,
420
420
  const xmlChar * name,
421
421
  const char *format,
422
422
  va_list argptr)
423
423
  LIBXML_ATTR_FORMAT(4,0);
424
- XMLPUBFUN int XMLCALL
424
+ XMLPUBFUN int
425
425
  xmlTextWriterWriteDTDInternalEntity(xmlTextWriterPtr writer,
426
426
  int pe,
427
427
  const xmlChar * name,
428
428
  const xmlChar * content);
429
- XMLPUBFUN int XMLCALL
429
+ XMLPUBFUN int
430
430
  xmlTextWriterWriteDTDExternalEntity(xmlTextWriterPtr writer,
431
431
  int pe,
432
432
  const xmlChar * name,
433
433
  const xmlChar * pubid,
434
434
  const xmlChar * sysid,
435
435
  const xmlChar * ndataid);
436
- XMLPUBFUN int XMLCALL
436
+ XMLPUBFUN int
437
437
  xmlTextWriterWriteDTDExternalEntityContents(xmlTextWriterPtr
438
438
  writer,
439
439
  const xmlChar * pubid,
440
440
  const xmlChar * sysid,
441
441
  const xmlChar *
442
442
  ndataid);
443
- XMLPUBFUN int XMLCALL xmlTextWriterWriteDTDEntity(xmlTextWriterPtr
443
+ XMLPUBFUN int xmlTextWriterWriteDTDEntity(xmlTextWriterPtr
444
444
  writer, int pe,
445
445
  const xmlChar * name,
446
446
  const xmlChar *
@@ -455,7 +455,7 @@ extern "C" {
455
455
  /*
456
456
  * DTD notation definition
457
457
  */
458
- XMLPUBFUN int XMLCALL
458
+ XMLPUBFUN int
459
459
  xmlTextWriterWriteDTDNotation(xmlTextWriterPtr writer,
460
460
  const xmlChar * name,
461
461
  const xmlChar * pubid,
@@ -464,20 +464,20 @@ extern "C" {
464
464
  /*
465
465
  * Indentation
466
466
  */
467
- XMLPUBFUN int XMLCALL
467
+ XMLPUBFUN int
468
468
  xmlTextWriterSetIndent(xmlTextWriterPtr writer, int indent);
469
- XMLPUBFUN int XMLCALL
469
+ XMLPUBFUN int
470
470
  xmlTextWriterSetIndentString(xmlTextWriterPtr writer,
471
471
  const xmlChar * str);
472
472
 
473
- XMLPUBFUN int XMLCALL
473
+ XMLPUBFUN int
474
474
  xmlTextWriterSetQuoteChar(xmlTextWriterPtr writer, xmlChar quotechar);
475
475
 
476
476
 
477
477
  /*
478
478
  * misc
479
479
  */
480
- XMLPUBFUN int XMLCALL xmlTextWriterFlush(xmlTextWriterPtr writer);
480
+ XMLPUBFUN int xmlTextWriterFlush(xmlTextWriterPtr writer);
481
481
 
482
482
  #ifdef __cplusplus
483
483
  }
@@ -400,7 +400,7 @@ struct _xmlXPathParserContext {
400
400
  int xptr; /* it this an XPointer expression */
401
401
  xmlNodePtr ancestor; /* used for walking preceding axis */
402
402
 
403
- int valueFrame; /* used to limit Pop on the stack */
403
+ int valueFrame; /* unused */
404
404
  };
405
405
 
406
406
  /************************************************************************
@@ -454,68 +454,68 @@ XMLPUBVAR double xmlXPathNINF;
454
454
  (((ns) == NULL) || ((ns)->nodeNr == 0) || ((ns)->nodeTab == NULL))
455
455
 
456
456
 
457
- XMLPUBFUN void XMLCALL
457
+ XMLPUBFUN void
458
458
  xmlXPathFreeObject (xmlXPathObjectPtr obj);
459
- XMLPUBFUN xmlNodeSetPtr XMLCALL
459
+ XMLPUBFUN xmlNodeSetPtr
460
460
  xmlXPathNodeSetCreate (xmlNodePtr val);
461
- XMLPUBFUN void XMLCALL
461
+ XMLPUBFUN void
462
462
  xmlXPathFreeNodeSetList (xmlXPathObjectPtr obj);
463
- XMLPUBFUN void XMLCALL
463
+ XMLPUBFUN void
464
464
  xmlXPathFreeNodeSet (xmlNodeSetPtr obj);
465
- XMLPUBFUN xmlXPathObjectPtr XMLCALL
465
+ XMLPUBFUN xmlXPathObjectPtr
466
466
  xmlXPathObjectCopy (xmlXPathObjectPtr val);
467
- XMLPUBFUN int XMLCALL
467
+ XMLPUBFUN int
468
468
  xmlXPathCmpNodes (xmlNodePtr node1,
469
469
  xmlNodePtr node2);
470
470
  /**
471
471
  * Conversion functions to basic types.
472
472
  */
473
- XMLPUBFUN int XMLCALL
473
+ XMLPUBFUN int
474
474
  xmlXPathCastNumberToBoolean (double val);
475
- XMLPUBFUN int XMLCALL
475
+ XMLPUBFUN int
476
476
  xmlXPathCastStringToBoolean (const xmlChar * val);
477
- XMLPUBFUN int XMLCALL
477
+ XMLPUBFUN int
478
478
  xmlXPathCastNodeSetToBoolean(xmlNodeSetPtr ns);
479
- XMLPUBFUN int XMLCALL
479
+ XMLPUBFUN int
480
480
  xmlXPathCastToBoolean (xmlXPathObjectPtr val);
481
481
 
482
- XMLPUBFUN double XMLCALL
482
+ XMLPUBFUN double
483
483
  xmlXPathCastBooleanToNumber (int val);
484
- XMLPUBFUN double XMLCALL
484
+ XMLPUBFUN double
485
485
  xmlXPathCastStringToNumber (const xmlChar * val);
486
- XMLPUBFUN double XMLCALL
486
+ XMLPUBFUN double
487
487
  xmlXPathCastNodeToNumber (xmlNodePtr node);
488
- XMLPUBFUN double XMLCALL
488
+ XMLPUBFUN double
489
489
  xmlXPathCastNodeSetToNumber (xmlNodeSetPtr ns);
490
- XMLPUBFUN double XMLCALL
490
+ XMLPUBFUN double
491
491
  xmlXPathCastToNumber (xmlXPathObjectPtr val);
492
492
 
493
- XMLPUBFUN xmlChar * XMLCALL
493
+ XMLPUBFUN xmlChar *
494
494
  xmlXPathCastBooleanToString (int val);
495
- XMLPUBFUN xmlChar * XMLCALL
495
+ XMLPUBFUN xmlChar *
496
496
  xmlXPathCastNumberToString (double val);
497
- XMLPUBFUN xmlChar * XMLCALL
497
+ XMLPUBFUN xmlChar *
498
498
  xmlXPathCastNodeToString (xmlNodePtr node);
499
- XMLPUBFUN xmlChar * XMLCALL
499
+ XMLPUBFUN xmlChar *
500
500
  xmlXPathCastNodeSetToString (xmlNodeSetPtr ns);
501
- XMLPUBFUN xmlChar * XMLCALL
501
+ XMLPUBFUN xmlChar *
502
502
  xmlXPathCastToString (xmlXPathObjectPtr val);
503
503
 
504
- XMLPUBFUN xmlXPathObjectPtr XMLCALL
504
+ XMLPUBFUN xmlXPathObjectPtr
505
505
  xmlXPathConvertBoolean (xmlXPathObjectPtr val);
506
- XMLPUBFUN xmlXPathObjectPtr XMLCALL
506
+ XMLPUBFUN xmlXPathObjectPtr
507
507
  xmlXPathConvertNumber (xmlXPathObjectPtr val);
508
- XMLPUBFUN xmlXPathObjectPtr XMLCALL
508
+ XMLPUBFUN xmlXPathObjectPtr
509
509
  xmlXPathConvertString (xmlXPathObjectPtr val);
510
510
 
511
511
  /**
512
512
  * Context handling.
513
513
  */
514
- XMLPUBFUN xmlXPathContextPtr XMLCALL
514
+ XMLPUBFUN xmlXPathContextPtr
515
515
  xmlXPathNewContext (xmlDocPtr doc);
516
- XMLPUBFUN void XMLCALL
516
+ XMLPUBFUN void
517
517
  xmlXPathFreeContext (xmlXPathContextPtr ctxt);
518
- XMLPUBFUN int XMLCALL
518
+ XMLPUBFUN int
519
519
  xmlXPathContextSetCache(xmlXPathContextPtr ctxt,
520
520
  int active,
521
521
  int value,
@@ -523,48 +523,48 @@ XMLPUBFUN int XMLCALL
523
523
  /**
524
524
  * Evaluation functions.
525
525
  */
526
- XMLPUBFUN long XMLCALL
526
+ XMLPUBFUN long
527
527
  xmlXPathOrderDocElems (xmlDocPtr doc);
528
- XMLPUBFUN int XMLCALL
528
+ XMLPUBFUN int
529
529
  xmlXPathSetContextNode (xmlNodePtr node,
530
530
  xmlXPathContextPtr ctx);
531
- XMLPUBFUN xmlXPathObjectPtr XMLCALL
531
+ XMLPUBFUN xmlXPathObjectPtr
532
532
  xmlXPathNodeEval (xmlNodePtr node,
533
533
  const xmlChar *str,
534
534
  xmlXPathContextPtr ctx);
535
- XMLPUBFUN xmlXPathObjectPtr XMLCALL
535
+ XMLPUBFUN xmlXPathObjectPtr
536
536
  xmlXPathEval (const xmlChar *str,
537
537
  xmlXPathContextPtr ctx);
538
- XMLPUBFUN xmlXPathObjectPtr XMLCALL
538
+ XMLPUBFUN xmlXPathObjectPtr
539
539
  xmlXPathEvalExpression (const xmlChar *str,
540
540
  xmlXPathContextPtr ctxt);
541
- XMLPUBFUN int XMLCALL
541
+ XMLPUBFUN int
542
542
  xmlXPathEvalPredicate (xmlXPathContextPtr ctxt,
543
543
  xmlXPathObjectPtr res);
544
544
  /**
545
545
  * Separate compilation/evaluation entry points.
546
546
  */
547
- XMLPUBFUN xmlXPathCompExprPtr XMLCALL
547
+ XMLPUBFUN xmlXPathCompExprPtr
548
548
  xmlXPathCompile (const xmlChar *str);
549
- XMLPUBFUN xmlXPathCompExprPtr XMLCALL
549
+ XMLPUBFUN xmlXPathCompExprPtr
550
550
  xmlXPathCtxtCompile (xmlXPathContextPtr ctxt,
551
551
  const xmlChar *str);
552
- XMLPUBFUN xmlXPathObjectPtr XMLCALL
552
+ XMLPUBFUN xmlXPathObjectPtr
553
553
  xmlXPathCompiledEval (xmlXPathCompExprPtr comp,
554
554
  xmlXPathContextPtr ctx);
555
- XMLPUBFUN int XMLCALL
555
+ XMLPUBFUN int
556
556
  xmlXPathCompiledEvalToBoolean(xmlXPathCompExprPtr comp,
557
557
  xmlXPathContextPtr ctxt);
558
- XMLPUBFUN void XMLCALL
558
+ XMLPUBFUN void
559
559
  xmlXPathFreeCompExpr (xmlXPathCompExprPtr comp);
560
560
  #endif /* LIBXML_XPATH_ENABLED */
561
561
  #if defined(LIBXML_XPATH_ENABLED) || defined(LIBXML_SCHEMAS_ENABLED)
562
562
  XML_DEPRECATED
563
- XMLPUBFUN void XMLCALL
563
+ XMLPUBFUN void
564
564
  xmlXPathInit (void);
565
- XMLPUBFUN int XMLCALL
565
+ XMLPUBFUN int
566
566
  xmlXPathIsNaN (double val);
567
- XMLPUBFUN int XMLCALL
567
+ XMLPUBFUN int
568
568
  xmlXPathIsInf (double val);
569
569
 
570
570
  #ifdef __cplusplus