nokogiri 1.14.3-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 +6 -6
  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
@@ -41,42 +41,42 @@ typedef enum {
41
41
  typedef struct _xmlSaveCtxt xmlSaveCtxt;
42
42
  typedef xmlSaveCtxt *xmlSaveCtxtPtr;
43
43
 
44
- XMLPUBFUN xmlSaveCtxtPtr XMLCALL
44
+ XMLPUBFUN xmlSaveCtxtPtr
45
45
  xmlSaveToFd (int fd,
46
46
  const char *encoding,
47
47
  int options);
48
- XMLPUBFUN xmlSaveCtxtPtr XMLCALL
48
+ XMLPUBFUN xmlSaveCtxtPtr
49
49
  xmlSaveToFilename (const char *filename,
50
50
  const char *encoding,
51
51
  int options);
52
52
 
53
- XMLPUBFUN xmlSaveCtxtPtr XMLCALL
53
+ XMLPUBFUN xmlSaveCtxtPtr
54
54
  xmlSaveToBuffer (xmlBufferPtr buffer,
55
55
  const char *encoding,
56
56
  int options);
57
57
 
58
- XMLPUBFUN xmlSaveCtxtPtr XMLCALL
58
+ XMLPUBFUN xmlSaveCtxtPtr
59
59
  xmlSaveToIO (xmlOutputWriteCallback iowrite,
60
60
  xmlOutputCloseCallback ioclose,
61
61
  void *ioctx,
62
62
  const char *encoding,
63
63
  int options);
64
64
 
65
- XMLPUBFUN long XMLCALL
65
+ XMLPUBFUN long
66
66
  xmlSaveDoc (xmlSaveCtxtPtr ctxt,
67
67
  xmlDocPtr doc);
68
- XMLPUBFUN long XMLCALL
68
+ XMLPUBFUN long
69
69
  xmlSaveTree (xmlSaveCtxtPtr ctxt,
70
70
  xmlNodePtr node);
71
71
 
72
- XMLPUBFUN int XMLCALL
72
+ XMLPUBFUN int
73
73
  xmlSaveFlush (xmlSaveCtxtPtr ctxt);
74
- XMLPUBFUN int XMLCALL
74
+ XMLPUBFUN int
75
75
  xmlSaveClose (xmlSaveCtxtPtr ctxt);
76
- XMLPUBFUN int XMLCALL
76
+ XMLPUBFUN int
77
77
  xmlSaveSetEscape (xmlSaveCtxtPtr ctxt,
78
78
  xmlCharEncodingOutputFunc escape);
79
- XMLPUBFUN int XMLCALL
79
+ XMLPUBFUN int
80
80
  xmlSaveSetAttrEscape (xmlSaveCtxtPtr ctxt,
81
81
  xmlCharEncodingOutputFunc escape);
82
82
  #ifdef __cplusplus
@@ -92,7 +92,7 @@ typedef xmlSchema *xmlSchemaPtr;
92
92
  *
93
93
  * Signature of an error callback from an XSD validation
94
94
  */
95
- typedef void (XMLCDECL *xmlSchemaValidityErrorFunc)
95
+ typedef void (*xmlSchemaValidityErrorFunc)
96
96
  (void *ctx, const char *msg, ...) LIBXML_ATTR_FORMAT(2,3);
97
97
 
98
98
  /**
@@ -103,7 +103,7 @@ typedef void (XMLCDECL *xmlSchemaValidityErrorFunc)
103
103
  *
104
104
  * Signature of a warning callback from an XSD validation
105
105
  */
106
- typedef void (XMLCDECL *xmlSchemaValidityWarningFunc)
106
+ typedef void (*xmlSchemaValidityWarningFunc)
107
107
  (void *ctx, const char *msg, ...) LIBXML_ATTR_FORMAT(2,3);
108
108
 
109
109
  /**
@@ -128,95 +128,95 @@ typedef xmlSchemaValidCtxt *xmlSchemaValidCtxtPtr;
128
128
  * Returns: 0 in case of success and -1 in case of error
129
129
  */
130
130
 
131
- typedef int (XMLCDECL *xmlSchemaValidityLocatorFunc) (void *ctx,
131
+ typedef int (*xmlSchemaValidityLocatorFunc) (void *ctx,
132
132
  const char **file, unsigned long *line);
133
133
 
134
134
  /*
135
135
  * Interfaces for parsing.
136
136
  */
137
- XMLPUBFUN xmlSchemaParserCtxtPtr XMLCALL
137
+ XMLPUBFUN xmlSchemaParserCtxtPtr
138
138
  xmlSchemaNewParserCtxt (const char *URL);
139
- XMLPUBFUN xmlSchemaParserCtxtPtr XMLCALL
139
+ XMLPUBFUN xmlSchemaParserCtxtPtr
140
140
  xmlSchemaNewMemParserCtxt (const char *buffer,
141
141
  int size);
142
- XMLPUBFUN xmlSchemaParserCtxtPtr XMLCALL
142
+ XMLPUBFUN xmlSchemaParserCtxtPtr
143
143
  xmlSchemaNewDocParserCtxt (xmlDocPtr doc);
144
- XMLPUBFUN void XMLCALL
144
+ XMLPUBFUN void
145
145
  xmlSchemaFreeParserCtxt (xmlSchemaParserCtxtPtr ctxt);
146
- XMLPUBFUN void XMLCALL
146
+ XMLPUBFUN void
147
147
  xmlSchemaSetParserErrors (xmlSchemaParserCtxtPtr ctxt,
148
148
  xmlSchemaValidityErrorFunc err,
149
149
  xmlSchemaValidityWarningFunc warn,
150
150
  void *ctx);
151
- XMLPUBFUN void XMLCALL
151
+ XMLPUBFUN void
152
152
  xmlSchemaSetParserStructuredErrors(xmlSchemaParserCtxtPtr ctxt,
153
153
  xmlStructuredErrorFunc serror,
154
154
  void *ctx);
155
- XMLPUBFUN int XMLCALL
155
+ XMLPUBFUN int
156
156
  xmlSchemaGetParserErrors(xmlSchemaParserCtxtPtr ctxt,
157
157
  xmlSchemaValidityErrorFunc * err,
158
158
  xmlSchemaValidityWarningFunc * warn,
159
159
  void **ctx);
160
- XMLPUBFUN int XMLCALL
160
+ XMLPUBFUN int
161
161
  xmlSchemaIsValid (xmlSchemaValidCtxtPtr ctxt);
162
162
 
163
- XMLPUBFUN xmlSchemaPtr XMLCALL
163
+ XMLPUBFUN xmlSchemaPtr
164
164
  xmlSchemaParse (xmlSchemaParserCtxtPtr ctxt);
165
- XMLPUBFUN void XMLCALL
165
+ XMLPUBFUN void
166
166
  xmlSchemaFree (xmlSchemaPtr schema);
167
167
  #ifdef LIBXML_OUTPUT_ENABLED
168
- XMLPUBFUN void XMLCALL
168
+ XMLPUBFUN void
169
169
  xmlSchemaDump (FILE *output,
170
170
  xmlSchemaPtr schema);
171
171
  #endif /* LIBXML_OUTPUT_ENABLED */
172
172
  /*
173
173
  * Interfaces for validating
174
174
  */
175
- XMLPUBFUN void XMLCALL
175
+ XMLPUBFUN void
176
176
  xmlSchemaSetValidErrors (xmlSchemaValidCtxtPtr ctxt,
177
177
  xmlSchemaValidityErrorFunc err,
178
178
  xmlSchemaValidityWarningFunc warn,
179
179
  void *ctx);
180
- XMLPUBFUN void XMLCALL
180
+ XMLPUBFUN void
181
181
  xmlSchemaSetValidStructuredErrors(xmlSchemaValidCtxtPtr ctxt,
182
182
  xmlStructuredErrorFunc serror,
183
183
  void *ctx);
184
- XMLPUBFUN int XMLCALL
184
+ XMLPUBFUN int
185
185
  xmlSchemaGetValidErrors (xmlSchemaValidCtxtPtr ctxt,
186
186
  xmlSchemaValidityErrorFunc *err,
187
187
  xmlSchemaValidityWarningFunc *warn,
188
188
  void **ctx);
189
- XMLPUBFUN int XMLCALL
189
+ XMLPUBFUN int
190
190
  xmlSchemaSetValidOptions (xmlSchemaValidCtxtPtr ctxt,
191
191
  int options);
192
- XMLPUBFUN void XMLCALL
192
+ XMLPUBFUN void
193
193
  xmlSchemaValidateSetFilename(xmlSchemaValidCtxtPtr vctxt,
194
194
  const char *filename);
195
- XMLPUBFUN int XMLCALL
195
+ XMLPUBFUN int
196
196
  xmlSchemaValidCtxtGetOptions(xmlSchemaValidCtxtPtr ctxt);
197
197
 
198
- XMLPUBFUN xmlSchemaValidCtxtPtr XMLCALL
198
+ XMLPUBFUN xmlSchemaValidCtxtPtr
199
199
  xmlSchemaNewValidCtxt (xmlSchemaPtr schema);
200
- XMLPUBFUN void XMLCALL
200
+ XMLPUBFUN void
201
201
  xmlSchemaFreeValidCtxt (xmlSchemaValidCtxtPtr ctxt);
202
- XMLPUBFUN int XMLCALL
202
+ XMLPUBFUN int
203
203
  xmlSchemaValidateDoc (xmlSchemaValidCtxtPtr ctxt,
204
204
  xmlDocPtr instance);
205
- XMLPUBFUN int XMLCALL
205
+ XMLPUBFUN int
206
206
  xmlSchemaValidateOneElement (xmlSchemaValidCtxtPtr ctxt,
207
207
  xmlNodePtr elem);
208
- XMLPUBFUN int XMLCALL
208
+ XMLPUBFUN int
209
209
  xmlSchemaValidateStream (xmlSchemaValidCtxtPtr ctxt,
210
210
  xmlParserInputBufferPtr input,
211
211
  xmlCharEncoding enc,
212
212
  xmlSAXHandlerPtr sax,
213
213
  void *user_data);
214
- XMLPUBFUN int XMLCALL
214
+ XMLPUBFUN int
215
215
  xmlSchemaValidateFile (xmlSchemaValidCtxtPtr ctxt,
216
216
  const char * filename,
217
217
  int options);
218
218
 
219
- XMLPUBFUN xmlParserCtxtPtr XMLCALL
219
+ XMLPUBFUN xmlParserCtxtPtr
220
220
  xmlSchemaValidCtxtGetParserCtxt(xmlSchemaValidCtxtPtr ctxt);
221
221
 
222
222
  /*
@@ -225,15 +225,15 @@ XMLPUBFUN xmlParserCtxtPtr XMLCALL
225
225
  typedef struct _xmlSchemaSAXPlug xmlSchemaSAXPlugStruct;
226
226
  typedef xmlSchemaSAXPlugStruct *xmlSchemaSAXPlugPtr;
227
227
 
228
- XMLPUBFUN xmlSchemaSAXPlugPtr XMLCALL
228
+ XMLPUBFUN xmlSchemaSAXPlugPtr
229
229
  xmlSchemaSAXPlug (xmlSchemaValidCtxtPtr ctxt,
230
230
  xmlSAXHandlerPtr *sax,
231
231
  void **user_data);
232
- XMLPUBFUN int XMLCALL
232
+ XMLPUBFUN int
233
233
  xmlSchemaSAXUnplug (xmlSchemaSAXPlugPtr plug);
234
234
 
235
235
 
236
- XMLPUBFUN void XMLCALL
236
+ XMLPUBFUN void
237
237
  xmlSchemaValidateSetLocator (xmlSchemaValidCtxtPtr vctxt,
238
238
  xmlSchemaValidityLocatorFunc f,
239
239
  void *ctxt);
@@ -30,118 +30,118 @@ typedef enum {
30
30
  XML_SCHEMA_WHITESPACE_COLLAPSE = 3
31
31
  } xmlSchemaWhitespaceValueType;
32
32
 
33
- XMLPUBFUN void XMLCALL
33
+ XMLPUBFUN int
34
34
  xmlSchemaInitTypes (void);
35
35
  XML_DEPRECATED
36
- XMLPUBFUN void XMLCALL
36
+ XMLPUBFUN void
37
37
  xmlSchemaCleanupTypes (void);
38
- XMLPUBFUN xmlSchemaTypePtr XMLCALL
38
+ XMLPUBFUN xmlSchemaTypePtr
39
39
  xmlSchemaGetPredefinedType (const xmlChar *name,
40
40
  const xmlChar *ns);
41
- XMLPUBFUN int XMLCALL
41
+ XMLPUBFUN int
42
42
  xmlSchemaValidatePredefinedType (xmlSchemaTypePtr type,
43
43
  const xmlChar *value,
44
44
  xmlSchemaValPtr *val);
45
- XMLPUBFUN int XMLCALL
45
+ XMLPUBFUN int
46
46
  xmlSchemaValPredefTypeNode (xmlSchemaTypePtr type,
47
47
  const xmlChar *value,
48
48
  xmlSchemaValPtr *val,
49
49
  xmlNodePtr node);
50
- XMLPUBFUN int XMLCALL
50
+ XMLPUBFUN int
51
51
  xmlSchemaValidateFacet (xmlSchemaTypePtr base,
52
52
  xmlSchemaFacetPtr facet,
53
53
  const xmlChar *value,
54
54
  xmlSchemaValPtr val);
55
- XMLPUBFUN int XMLCALL
55
+ XMLPUBFUN int
56
56
  xmlSchemaValidateFacetWhtsp (xmlSchemaFacetPtr facet,
57
57
  xmlSchemaWhitespaceValueType fws,
58
58
  xmlSchemaValType valType,
59
59
  const xmlChar *value,
60
60
  xmlSchemaValPtr val,
61
61
  xmlSchemaWhitespaceValueType ws);
62
- XMLPUBFUN void XMLCALL
62
+ XMLPUBFUN void
63
63
  xmlSchemaFreeValue (xmlSchemaValPtr val);
64
- XMLPUBFUN xmlSchemaFacetPtr XMLCALL
64
+ XMLPUBFUN xmlSchemaFacetPtr
65
65
  xmlSchemaNewFacet (void);
66
- XMLPUBFUN int XMLCALL
66
+ XMLPUBFUN int
67
67
  xmlSchemaCheckFacet (xmlSchemaFacetPtr facet,
68
68
  xmlSchemaTypePtr typeDecl,
69
69
  xmlSchemaParserCtxtPtr ctxt,
70
70
  const xmlChar *name);
71
- XMLPUBFUN void XMLCALL
71
+ XMLPUBFUN void
72
72
  xmlSchemaFreeFacet (xmlSchemaFacetPtr facet);
73
- XMLPUBFUN int XMLCALL
73
+ XMLPUBFUN int
74
74
  xmlSchemaCompareValues (xmlSchemaValPtr x,
75
75
  xmlSchemaValPtr y);
76
- XMLPUBFUN xmlSchemaTypePtr XMLCALL
76
+ XMLPUBFUN xmlSchemaTypePtr
77
77
  xmlSchemaGetBuiltInListSimpleTypeItemType (xmlSchemaTypePtr type);
78
- XMLPUBFUN int XMLCALL
78
+ XMLPUBFUN int
79
79
  xmlSchemaValidateListSimpleTypeFacet (xmlSchemaFacetPtr facet,
80
80
  const xmlChar *value,
81
81
  unsigned long actualLen,
82
82
  unsigned long *expectedLen);
83
- XMLPUBFUN xmlSchemaTypePtr XMLCALL
83
+ XMLPUBFUN xmlSchemaTypePtr
84
84
  xmlSchemaGetBuiltInType (xmlSchemaValType type);
85
- XMLPUBFUN int XMLCALL
85
+ XMLPUBFUN int
86
86
  xmlSchemaIsBuiltInTypeFacet (xmlSchemaTypePtr type,
87
87
  int facetType);
88
- XMLPUBFUN xmlChar * XMLCALL
88
+ XMLPUBFUN xmlChar *
89
89
  xmlSchemaCollapseString (const xmlChar *value);
90
- XMLPUBFUN xmlChar * XMLCALL
90
+ XMLPUBFUN xmlChar *
91
91
  xmlSchemaWhiteSpaceReplace (const xmlChar *value);
92
- XMLPUBFUN unsigned long XMLCALL
92
+ XMLPUBFUN unsigned long
93
93
  xmlSchemaGetFacetValueAsULong (xmlSchemaFacetPtr facet);
94
- XMLPUBFUN int XMLCALL
94
+ XMLPUBFUN int
95
95
  xmlSchemaValidateLengthFacet (xmlSchemaTypePtr type,
96
96
  xmlSchemaFacetPtr facet,
97
97
  const xmlChar *value,
98
98
  xmlSchemaValPtr val,
99
99
  unsigned long *length);
100
- XMLPUBFUN int XMLCALL
100
+ XMLPUBFUN int
101
101
  xmlSchemaValidateLengthFacetWhtsp(xmlSchemaFacetPtr facet,
102
102
  xmlSchemaValType valType,
103
103
  const xmlChar *value,
104
104
  xmlSchemaValPtr val,
105
105
  unsigned long *length,
106
106
  xmlSchemaWhitespaceValueType ws);
107
- XMLPUBFUN int XMLCALL
107
+ XMLPUBFUN int
108
108
  xmlSchemaValPredefTypeNodeNoNorm(xmlSchemaTypePtr type,
109
109
  const xmlChar *value,
110
110
  xmlSchemaValPtr *val,
111
111
  xmlNodePtr node);
112
- XMLPUBFUN int XMLCALL
112
+ XMLPUBFUN int
113
113
  xmlSchemaGetCanonValue (xmlSchemaValPtr val,
114
114
  const xmlChar **retValue);
115
- XMLPUBFUN int XMLCALL
115
+ XMLPUBFUN int
116
116
  xmlSchemaGetCanonValueWhtsp (xmlSchemaValPtr val,
117
117
  const xmlChar **retValue,
118
118
  xmlSchemaWhitespaceValueType ws);
119
- XMLPUBFUN int XMLCALL
119
+ XMLPUBFUN int
120
120
  xmlSchemaValueAppend (xmlSchemaValPtr prev,
121
121
  xmlSchemaValPtr cur);
122
- XMLPUBFUN xmlSchemaValPtr XMLCALL
122
+ XMLPUBFUN xmlSchemaValPtr
123
123
  xmlSchemaValueGetNext (xmlSchemaValPtr cur);
124
- XMLPUBFUN const xmlChar * XMLCALL
124
+ XMLPUBFUN const xmlChar *
125
125
  xmlSchemaValueGetAsString (xmlSchemaValPtr val);
126
- XMLPUBFUN int XMLCALL
126
+ XMLPUBFUN int
127
127
  xmlSchemaValueGetAsBoolean (xmlSchemaValPtr val);
128
- XMLPUBFUN xmlSchemaValPtr XMLCALL
128
+ XMLPUBFUN xmlSchemaValPtr
129
129
  xmlSchemaNewStringValue (xmlSchemaValType type,
130
130
  const xmlChar *value);
131
- XMLPUBFUN xmlSchemaValPtr XMLCALL
131
+ XMLPUBFUN xmlSchemaValPtr
132
132
  xmlSchemaNewNOTATIONValue (const xmlChar *name,
133
133
  const xmlChar *ns);
134
- XMLPUBFUN xmlSchemaValPtr XMLCALL
134
+ XMLPUBFUN xmlSchemaValPtr
135
135
  xmlSchemaNewQNameValue (const xmlChar *namespaceName,
136
136
  const xmlChar *localName);
137
- XMLPUBFUN int XMLCALL
137
+ XMLPUBFUN int
138
138
  xmlSchemaCompareValuesWhtsp (xmlSchemaValPtr x,
139
139
  xmlSchemaWhitespaceValueType xws,
140
140
  xmlSchemaValPtr y,
141
141
  xmlSchemaWhitespaceValueType yws);
142
- XMLPUBFUN xmlSchemaValPtr XMLCALL
142
+ XMLPUBFUN xmlSchemaValPtr
143
143
  xmlSchemaCopyValue (xmlSchemaValPtr val);
144
- XMLPUBFUN xmlSchemaValType XMLCALL
144
+ XMLPUBFUN xmlSchemaValType
145
145
  xmlSchemaGetValType (xmlSchemaValPtr val);
146
146
 
147
147
  #ifdef __cplusplus
@@ -37,100 +37,100 @@ typedef unsigned char xmlChar;
37
37
  /*
38
38
  * xmlChar handling
39
39
  */
40
- XMLPUBFUN xmlChar * XMLCALL
40
+ XMLPUBFUN xmlChar *
41
41
  xmlStrdup (const xmlChar *cur);
42
- XMLPUBFUN xmlChar * XMLCALL
42
+ XMLPUBFUN xmlChar *
43
43
  xmlStrndup (const xmlChar *cur,
44
44
  int len);
45
- XMLPUBFUN xmlChar * XMLCALL
45
+ XMLPUBFUN xmlChar *
46
46
  xmlCharStrndup (const char *cur,
47
47
  int len);
48
- XMLPUBFUN xmlChar * XMLCALL
48
+ XMLPUBFUN xmlChar *
49
49
  xmlCharStrdup (const char *cur);
50
- XMLPUBFUN xmlChar * XMLCALL
50
+ XMLPUBFUN xmlChar *
51
51
  xmlStrsub (const xmlChar *str,
52
52
  int start,
53
53
  int len);
54
- XMLPUBFUN const xmlChar * XMLCALL
54
+ XMLPUBFUN const xmlChar *
55
55
  xmlStrchr (const xmlChar *str,
56
56
  xmlChar val);
57
- XMLPUBFUN const xmlChar * XMLCALL
57
+ XMLPUBFUN const xmlChar *
58
58
  xmlStrstr (const xmlChar *str,
59
59
  const xmlChar *val);
60
- XMLPUBFUN const xmlChar * XMLCALL
60
+ XMLPUBFUN const xmlChar *
61
61
  xmlStrcasestr (const xmlChar *str,
62
62
  const xmlChar *val);
63
- XMLPUBFUN int XMLCALL
63
+ XMLPUBFUN int
64
64
  xmlStrcmp (const xmlChar *str1,
65
65
  const xmlChar *str2);
66
- XMLPUBFUN int XMLCALL
66
+ XMLPUBFUN int
67
67
  xmlStrncmp (const xmlChar *str1,
68
68
  const xmlChar *str2,
69
69
  int len);
70
- XMLPUBFUN int XMLCALL
70
+ XMLPUBFUN int
71
71
  xmlStrcasecmp (const xmlChar *str1,
72
72
  const xmlChar *str2);
73
- XMLPUBFUN int XMLCALL
73
+ XMLPUBFUN int
74
74
  xmlStrncasecmp (const xmlChar *str1,
75
75
  const xmlChar *str2,
76
76
  int len);
77
- XMLPUBFUN int XMLCALL
77
+ XMLPUBFUN int
78
78
  xmlStrEqual (const xmlChar *str1,
79
79
  const xmlChar *str2);
80
- XMLPUBFUN int XMLCALL
80
+ XMLPUBFUN int
81
81
  xmlStrQEqual (const xmlChar *pref,
82
82
  const xmlChar *name,
83
83
  const xmlChar *str);
84
- XMLPUBFUN int XMLCALL
84
+ XMLPUBFUN int
85
85
  xmlStrlen (const xmlChar *str);
86
- XMLPUBFUN xmlChar * XMLCALL
86
+ XMLPUBFUN xmlChar *
87
87
  xmlStrcat (xmlChar *cur,
88
88
  const xmlChar *add);
89
- XMLPUBFUN xmlChar * XMLCALL
89
+ XMLPUBFUN xmlChar *
90
90
  xmlStrncat (xmlChar *cur,
91
91
  const xmlChar *add,
92
92
  int len);
93
- XMLPUBFUN xmlChar * XMLCALL
93
+ XMLPUBFUN xmlChar *
94
94
  xmlStrncatNew (const xmlChar *str1,
95
95
  const xmlChar *str2,
96
96
  int len);
97
- XMLPUBFUN int XMLCALL
97
+ XMLPUBFUN int
98
98
  xmlStrPrintf (xmlChar *buf,
99
99
  int len,
100
100
  const char *msg,
101
101
  ...) LIBXML_ATTR_FORMAT(3,4);
102
- XMLPUBFUN int XMLCALL
102
+ XMLPUBFUN int
103
103
  xmlStrVPrintf (xmlChar *buf,
104
104
  int len,
105
105
  const char *msg,
106
106
  va_list ap) LIBXML_ATTR_FORMAT(3,0);
107
107
 
108
- XMLPUBFUN int XMLCALL
108
+ XMLPUBFUN int
109
109
  xmlGetUTF8Char (const unsigned char *utf,
110
110
  int *len);
111
- XMLPUBFUN int XMLCALL
111
+ XMLPUBFUN int
112
112
  xmlCheckUTF8 (const unsigned char *utf);
113
- XMLPUBFUN int XMLCALL
113
+ XMLPUBFUN int
114
114
  xmlUTF8Strsize (const xmlChar *utf,
115
115
  int len);
116
- XMLPUBFUN xmlChar * XMLCALL
116
+ XMLPUBFUN xmlChar *
117
117
  xmlUTF8Strndup (const xmlChar *utf,
118
118
  int len);
119
- XMLPUBFUN const xmlChar * XMLCALL
119
+ XMLPUBFUN const xmlChar *
120
120
  xmlUTF8Strpos (const xmlChar *utf,
121
121
  int pos);
122
- XMLPUBFUN int XMLCALL
122
+ XMLPUBFUN int
123
123
  xmlUTF8Strloc (const xmlChar *utf,
124
124
  const xmlChar *utfchar);
125
- XMLPUBFUN xmlChar * XMLCALL
125
+ XMLPUBFUN xmlChar *
126
126
  xmlUTF8Strsub (const xmlChar *utf,
127
127
  int start,
128
128
  int len);
129
- XMLPUBFUN int XMLCALL
129
+ XMLPUBFUN int
130
130
  xmlUTF8Strlen (const xmlChar *utf);
131
- XMLPUBFUN int XMLCALL
131
+ XMLPUBFUN int
132
132
  xmlUTF8Size (const xmlChar *utf);
133
- XMLPUBFUN int XMLCALL
133
+ XMLPUBFUN int
134
134
  xmlUTF8Charcmp (const xmlChar *utf1,
135
135
  const xmlChar *utf2);
136
136