nokogiri 1.14.4-x86_64-linux → 1.15.1-x86_64-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/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
@@ -29,20 +29,20 @@ extern "C" {
|
|
29
29
|
/*
|
30
30
|
* Constructors & Destructor
|
31
31
|
*/
|
32
|
-
XMLPUBFUN xmlTextWriterPtr
|
32
|
+
XMLPUBFUN xmlTextWriterPtr
|
33
33
|
xmlNewTextWriter(xmlOutputBufferPtr out);
|
34
|
-
XMLPUBFUN xmlTextWriterPtr
|
34
|
+
XMLPUBFUN xmlTextWriterPtr
|
35
35
|
xmlNewTextWriterFilename(const char *uri, int compression);
|
36
|
-
XMLPUBFUN xmlTextWriterPtr
|
36
|
+
XMLPUBFUN xmlTextWriterPtr
|
37
37
|
xmlNewTextWriterMemory(xmlBufferPtr buf, int compression);
|
38
|
-
XMLPUBFUN xmlTextWriterPtr
|
38
|
+
XMLPUBFUN xmlTextWriterPtr
|
39
39
|
xmlNewTextWriterPushParser(xmlParserCtxtPtr ctxt, int compression);
|
40
|
-
XMLPUBFUN xmlTextWriterPtr
|
40
|
+
XMLPUBFUN xmlTextWriterPtr
|
41
41
|
xmlNewTextWriterDoc(xmlDocPtr * doc, int compression);
|
42
|
-
XMLPUBFUN xmlTextWriterPtr
|
42
|
+
XMLPUBFUN xmlTextWriterPtr
|
43
43
|
xmlNewTextWriterTree(xmlDocPtr doc, xmlNodePtr node,
|
44
44
|
int compression);
|
45
|
-
XMLPUBFUN void
|
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
|
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
|
60
|
+
XMLPUBFUN int xmlTextWriterEndDocument(xmlTextWriterPtr
|
61
61
|
writer);
|
62
62
|
|
63
63
|
/*
|
64
64
|
* Comments
|
65
65
|
*/
|
66
|
-
XMLPUBFUN int
|
66
|
+
XMLPUBFUN int xmlTextWriterStartComment(xmlTextWriterPtr
|
67
67
|
writer);
|
68
|
-
XMLPUBFUN int
|
69
|
-
XMLPUBFUN int
|
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
|
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
|
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
|
86
|
+
XMLPUBFUN int
|
87
87
|
xmlTextWriterStartElement(xmlTextWriterPtr writer,
|
88
88
|
const xmlChar * name);
|
89
|
-
XMLPUBFUN int
|
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
|
97
|
-
XMLPUBFUN int
|
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
|
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
|
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
|
114
|
+
XMLPUBFUN int xmlTextWriterWriteElement(xmlTextWriterPtr
|
115
115
|
writer,
|
116
116
|
const xmlChar * name,
|
117
117
|
const xmlChar *
|
118
118
|
content);
|
119
|
-
XMLPUBFUN int
|
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
|
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
|
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
|
147
|
+
XMLPUBFUN int
|
148
148
|
xmlTextWriterWriteFormatRaw(xmlTextWriterPtr writer,
|
149
149
|
const char *format, ...)
|
150
150
|
LIBXML_ATTR_FORMAT(2,3);
|
151
|
-
XMLPUBFUN int
|
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
|
155
|
+
XMLPUBFUN int
|
156
156
|
xmlTextWriterWriteRawLen(xmlTextWriterPtr writer,
|
157
157
|
const xmlChar * content, int len);
|
158
|
-
XMLPUBFUN int
|
158
|
+
XMLPUBFUN int
|
159
159
|
xmlTextWriterWriteRaw(xmlTextWriterPtr writer,
|
160
160
|
const xmlChar * content);
|
161
|
-
XMLPUBFUN int
|
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
|
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
|
172
|
+
XMLPUBFUN int xmlTextWriterWriteString(xmlTextWriterPtr writer,
|
173
173
|
const xmlChar *
|
174
174
|
content);
|
175
|
-
XMLPUBFUN int
|
175
|
+
XMLPUBFUN int xmlTextWriterWriteBase64(xmlTextWriterPtr writer,
|
176
176
|
const char *data,
|
177
177
|
int start, int len);
|
178
|
-
XMLPUBFUN int
|
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
|
185
|
+
XMLPUBFUN int
|
186
186
|
xmlTextWriterStartAttribute(xmlTextWriterPtr writer,
|
187
187
|
const xmlChar * name);
|
188
|
-
XMLPUBFUN int
|
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
|
196
|
+
XMLPUBFUN int xmlTextWriterEndAttribute(xmlTextWriterPtr
|
197
197
|
writer);
|
198
198
|
|
199
199
|
/*
|
200
200
|
* Attributes conveniency functions
|
201
201
|
*/
|
202
|
-
XMLPUBFUN int
|
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
|
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
|
213
|
+
XMLPUBFUN int xmlTextWriterWriteAttribute(xmlTextWriterPtr
|
214
214
|
writer,
|
215
215
|
const xmlChar * name,
|
216
216
|
const xmlChar *
|
217
217
|
content);
|
218
|
-
XMLPUBFUN int
|
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
|
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
|
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
|
247
|
+
XMLPUBFUN int
|
248
248
|
xmlTextWriterStartPI(xmlTextWriterPtr writer,
|
249
249
|
const xmlChar * target);
|
250
|
-
XMLPUBFUN int
|
250
|
+
XMLPUBFUN int xmlTextWriterEndPI(xmlTextWriterPtr writer);
|
251
251
|
|
252
252
|
/*
|
253
253
|
* PI conveniency functions
|
254
254
|
*/
|
255
|
-
XMLPUBFUN int
|
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
|
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
|
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
|
281
|
-
XMLPUBFUN int
|
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
|
286
|
+
XMLPUBFUN int
|
287
287
|
xmlTextWriterWriteFormatCDATA(xmlTextWriterPtr writer,
|
288
288
|
const char *format, ...)
|
289
289
|
LIBXML_ATTR_FORMAT(2,3);
|
290
|
-
XMLPUBFUN int
|
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
|
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
|
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
|
306
|
+
XMLPUBFUN int xmlTextWriterEndDTD(xmlTextWriterPtr writer);
|
307
307
|
|
308
308
|
/*
|
309
309
|
* DTD conveniency functions
|
310
310
|
*/
|
311
|
-
XMLPUBFUN int
|
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
|
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
|
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
|
342
|
+
XMLPUBFUN int
|
343
343
|
xmlTextWriterStartDTDElement(xmlTextWriterPtr writer,
|
344
344
|
const xmlChar * name);
|
345
|
-
XMLPUBFUN int
|
345
|
+
XMLPUBFUN int xmlTextWriterEndDTDElement(xmlTextWriterPtr
|
346
346
|
writer);
|
347
347
|
|
348
348
|
/*
|
349
349
|
* DTD element definition conveniency functions
|
350
350
|
*/
|
351
|
-
XMLPUBFUN int
|
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
|
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
|
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
|
372
|
+
XMLPUBFUN int
|
373
373
|
xmlTextWriterStartDTDAttlist(xmlTextWriterPtr writer,
|
374
374
|
const xmlChar * name);
|
375
|
-
XMLPUBFUN int
|
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
|
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
|
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
|
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
|
402
|
+
XMLPUBFUN int
|
403
403
|
xmlTextWriterStartDTDEntity(xmlTextWriterPtr writer,
|
404
404
|
int pe, const xmlChar * name);
|
405
|
-
XMLPUBFUN int
|
405
|
+
XMLPUBFUN int xmlTextWriterEndDTDEntity(xmlTextWriterPtr
|
406
406
|
writer);
|
407
407
|
|
408
408
|
/*
|
409
409
|
* DTD entity definition conveniency functions
|
410
410
|
*/
|
411
|
-
XMLPUBFUN int
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
467
|
+
XMLPUBFUN int
|
468
468
|
xmlTextWriterSetIndent(xmlTextWriterPtr writer, int indent);
|
469
|
-
XMLPUBFUN int
|
469
|
+
XMLPUBFUN int
|
470
470
|
xmlTextWriterSetIndentString(xmlTextWriterPtr writer,
|
471
471
|
const xmlChar * str);
|
472
472
|
|
473
|
-
XMLPUBFUN int
|
473
|
+
XMLPUBFUN int
|
474
474
|
xmlTextWriterSetQuoteChar(xmlTextWriterPtr writer, xmlChar quotechar);
|
475
475
|
|
476
476
|
|
477
477
|
/*
|
478
478
|
* misc
|
479
479
|
*/
|
480
|
-
XMLPUBFUN int
|
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; /*
|
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
|
457
|
+
XMLPUBFUN void
|
458
458
|
xmlXPathFreeObject (xmlXPathObjectPtr obj);
|
459
|
-
XMLPUBFUN xmlNodeSetPtr
|
459
|
+
XMLPUBFUN xmlNodeSetPtr
|
460
460
|
xmlXPathNodeSetCreate (xmlNodePtr val);
|
461
|
-
XMLPUBFUN void
|
461
|
+
XMLPUBFUN void
|
462
462
|
xmlXPathFreeNodeSetList (xmlXPathObjectPtr obj);
|
463
|
-
XMLPUBFUN void
|
463
|
+
XMLPUBFUN void
|
464
464
|
xmlXPathFreeNodeSet (xmlNodeSetPtr obj);
|
465
|
-
XMLPUBFUN xmlXPathObjectPtr
|
465
|
+
XMLPUBFUN xmlXPathObjectPtr
|
466
466
|
xmlXPathObjectCopy (xmlXPathObjectPtr val);
|
467
|
-
XMLPUBFUN int
|
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
|
473
|
+
XMLPUBFUN int
|
474
474
|
xmlXPathCastNumberToBoolean (double val);
|
475
|
-
XMLPUBFUN int
|
475
|
+
XMLPUBFUN int
|
476
476
|
xmlXPathCastStringToBoolean (const xmlChar * val);
|
477
|
-
XMLPUBFUN int
|
477
|
+
XMLPUBFUN int
|
478
478
|
xmlXPathCastNodeSetToBoolean(xmlNodeSetPtr ns);
|
479
|
-
XMLPUBFUN int
|
479
|
+
XMLPUBFUN int
|
480
480
|
xmlXPathCastToBoolean (xmlXPathObjectPtr val);
|
481
481
|
|
482
|
-
XMLPUBFUN double
|
482
|
+
XMLPUBFUN double
|
483
483
|
xmlXPathCastBooleanToNumber (int val);
|
484
|
-
XMLPUBFUN double
|
484
|
+
XMLPUBFUN double
|
485
485
|
xmlXPathCastStringToNumber (const xmlChar * val);
|
486
|
-
XMLPUBFUN double
|
486
|
+
XMLPUBFUN double
|
487
487
|
xmlXPathCastNodeToNumber (xmlNodePtr node);
|
488
|
-
XMLPUBFUN double
|
488
|
+
XMLPUBFUN double
|
489
489
|
xmlXPathCastNodeSetToNumber (xmlNodeSetPtr ns);
|
490
|
-
XMLPUBFUN double
|
490
|
+
XMLPUBFUN double
|
491
491
|
xmlXPathCastToNumber (xmlXPathObjectPtr val);
|
492
492
|
|
493
|
-
XMLPUBFUN xmlChar *
|
493
|
+
XMLPUBFUN xmlChar *
|
494
494
|
xmlXPathCastBooleanToString (int val);
|
495
|
-
XMLPUBFUN xmlChar *
|
495
|
+
XMLPUBFUN xmlChar *
|
496
496
|
xmlXPathCastNumberToString (double val);
|
497
|
-
XMLPUBFUN xmlChar *
|
497
|
+
XMLPUBFUN xmlChar *
|
498
498
|
xmlXPathCastNodeToString (xmlNodePtr node);
|
499
|
-
XMLPUBFUN xmlChar *
|
499
|
+
XMLPUBFUN xmlChar *
|
500
500
|
xmlXPathCastNodeSetToString (xmlNodeSetPtr ns);
|
501
|
-
XMLPUBFUN xmlChar *
|
501
|
+
XMLPUBFUN xmlChar *
|
502
502
|
xmlXPathCastToString (xmlXPathObjectPtr val);
|
503
503
|
|
504
|
-
XMLPUBFUN xmlXPathObjectPtr
|
504
|
+
XMLPUBFUN xmlXPathObjectPtr
|
505
505
|
xmlXPathConvertBoolean (xmlXPathObjectPtr val);
|
506
|
-
XMLPUBFUN xmlXPathObjectPtr
|
506
|
+
XMLPUBFUN xmlXPathObjectPtr
|
507
507
|
xmlXPathConvertNumber (xmlXPathObjectPtr val);
|
508
|
-
XMLPUBFUN xmlXPathObjectPtr
|
508
|
+
XMLPUBFUN xmlXPathObjectPtr
|
509
509
|
xmlXPathConvertString (xmlXPathObjectPtr val);
|
510
510
|
|
511
511
|
/**
|
512
512
|
* Context handling.
|
513
513
|
*/
|
514
|
-
XMLPUBFUN xmlXPathContextPtr
|
514
|
+
XMLPUBFUN xmlXPathContextPtr
|
515
515
|
xmlXPathNewContext (xmlDocPtr doc);
|
516
|
-
XMLPUBFUN void
|
516
|
+
XMLPUBFUN void
|
517
517
|
xmlXPathFreeContext (xmlXPathContextPtr ctxt);
|
518
|
-
XMLPUBFUN int
|
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
|
526
|
+
XMLPUBFUN long
|
527
527
|
xmlXPathOrderDocElems (xmlDocPtr doc);
|
528
|
-
XMLPUBFUN int
|
528
|
+
XMLPUBFUN int
|
529
529
|
xmlXPathSetContextNode (xmlNodePtr node,
|
530
530
|
xmlXPathContextPtr ctx);
|
531
|
-
XMLPUBFUN xmlXPathObjectPtr
|
531
|
+
XMLPUBFUN xmlXPathObjectPtr
|
532
532
|
xmlXPathNodeEval (xmlNodePtr node,
|
533
533
|
const xmlChar *str,
|
534
534
|
xmlXPathContextPtr ctx);
|
535
|
-
XMLPUBFUN xmlXPathObjectPtr
|
535
|
+
XMLPUBFUN xmlXPathObjectPtr
|
536
536
|
xmlXPathEval (const xmlChar *str,
|
537
537
|
xmlXPathContextPtr ctx);
|
538
|
-
XMLPUBFUN xmlXPathObjectPtr
|
538
|
+
XMLPUBFUN xmlXPathObjectPtr
|
539
539
|
xmlXPathEvalExpression (const xmlChar *str,
|
540
540
|
xmlXPathContextPtr ctxt);
|
541
|
-
XMLPUBFUN int
|
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
|
547
|
+
XMLPUBFUN xmlXPathCompExprPtr
|
548
548
|
xmlXPathCompile (const xmlChar *str);
|
549
|
-
XMLPUBFUN xmlXPathCompExprPtr
|
549
|
+
XMLPUBFUN xmlXPathCompExprPtr
|
550
550
|
xmlXPathCtxtCompile (xmlXPathContextPtr ctxt,
|
551
551
|
const xmlChar *str);
|
552
|
-
XMLPUBFUN xmlXPathObjectPtr
|
552
|
+
XMLPUBFUN xmlXPathObjectPtr
|
553
553
|
xmlXPathCompiledEval (xmlXPathCompExprPtr comp,
|
554
554
|
xmlXPathContextPtr ctx);
|
555
|
-
XMLPUBFUN int
|
555
|
+
XMLPUBFUN int
|
556
556
|
xmlXPathCompiledEvalToBoolean(xmlXPathCompExprPtr comp,
|
557
557
|
xmlXPathContextPtr ctxt);
|
558
|
-
XMLPUBFUN void
|
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
|
563
|
+
XMLPUBFUN void
|
564
564
|
xmlXPathInit (void);
|
565
|
-
XMLPUBFUN int
|
565
|
+
XMLPUBFUN int
|
566
566
|
xmlXPathIsNaN (double val);
|
567
|
-
XMLPUBFUN int
|
567
|
+
XMLPUBFUN int
|
568
568
|
xmlXPathIsInf (double val);
|
569
569
|
|
570
570
|
#ifdef __cplusplus
|