nokogiri 1.14.5-x86-linux → 1.15.0-x86-linux
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.
- checksums.yaml +4 -4
- data/Gemfile +9 -8
- data/dependencies.yml +6 -6
- data/ext/nokogiri/extconf.rb +66 -22
- data/ext/nokogiri/html4_document.c +1 -2
- data/ext/nokogiri/html4_element_description.c +19 -14
- data/ext/nokogiri/html4_sax_parser_context.c +10 -16
- data/ext/nokogiri/html4_sax_push_parser.c +2 -2
- data/ext/nokogiri/include/libexslt/exsltconfig.h +3 -3
- data/ext/nokogiri/include/libxml2/libxml/HTMLparser.h +52 -38
- data/ext/nokogiri/include/libxml2/libxml/HTMLtree.h +18 -18
- data/ext/nokogiri/include/libxml2/libxml/SAX.h +36 -36
- data/ext/nokogiri/include/libxml2/libxml/SAX2.h +37 -36
- data/ext/nokogiri/include/libxml2/libxml/c14n.h +4 -4
- data/ext/nokogiri/include/libxml2/libxml/catalog.h +36 -36
- data/ext/nokogiri/include/libxml2/libxml/chvalid.h +9 -9
- data/ext/nokogiri/include/libxml2/libxml/debugXML.h +28 -28
- data/ext/nokogiri/include/libxml2/libxml/dict.h +13 -13
- data/ext/nokogiri/include/libxml2/libxml/encoding.h +20 -19
- data/ext/nokogiri/include/libxml2/libxml/entities.h +19 -21
- data/ext/nokogiri/include/libxml2/libxml/globals.h +89 -59
- data/ext/nokogiri/include/libxml2/libxml/hash.h +25 -25
- data/ext/nokogiri/include/libxml2/libxml/list.h +26 -26
- data/ext/nokogiri/include/libxml2/libxml/nanoftp.h +22 -22
- data/ext/nokogiri/include/libxml2/libxml/nanohttp.h +17 -17
- data/ext/nokogiri/include/libxml2/libxml/parser.h +100 -79
- data/ext/nokogiri/include/libxml2/libxml/parserInternals.h +149 -143
- data/ext/nokogiri/include/libxml2/libxml/pattern.h +15 -15
- data/ext/nokogiri/include/libxml2/libxml/relaxng.h +26 -26
- data/ext/nokogiri/include/libxml2/libxml/schemasInternals.h +2 -2
- data/ext/nokogiri/include/libxml2/libxml/schematron.h +18 -18
- data/ext/nokogiri/include/libxml2/libxml/threads.h +23 -20
- data/ext/nokogiri/include/libxml2/libxml/tree.h +166 -164
- data/ext/nokogiri/include/libxml2/libxml/uri.h +15 -15
- data/ext/nokogiri/include/libxml2/libxml/valid.h +72 -87
- data/ext/nokogiri/include/libxml2/libxml/xinclude.h +10 -10
- data/ext/nokogiri/include/libxml2/libxml/xlink.h +5 -5
- data/ext/nokogiri/include/libxml2/libxml/xmlIO.h +60 -59
- data/ext/nokogiri/include/libxml2/libxml/xmlautomata.h +21 -21
- data/ext/nokogiri/include/libxml2/libxml/xmlerror.h +18 -46
- data/ext/nokogiri/include/libxml2/libxml/xmlexports.h +14 -41
- data/ext/nokogiri/include/libxml2/libxml/xmlmemory.h +26 -24
- data/ext/nokogiri/include/libxml2/libxml/xmlmodule.h +4 -4
- data/ext/nokogiri/include/libxml2/libxml/xmlreader.h +87 -87
- data/ext/nokogiri/include/libxml2/libxml/xmlregexp.h +30 -30
- data/ext/nokogiri/include/libxml2/libxml/xmlsave.h +10 -10
- data/ext/nokogiri/include/libxml2/libxml/xmlschemas.h +30 -30
- data/ext/nokogiri/include/libxml2/libxml/xmlschemastypes.h +34 -34
- data/ext/nokogiri/include/libxml2/libxml/xmlstring.h +30 -30
- data/ext/nokogiri/include/libxml2/libxml/xmlunicode.h +166 -166
- data/ext/nokogiri/include/libxml2/libxml/xmlversion.h +50 -27
- data/ext/nokogiri/include/libxml2/libxml/xmlwriter.h +80 -80
- data/ext/nokogiri/include/libxml2/libxml/xpath.h +41 -41
- data/ext/nokogiri/include/libxml2/libxml/xpathInternals.h +117 -117
- data/ext/nokogiri/include/libxml2/libxml/xpointer.h +21 -21
- data/ext/nokogiri/include/libxslt/attributes.h +1 -0
- data/ext/nokogiri/include/libxslt/variables.h +3 -3
- data/ext/nokogiri/include/libxslt/xsltInternals.h +14 -4
- data/ext/nokogiri/include/libxslt/xsltconfig.h +4 -4
- data/ext/nokogiri/include/libxslt/xsltlocale.h +14 -54
- data/ext/nokogiri/include/libxslt/xsltutils.h +35 -2
- data/ext/nokogiri/nokogiri.c +46 -24
- data/ext/nokogiri/nokogiri.h +13 -2
- data/ext/nokogiri/xml_attr.c +1 -1
- data/ext/nokogiri/xml_cdata.c +10 -2
- data/ext/nokogiri/xml_comment.c +1 -1
- data/ext/nokogiri/xml_document.c +102 -22
- data/ext/nokogiri/xml_document_fragment.c +1 -1
- data/ext/nokogiri/xml_dtd.c +1 -1
- data/ext/nokogiri/xml_element_content.c +32 -29
- data/ext/nokogiri/xml_element_decl.c +5 -5
- data/ext/nokogiri/xml_encoding_handler.c +12 -4
- data/ext/nokogiri/xml_entity_reference.c +1 -1
- data/ext/nokogiri/xml_namespace.c +11 -12
- data/ext/nokogiri/xml_node.c +7 -7
- data/ext/nokogiri/xml_node_set.c +125 -105
- data/ext/nokogiri/xml_processing_instruction.c +1 -1
- data/ext/nokogiri/xml_reader.c +37 -28
- data/ext/nokogiri/xml_relax_ng.c +65 -78
- data/ext/nokogiri/xml_sax_parser.c +24 -5
- data/ext/nokogiri/xml_sax_parser_context.c +46 -25
- data/ext/nokogiri/xml_sax_push_parser.c +29 -8
- data/ext/nokogiri/xml_schema.c +90 -116
- data/ext/nokogiri/xml_text.c +10 -2
- data/ext/nokogiri/xml_xpath_context.c +156 -83
- data/ext/nokogiri/xslt_stylesheet.c +103 -50
- data/lib/nokogiri/2.7/nokogiri.so +0 -0
- data/lib/nokogiri/3.0/nokogiri.so +0 -0
- data/lib/nokogiri/3.1/nokogiri.so +0 -0
- data/lib/nokogiri/3.2/nokogiri.so +0 -0
- data/lib/nokogiri/css/xpath_visitor.rb +2 -2
- data/lib/nokogiri/extension.rb +1 -1
- data/lib/nokogiri/html4/document_fragment.rb +1 -1
- data/lib/nokogiri/html4/element_description_defaults.rb +1821 -353
- data/lib/nokogiri/html5/document_fragment.rb +1 -1
- data/lib/nokogiri/html5/node.rb +5 -0
- data/lib/nokogiri/html5.rb +5 -2
- data/lib/nokogiri/jruby/nokogiri_jars.rb +3 -3
- data/lib/nokogiri/version/constant.rb +1 -1
- data/lib/nokogiri/xml/attribute_decl.rb +4 -2
- data/lib/nokogiri/xml/document_fragment.rb +1 -1
- data/lib/nokogiri/xml/element_content.rb +10 -2
- data/lib/nokogiri/xml/element_decl.rb +4 -2
- data/lib/nokogiri/xml/entity_decl.rb +4 -2
- data/lib/nokogiri/xml/node/save_options.rb +8 -0
- data/lib/nokogiri/xml/node.rb +22 -13
- data/lib/nokogiri/xml/pp/node.rb +23 -12
- data/lib/nokogiri/xml/sax/document.rb +1 -1
- data/lib/nokogiri/xml/searchable.rb +18 -10
- data/lib/nokogiri/xslt.rb +73 -3
- data/lib/nokogiri.rb +12 -4
- data/lib/xsd/xmlparser/nokogiri.rb +1 -1
- 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
|
44
|
+
XMLPUBFUN xmlSaveCtxtPtr
|
45
45
|
xmlSaveToFd (int fd,
|
46
46
|
const char *encoding,
|
47
47
|
int options);
|
48
|
-
XMLPUBFUN xmlSaveCtxtPtr
|
48
|
+
XMLPUBFUN xmlSaveCtxtPtr
|
49
49
|
xmlSaveToFilename (const char *filename,
|
50
50
|
const char *encoding,
|
51
51
|
int options);
|
52
52
|
|
53
|
-
XMLPUBFUN xmlSaveCtxtPtr
|
53
|
+
XMLPUBFUN xmlSaveCtxtPtr
|
54
54
|
xmlSaveToBuffer (xmlBufferPtr buffer,
|
55
55
|
const char *encoding,
|
56
56
|
int options);
|
57
57
|
|
58
|
-
XMLPUBFUN xmlSaveCtxtPtr
|
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
|
65
|
+
XMLPUBFUN long
|
66
66
|
xmlSaveDoc (xmlSaveCtxtPtr ctxt,
|
67
67
|
xmlDocPtr doc);
|
68
|
-
XMLPUBFUN long
|
68
|
+
XMLPUBFUN long
|
69
69
|
xmlSaveTree (xmlSaveCtxtPtr ctxt,
|
70
70
|
xmlNodePtr node);
|
71
71
|
|
72
|
-
XMLPUBFUN int
|
72
|
+
XMLPUBFUN int
|
73
73
|
xmlSaveFlush (xmlSaveCtxtPtr ctxt);
|
74
|
-
XMLPUBFUN int
|
74
|
+
XMLPUBFUN int
|
75
75
|
xmlSaveClose (xmlSaveCtxtPtr ctxt);
|
76
|
-
XMLPUBFUN int
|
76
|
+
XMLPUBFUN int
|
77
77
|
xmlSaveSetEscape (xmlSaveCtxtPtr ctxt,
|
78
78
|
xmlCharEncodingOutputFunc escape);
|
79
|
-
XMLPUBFUN int
|
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 (
|
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 (
|
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 (
|
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
|
137
|
+
XMLPUBFUN xmlSchemaParserCtxtPtr
|
138
138
|
xmlSchemaNewParserCtxt (const char *URL);
|
139
|
-
XMLPUBFUN xmlSchemaParserCtxtPtr
|
139
|
+
XMLPUBFUN xmlSchemaParserCtxtPtr
|
140
140
|
xmlSchemaNewMemParserCtxt (const char *buffer,
|
141
141
|
int size);
|
142
|
-
XMLPUBFUN xmlSchemaParserCtxtPtr
|
142
|
+
XMLPUBFUN xmlSchemaParserCtxtPtr
|
143
143
|
xmlSchemaNewDocParserCtxt (xmlDocPtr doc);
|
144
|
-
XMLPUBFUN void
|
144
|
+
XMLPUBFUN void
|
145
145
|
xmlSchemaFreeParserCtxt (xmlSchemaParserCtxtPtr ctxt);
|
146
|
-
XMLPUBFUN void
|
146
|
+
XMLPUBFUN void
|
147
147
|
xmlSchemaSetParserErrors (xmlSchemaParserCtxtPtr ctxt,
|
148
148
|
xmlSchemaValidityErrorFunc err,
|
149
149
|
xmlSchemaValidityWarningFunc warn,
|
150
150
|
void *ctx);
|
151
|
-
XMLPUBFUN void
|
151
|
+
XMLPUBFUN void
|
152
152
|
xmlSchemaSetParserStructuredErrors(xmlSchemaParserCtxtPtr ctxt,
|
153
153
|
xmlStructuredErrorFunc serror,
|
154
154
|
void *ctx);
|
155
|
-
XMLPUBFUN int
|
155
|
+
XMLPUBFUN int
|
156
156
|
xmlSchemaGetParserErrors(xmlSchemaParserCtxtPtr ctxt,
|
157
157
|
xmlSchemaValidityErrorFunc * err,
|
158
158
|
xmlSchemaValidityWarningFunc * warn,
|
159
159
|
void **ctx);
|
160
|
-
XMLPUBFUN int
|
160
|
+
XMLPUBFUN int
|
161
161
|
xmlSchemaIsValid (xmlSchemaValidCtxtPtr ctxt);
|
162
162
|
|
163
|
-
XMLPUBFUN xmlSchemaPtr
|
163
|
+
XMLPUBFUN xmlSchemaPtr
|
164
164
|
xmlSchemaParse (xmlSchemaParserCtxtPtr ctxt);
|
165
|
-
XMLPUBFUN void
|
165
|
+
XMLPUBFUN void
|
166
166
|
xmlSchemaFree (xmlSchemaPtr schema);
|
167
167
|
#ifdef LIBXML_OUTPUT_ENABLED
|
168
|
-
XMLPUBFUN void
|
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
|
175
|
+
XMLPUBFUN void
|
176
176
|
xmlSchemaSetValidErrors (xmlSchemaValidCtxtPtr ctxt,
|
177
177
|
xmlSchemaValidityErrorFunc err,
|
178
178
|
xmlSchemaValidityWarningFunc warn,
|
179
179
|
void *ctx);
|
180
|
-
XMLPUBFUN void
|
180
|
+
XMLPUBFUN void
|
181
181
|
xmlSchemaSetValidStructuredErrors(xmlSchemaValidCtxtPtr ctxt,
|
182
182
|
xmlStructuredErrorFunc serror,
|
183
183
|
void *ctx);
|
184
|
-
XMLPUBFUN int
|
184
|
+
XMLPUBFUN int
|
185
185
|
xmlSchemaGetValidErrors (xmlSchemaValidCtxtPtr ctxt,
|
186
186
|
xmlSchemaValidityErrorFunc *err,
|
187
187
|
xmlSchemaValidityWarningFunc *warn,
|
188
188
|
void **ctx);
|
189
|
-
XMLPUBFUN int
|
189
|
+
XMLPUBFUN int
|
190
190
|
xmlSchemaSetValidOptions (xmlSchemaValidCtxtPtr ctxt,
|
191
191
|
int options);
|
192
|
-
XMLPUBFUN void
|
192
|
+
XMLPUBFUN void
|
193
193
|
xmlSchemaValidateSetFilename(xmlSchemaValidCtxtPtr vctxt,
|
194
194
|
const char *filename);
|
195
|
-
XMLPUBFUN int
|
195
|
+
XMLPUBFUN int
|
196
196
|
xmlSchemaValidCtxtGetOptions(xmlSchemaValidCtxtPtr ctxt);
|
197
197
|
|
198
|
-
XMLPUBFUN xmlSchemaValidCtxtPtr
|
198
|
+
XMLPUBFUN xmlSchemaValidCtxtPtr
|
199
199
|
xmlSchemaNewValidCtxt (xmlSchemaPtr schema);
|
200
|
-
XMLPUBFUN void
|
200
|
+
XMLPUBFUN void
|
201
201
|
xmlSchemaFreeValidCtxt (xmlSchemaValidCtxtPtr ctxt);
|
202
|
-
XMLPUBFUN int
|
202
|
+
XMLPUBFUN int
|
203
203
|
xmlSchemaValidateDoc (xmlSchemaValidCtxtPtr ctxt,
|
204
204
|
xmlDocPtr instance);
|
205
|
-
XMLPUBFUN int
|
205
|
+
XMLPUBFUN int
|
206
206
|
xmlSchemaValidateOneElement (xmlSchemaValidCtxtPtr ctxt,
|
207
207
|
xmlNodePtr elem);
|
208
|
-
XMLPUBFUN int
|
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
|
214
|
+
XMLPUBFUN int
|
215
215
|
xmlSchemaValidateFile (xmlSchemaValidCtxtPtr ctxt,
|
216
216
|
const char * filename,
|
217
217
|
int options);
|
218
218
|
|
219
|
-
XMLPUBFUN xmlParserCtxtPtr
|
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
|
228
|
+
XMLPUBFUN xmlSchemaSAXPlugPtr
|
229
229
|
xmlSchemaSAXPlug (xmlSchemaValidCtxtPtr ctxt,
|
230
230
|
xmlSAXHandlerPtr *sax,
|
231
231
|
void **user_data);
|
232
|
-
XMLPUBFUN int
|
232
|
+
XMLPUBFUN int
|
233
233
|
xmlSchemaSAXUnplug (xmlSchemaSAXPlugPtr plug);
|
234
234
|
|
235
235
|
|
236
|
-
XMLPUBFUN void
|
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
|
33
|
+
XMLPUBFUN int
|
34
34
|
xmlSchemaInitTypes (void);
|
35
35
|
XML_DEPRECATED
|
36
|
-
XMLPUBFUN void
|
36
|
+
XMLPUBFUN void
|
37
37
|
xmlSchemaCleanupTypes (void);
|
38
|
-
XMLPUBFUN xmlSchemaTypePtr
|
38
|
+
XMLPUBFUN xmlSchemaTypePtr
|
39
39
|
xmlSchemaGetPredefinedType (const xmlChar *name,
|
40
40
|
const xmlChar *ns);
|
41
|
-
XMLPUBFUN int
|
41
|
+
XMLPUBFUN int
|
42
42
|
xmlSchemaValidatePredefinedType (xmlSchemaTypePtr type,
|
43
43
|
const xmlChar *value,
|
44
44
|
xmlSchemaValPtr *val);
|
45
|
-
XMLPUBFUN int
|
45
|
+
XMLPUBFUN int
|
46
46
|
xmlSchemaValPredefTypeNode (xmlSchemaTypePtr type,
|
47
47
|
const xmlChar *value,
|
48
48
|
xmlSchemaValPtr *val,
|
49
49
|
xmlNodePtr node);
|
50
|
-
XMLPUBFUN int
|
50
|
+
XMLPUBFUN int
|
51
51
|
xmlSchemaValidateFacet (xmlSchemaTypePtr base,
|
52
52
|
xmlSchemaFacetPtr facet,
|
53
53
|
const xmlChar *value,
|
54
54
|
xmlSchemaValPtr val);
|
55
|
-
XMLPUBFUN int
|
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
|
62
|
+
XMLPUBFUN void
|
63
63
|
xmlSchemaFreeValue (xmlSchemaValPtr val);
|
64
|
-
XMLPUBFUN xmlSchemaFacetPtr
|
64
|
+
XMLPUBFUN xmlSchemaFacetPtr
|
65
65
|
xmlSchemaNewFacet (void);
|
66
|
-
XMLPUBFUN int
|
66
|
+
XMLPUBFUN int
|
67
67
|
xmlSchemaCheckFacet (xmlSchemaFacetPtr facet,
|
68
68
|
xmlSchemaTypePtr typeDecl,
|
69
69
|
xmlSchemaParserCtxtPtr ctxt,
|
70
70
|
const xmlChar *name);
|
71
|
-
XMLPUBFUN void
|
71
|
+
XMLPUBFUN void
|
72
72
|
xmlSchemaFreeFacet (xmlSchemaFacetPtr facet);
|
73
|
-
XMLPUBFUN int
|
73
|
+
XMLPUBFUN int
|
74
74
|
xmlSchemaCompareValues (xmlSchemaValPtr x,
|
75
75
|
xmlSchemaValPtr y);
|
76
|
-
XMLPUBFUN xmlSchemaTypePtr
|
76
|
+
XMLPUBFUN xmlSchemaTypePtr
|
77
77
|
xmlSchemaGetBuiltInListSimpleTypeItemType (xmlSchemaTypePtr type);
|
78
|
-
XMLPUBFUN int
|
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
|
83
|
+
XMLPUBFUN xmlSchemaTypePtr
|
84
84
|
xmlSchemaGetBuiltInType (xmlSchemaValType type);
|
85
|
-
XMLPUBFUN int
|
85
|
+
XMLPUBFUN int
|
86
86
|
xmlSchemaIsBuiltInTypeFacet (xmlSchemaTypePtr type,
|
87
87
|
int facetType);
|
88
|
-
XMLPUBFUN xmlChar *
|
88
|
+
XMLPUBFUN xmlChar *
|
89
89
|
xmlSchemaCollapseString (const xmlChar *value);
|
90
|
-
XMLPUBFUN xmlChar *
|
90
|
+
XMLPUBFUN xmlChar *
|
91
91
|
xmlSchemaWhiteSpaceReplace (const xmlChar *value);
|
92
|
-
XMLPUBFUN unsigned long
|
92
|
+
XMLPUBFUN unsigned long
|
93
93
|
xmlSchemaGetFacetValueAsULong (xmlSchemaFacetPtr facet);
|
94
|
-
XMLPUBFUN int
|
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
|
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
|
107
|
+
XMLPUBFUN int
|
108
108
|
xmlSchemaValPredefTypeNodeNoNorm(xmlSchemaTypePtr type,
|
109
109
|
const xmlChar *value,
|
110
110
|
xmlSchemaValPtr *val,
|
111
111
|
xmlNodePtr node);
|
112
|
-
XMLPUBFUN int
|
112
|
+
XMLPUBFUN int
|
113
113
|
xmlSchemaGetCanonValue (xmlSchemaValPtr val,
|
114
114
|
const xmlChar **retValue);
|
115
|
-
XMLPUBFUN int
|
115
|
+
XMLPUBFUN int
|
116
116
|
xmlSchemaGetCanonValueWhtsp (xmlSchemaValPtr val,
|
117
117
|
const xmlChar **retValue,
|
118
118
|
xmlSchemaWhitespaceValueType ws);
|
119
|
-
XMLPUBFUN int
|
119
|
+
XMLPUBFUN int
|
120
120
|
xmlSchemaValueAppend (xmlSchemaValPtr prev,
|
121
121
|
xmlSchemaValPtr cur);
|
122
|
-
XMLPUBFUN xmlSchemaValPtr
|
122
|
+
XMLPUBFUN xmlSchemaValPtr
|
123
123
|
xmlSchemaValueGetNext (xmlSchemaValPtr cur);
|
124
|
-
XMLPUBFUN const xmlChar *
|
124
|
+
XMLPUBFUN const xmlChar *
|
125
125
|
xmlSchemaValueGetAsString (xmlSchemaValPtr val);
|
126
|
-
XMLPUBFUN int
|
126
|
+
XMLPUBFUN int
|
127
127
|
xmlSchemaValueGetAsBoolean (xmlSchemaValPtr val);
|
128
|
-
XMLPUBFUN xmlSchemaValPtr
|
128
|
+
XMLPUBFUN xmlSchemaValPtr
|
129
129
|
xmlSchemaNewStringValue (xmlSchemaValType type,
|
130
130
|
const xmlChar *value);
|
131
|
-
XMLPUBFUN xmlSchemaValPtr
|
131
|
+
XMLPUBFUN xmlSchemaValPtr
|
132
132
|
xmlSchemaNewNOTATIONValue (const xmlChar *name,
|
133
133
|
const xmlChar *ns);
|
134
|
-
XMLPUBFUN xmlSchemaValPtr
|
134
|
+
XMLPUBFUN xmlSchemaValPtr
|
135
135
|
xmlSchemaNewQNameValue (const xmlChar *namespaceName,
|
136
136
|
const xmlChar *localName);
|
137
|
-
XMLPUBFUN int
|
137
|
+
XMLPUBFUN int
|
138
138
|
xmlSchemaCompareValuesWhtsp (xmlSchemaValPtr x,
|
139
139
|
xmlSchemaWhitespaceValueType xws,
|
140
140
|
xmlSchemaValPtr y,
|
141
141
|
xmlSchemaWhitespaceValueType yws);
|
142
|
-
XMLPUBFUN xmlSchemaValPtr
|
142
|
+
XMLPUBFUN xmlSchemaValPtr
|
143
143
|
xmlSchemaCopyValue (xmlSchemaValPtr val);
|
144
|
-
XMLPUBFUN xmlSchemaValType
|
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 *
|
40
|
+
XMLPUBFUN xmlChar *
|
41
41
|
xmlStrdup (const xmlChar *cur);
|
42
|
-
XMLPUBFUN xmlChar *
|
42
|
+
XMLPUBFUN xmlChar *
|
43
43
|
xmlStrndup (const xmlChar *cur,
|
44
44
|
int len);
|
45
|
-
XMLPUBFUN xmlChar *
|
45
|
+
XMLPUBFUN xmlChar *
|
46
46
|
xmlCharStrndup (const char *cur,
|
47
47
|
int len);
|
48
|
-
XMLPUBFUN xmlChar *
|
48
|
+
XMLPUBFUN xmlChar *
|
49
49
|
xmlCharStrdup (const char *cur);
|
50
|
-
XMLPUBFUN xmlChar *
|
50
|
+
XMLPUBFUN xmlChar *
|
51
51
|
xmlStrsub (const xmlChar *str,
|
52
52
|
int start,
|
53
53
|
int len);
|
54
|
-
XMLPUBFUN const xmlChar *
|
54
|
+
XMLPUBFUN const xmlChar *
|
55
55
|
xmlStrchr (const xmlChar *str,
|
56
56
|
xmlChar val);
|
57
|
-
XMLPUBFUN const xmlChar *
|
57
|
+
XMLPUBFUN const xmlChar *
|
58
58
|
xmlStrstr (const xmlChar *str,
|
59
59
|
const xmlChar *val);
|
60
|
-
XMLPUBFUN const xmlChar *
|
60
|
+
XMLPUBFUN const xmlChar *
|
61
61
|
xmlStrcasestr (const xmlChar *str,
|
62
62
|
const xmlChar *val);
|
63
|
-
XMLPUBFUN int
|
63
|
+
XMLPUBFUN int
|
64
64
|
xmlStrcmp (const xmlChar *str1,
|
65
65
|
const xmlChar *str2);
|
66
|
-
XMLPUBFUN int
|
66
|
+
XMLPUBFUN int
|
67
67
|
xmlStrncmp (const xmlChar *str1,
|
68
68
|
const xmlChar *str2,
|
69
69
|
int len);
|
70
|
-
XMLPUBFUN int
|
70
|
+
XMLPUBFUN int
|
71
71
|
xmlStrcasecmp (const xmlChar *str1,
|
72
72
|
const xmlChar *str2);
|
73
|
-
XMLPUBFUN int
|
73
|
+
XMLPUBFUN int
|
74
74
|
xmlStrncasecmp (const xmlChar *str1,
|
75
75
|
const xmlChar *str2,
|
76
76
|
int len);
|
77
|
-
XMLPUBFUN int
|
77
|
+
XMLPUBFUN int
|
78
78
|
xmlStrEqual (const xmlChar *str1,
|
79
79
|
const xmlChar *str2);
|
80
|
-
XMLPUBFUN int
|
80
|
+
XMLPUBFUN int
|
81
81
|
xmlStrQEqual (const xmlChar *pref,
|
82
82
|
const xmlChar *name,
|
83
83
|
const xmlChar *str);
|
84
|
-
XMLPUBFUN int
|
84
|
+
XMLPUBFUN int
|
85
85
|
xmlStrlen (const xmlChar *str);
|
86
|
-
XMLPUBFUN xmlChar *
|
86
|
+
XMLPUBFUN xmlChar *
|
87
87
|
xmlStrcat (xmlChar *cur,
|
88
88
|
const xmlChar *add);
|
89
|
-
XMLPUBFUN xmlChar *
|
89
|
+
XMLPUBFUN xmlChar *
|
90
90
|
xmlStrncat (xmlChar *cur,
|
91
91
|
const xmlChar *add,
|
92
92
|
int len);
|
93
|
-
XMLPUBFUN xmlChar *
|
93
|
+
XMLPUBFUN xmlChar *
|
94
94
|
xmlStrncatNew (const xmlChar *str1,
|
95
95
|
const xmlChar *str2,
|
96
96
|
int len);
|
97
|
-
XMLPUBFUN int
|
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
|
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
|
108
|
+
XMLPUBFUN int
|
109
109
|
xmlGetUTF8Char (const unsigned char *utf,
|
110
110
|
int *len);
|
111
|
-
XMLPUBFUN int
|
111
|
+
XMLPUBFUN int
|
112
112
|
xmlCheckUTF8 (const unsigned char *utf);
|
113
|
-
XMLPUBFUN int
|
113
|
+
XMLPUBFUN int
|
114
114
|
xmlUTF8Strsize (const xmlChar *utf,
|
115
115
|
int len);
|
116
|
-
XMLPUBFUN xmlChar *
|
116
|
+
XMLPUBFUN xmlChar *
|
117
117
|
xmlUTF8Strndup (const xmlChar *utf,
|
118
118
|
int len);
|
119
|
-
XMLPUBFUN const xmlChar *
|
119
|
+
XMLPUBFUN const xmlChar *
|
120
120
|
xmlUTF8Strpos (const xmlChar *utf,
|
121
121
|
int pos);
|
122
|
-
XMLPUBFUN int
|
122
|
+
XMLPUBFUN int
|
123
123
|
xmlUTF8Strloc (const xmlChar *utf,
|
124
124
|
const xmlChar *utfchar);
|
125
|
-
XMLPUBFUN xmlChar *
|
125
|
+
XMLPUBFUN xmlChar *
|
126
126
|
xmlUTF8Strsub (const xmlChar *utf,
|
127
127
|
int start,
|
128
128
|
int len);
|
129
|
-
XMLPUBFUN int
|
129
|
+
XMLPUBFUN int
|
130
130
|
xmlUTF8Strlen (const xmlChar *utf);
|
131
|
-
XMLPUBFUN int
|
131
|
+
XMLPUBFUN int
|
132
132
|
xmlUTF8Size (const xmlChar *utf);
|
133
|
-
XMLPUBFUN int
|
133
|
+
XMLPUBFUN int
|
134
134
|
xmlUTF8Charcmp (const xmlChar *utf1,
|
135
135
|
const xmlChar *utf2);
|
136
136
|
|