nokogiri 1.14.4-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.
- 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.bundle +0 -0
- data/lib/nokogiri/3.0/nokogiri.bundle +0 -0
- data/lib/nokogiri/3.1/nokogiri.bundle +0 -0
- data/lib/nokogiri/3.2/nokogiri.bundle +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
@@ -25,9 +25,9 @@ extern "C" {
|
|
25
25
|
#endif
|
26
26
|
|
27
27
|
XML_DEPRECATED
|
28
|
-
XMLPUBFUN void
|
28
|
+
XMLPUBFUN void xmlInitGlobals(void);
|
29
29
|
XML_DEPRECATED
|
30
|
-
XMLPUBFUN void
|
30
|
+
XMLPUBFUN void xmlCleanupGlobals(void);
|
31
31
|
|
32
32
|
/**
|
33
33
|
* xmlParserInputBufferCreateFilenameFunc:
|
@@ -60,9 +60,9 @@ typedef xmlOutputBufferPtr (*xmlOutputBufferCreateFilenameFunc) (const char *URI
|
|
60
60
|
int compression);
|
61
61
|
|
62
62
|
XMLPUBFUN xmlParserInputBufferCreateFilenameFunc
|
63
|
-
|
63
|
+
xmlParserInputBufferCreateFilenameDefault (xmlParserInputBufferCreateFilenameFunc func);
|
64
64
|
XMLPUBFUN xmlOutputBufferCreateFilenameFunc
|
65
|
-
|
65
|
+
xmlOutputBufferCreateFilenameDefault (xmlOutputBufferCreateFilenameFunc func);
|
66
66
|
|
67
67
|
/*
|
68
68
|
* Externally global symbols which need to be protected for backwards
|
@@ -175,24 +175,23 @@ struct _xmlGlobalState
|
|
175
175
|
extern "C" {
|
176
176
|
#endif
|
177
177
|
|
178
|
-
XMLPUBFUN void
|
178
|
+
XMLPUBFUN void xmlInitializeGlobalState(xmlGlobalStatePtr gs);
|
179
179
|
|
180
|
-
XMLPUBFUN void
|
180
|
+
XMLPUBFUN void xmlThrDefSetGenericErrorFunc(void *ctx, xmlGenericErrorFunc handler);
|
181
181
|
|
182
|
-
XMLPUBFUN void
|
182
|
+
XMLPUBFUN void xmlThrDefSetStructuredErrorFunc(void *ctx, xmlStructuredErrorFunc handler);
|
183
183
|
|
184
|
-
XMLPUBFUN xmlRegisterNodeFunc
|
185
|
-
XMLPUBFUN xmlRegisterNodeFunc
|
186
|
-
XMLPUBFUN xmlDeregisterNodeFunc
|
187
|
-
XMLPUBFUN xmlDeregisterNodeFunc
|
184
|
+
XMLPUBFUN xmlRegisterNodeFunc xmlRegisterNodeDefault(xmlRegisterNodeFunc func);
|
185
|
+
XMLPUBFUN xmlRegisterNodeFunc xmlThrDefRegisterNodeDefault(xmlRegisterNodeFunc func);
|
186
|
+
XMLPUBFUN xmlDeregisterNodeFunc xmlDeregisterNodeDefault(xmlDeregisterNodeFunc func);
|
187
|
+
XMLPUBFUN xmlDeregisterNodeFunc xmlThrDefDeregisterNodeDefault(xmlDeregisterNodeFunc func);
|
188
188
|
|
189
|
-
XMLPUBFUN xmlOutputBufferCreateFilenameFunc
|
189
|
+
XMLPUBFUN xmlOutputBufferCreateFilenameFunc
|
190
190
|
xmlThrDefOutputBufferCreateFilenameDefault(xmlOutputBufferCreateFilenameFunc func);
|
191
|
-
XMLPUBFUN xmlParserInputBufferCreateFilenameFunc
|
191
|
+
XMLPUBFUN xmlParserInputBufferCreateFilenameFunc
|
192
192
|
xmlThrDefParserInputBufferCreateFilenameDefault(
|
193
193
|
xmlParserInputBufferCreateFilenameFunc func);
|
194
194
|
|
195
|
-
/** DOC_DISABLE */
|
196
195
|
/*
|
197
196
|
* In general the memory allocation entry points are not kept
|
198
197
|
* thread specific but this can be overridden by LIBXML_THREAD_ALLOC_ENABLED
|
@@ -204,8 +203,10 @@ XMLPUBFUN xmlParserInputBufferCreateFilenameFunc XMLCALL
|
|
204
203
|
*/
|
205
204
|
|
206
205
|
#ifdef LIBXML_THREAD_ALLOC_ENABLED
|
206
|
+
/** DOC_DISABLE */
|
207
|
+
|
207
208
|
#ifdef LIBXML_THREAD_ENABLED
|
208
|
-
XMLPUBFUN xmlMallocFunc *
|
209
|
+
XMLPUBFUN xmlMallocFunc * __xmlMalloc(void);
|
209
210
|
#define xmlMalloc \
|
210
211
|
(*(__xmlMalloc()))
|
211
212
|
#else
|
@@ -213,7 +214,7 @@ XMLPUBVAR xmlMallocFunc xmlMalloc;
|
|
213
214
|
#endif
|
214
215
|
|
215
216
|
#ifdef LIBXML_THREAD_ENABLED
|
216
|
-
XMLPUBFUN xmlMallocFunc *
|
217
|
+
XMLPUBFUN xmlMallocFunc * __xmlMallocAtomic(void);
|
217
218
|
#define xmlMallocAtomic \
|
218
219
|
(*(__xmlMallocAtomic()))
|
219
220
|
#else
|
@@ -221,7 +222,7 @@ XMLPUBVAR xmlMallocFunc xmlMallocAtomic;
|
|
221
222
|
#endif
|
222
223
|
|
223
224
|
#ifdef LIBXML_THREAD_ENABLED
|
224
|
-
XMLPUBFUN xmlReallocFunc *
|
225
|
+
XMLPUBFUN xmlReallocFunc * __xmlRealloc(void);
|
225
226
|
#define xmlRealloc \
|
226
227
|
(*(__xmlRealloc()))
|
227
228
|
#else
|
@@ -229,7 +230,7 @@ XMLPUBVAR xmlReallocFunc xmlRealloc;
|
|
229
230
|
#endif
|
230
231
|
|
231
232
|
#ifdef LIBXML_THREAD_ENABLED
|
232
|
-
XMLPUBFUN xmlFreeFunc *
|
233
|
+
XMLPUBFUN xmlFreeFunc * __xmlFree(void);
|
233
234
|
#define xmlFree \
|
234
235
|
(*(__xmlFree()))
|
235
236
|
#else
|
@@ -237,13 +238,14 @@ XMLPUBVAR xmlFreeFunc xmlFree;
|
|
237
238
|
#endif
|
238
239
|
|
239
240
|
#ifdef LIBXML_THREAD_ENABLED
|
240
|
-
XMLPUBFUN xmlStrdupFunc *
|
241
|
+
XMLPUBFUN xmlStrdupFunc * __xmlMemStrdup(void);
|
241
242
|
#define xmlMemStrdup \
|
242
243
|
(*(__xmlMemStrdup()))
|
243
244
|
#else
|
244
245
|
XMLPUBVAR xmlStrdupFunc xmlMemStrdup;
|
245
246
|
#endif
|
246
247
|
|
248
|
+
/** DOC_ENABLE */
|
247
249
|
#else /* !LIBXML_THREAD_ALLOC_ENABLED */
|
248
250
|
XMLPUBVAR xmlMallocFunc xmlMalloc;
|
249
251
|
XMLPUBVAR xmlMallocFunc xmlMallocAtomic;
|
@@ -253,16 +255,18 @@ XMLPUBVAR xmlStrdupFunc xmlMemStrdup;
|
|
253
255
|
#endif /* LIBXML_THREAD_ALLOC_ENABLED */
|
254
256
|
|
255
257
|
#ifdef LIBXML_HTML_ENABLED
|
256
|
-
|
258
|
+
XML_DEPRECATED
|
259
|
+
XMLPUBFUN xmlSAXHandlerV1 * __htmlDefaultSAXHandler(void);
|
257
260
|
#ifdef LIBXML_THREAD_ENABLED
|
258
261
|
#define htmlDefaultSAXHandler \
|
259
262
|
(*(__htmlDefaultSAXHandler()))
|
260
263
|
#else
|
264
|
+
XML_DEPRECATED
|
261
265
|
XMLPUBVAR xmlSAXHandlerV1 htmlDefaultSAXHandler;
|
262
266
|
#endif
|
263
267
|
#endif
|
264
268
|
|
265
|
-
XMLPUBFUN xmlError *
|
269
|
+
XMLPUBFUN xmlError * __xmlLastError(void);
|
266
270
|
#ifdef LIBXML_THREAD_ENABLED
|
267
271
|
#define xmlLastError \
|
268
272
|
(*(__xmlLastError()))
|
@@ -277,59 +281,71 @@ XMLPUBVAR xmlError xmlLastError;
|
|
277
281
|
*/
|
278
282
|
|
279
283
|
|
280
|
-
|
284
|
+
XML_DEPRECATED
|
285
|
+
XMLPUBFUN int * __oldXMLWDcompatibility(void);
|
281
286
|
#ifdef LIBXML_THREAD_ENABLED
|
282
287
|
#define oldXMLWDcompatibility \
|
283
288
|
(*(__oldXMLWDcompatibility()))
|
284
289
|
#else
|
290
|
+
XML_DEPRECATED
|
285
291
|
XMLPUBVAR int oldXMLWDcompatibility;
|
286
292
|
#endif
|
287
293
|
|
288
|
-
|
294
|
+
XML_DEPRECATED
|
295
|
+
XMLPUBFUN xmlBufferAllocationScheme * __xmlBufferAllocScheme(void);
|
289
296
|
#ifdef LIBXML_THREAD_ENABLED
|
290
297
|
#define xmlBufferAllocScheme \
|
291
298
|
(*(__xmlBufferAllocScheme()))
|
292
299
|
#else
|
300
|
+
XML_DEPRECATED
|
293
301
|
XMLPUBVAR xmlBufferAllocationScheme xmlBufferAllocScheme;
|
294
302
|
#endif
|
295
|
-
|
303
|
+
XML_DEPRECATED
|
304
|
+
XMLPUBFUN xmlBufferAllocationScheme
|
296
305
|
xmlThrDefBufferAllocScheme(xmlBufferAllocationScheme v);
|
297
306
|
|
298
|
-
|
307
|
+
XML_DEPRECATED
|
308
|
+
XMLPUBFUN int * __xmlDefaultBufferSize(void);
|
299
309
|
#ifdef LIBXML_THREAD_ENABLED
|
300
310
|
#define xmlDefaultBufferSize \
|
301
311
|
(*(__xmlDefaultBufferSize()))
|
302
312
|
#else
|
313
|
+
XML_DEPRECATED
|
303
314
|
XMLPUBVAR int xmlDefaultBufferSize;
|
304
315
|
#endif
|
305
|
-
|
316
|
+
XML_DEPRECATED
|
317
|
+
XMLPUBFUN int xmlThrDefDefaultBufferSize(int v);
|
306
318
|
|
307
|
-
|
319
|
+
XML_DEPRECATED
|
320
|
+
XMLPUBFUN xmlSAXHandlerV1 * __xmlDefaultSAXHandler(void);
|
308
321
|
#ifdef LIBXML_THREAD_ENABLED
|
309
322
|
#define xmlDefaultSAXHandler \
|
310
323
|
(*(__xmlDefaultSAXHandler()))
|
311
324
|
#else
|
325
|
+
XML_DEPRECATED
|
312
326
|
XMLPUBVAR xmlSAXHandlerV1 xmlDefaultSAXHandler;
|
313
327
|
#endif
|
314
328
|
|
315
|
-
|
329
|
+
XML_DEPRECATED
|
330
|
+
XMLPUBFUN xmlSAXLocator * __xmlDefaultSAXLocator(void);
|
316
331
|
#ifdef LIBXML_THREAD_ENABLED
|
317
332
|
#define xmlDefaultSAXLocator \
|
318
333
|
(*(__xmlDefaultSAXLocator()))
|
319
334
|
#else
|
335
|
+
XML_DEPRECATED
|
320
336
|
XMLPUBVAR xmlSAXLocator xmlDefaultSAXLocator;
|
321
337
|
#endif
|
322
338
|
|
323
|
-
XMLPUBFUN int *
|
339
|
+
XMLPUBFUN int * __xmlDoValidityCheckingDefaultValue(void);
|
324
340
|
#ifdef LIBXML_THREAD_ENABLED
|
325
341
|
#define xmlDoValidityCheckingDefaultValue \
|
326
342
|
(*(__xmlDoValidityCheckingDefaultValue()))
|
327
343
|
#else
|
328
344
|
XMLPUBVAR int xmlDoValidityCheckingDefaultValue;
|
329
345
|
#endif
|
330
|
-
XMLPUBFUN int
|
346
|
+
XMLPUBFUN int xmlThrDefDoValidityCheckingDefaultValue(int v);
|
331
347
|
|
332
|
-
XMLPUBFUN xmlGenericErrorFunc *
|
348
|
+
XMLPUBFUN xmlGenericErrorFunc * __xmlGenericError(void);
|
333
349
|
#ifdef LIBXML_THREAD_ENABLED
|
334
350
|
#define xmlGenericError \
|
335
351
|
(*(__xmlGenericError()))
|
@@ -337,7 +353,7 @@ XMLPUBFUN xmlGenericErrorFunc * XMLCALL __xmlGenericError(void);
|
|
337
353
|
XMLPUBVAR xmlGenericErrorFunc xmlGenericError;
|
338
354
|
#endif
|
339
355
|
|
340
|
-
XMLPUBFUN xmlStructuredErrorFunc *
|
356
|
+
XMLPUBFUN xmlStructuredErrorFunc * __xmlStructuredError(void);
|
341
357
|
#ifdef LIBXML_THREAD_ENABLED
|
342
358
|
#define xmlStructuredError \
|
343
359
|
(*(__xmlStructuredError()))
|
@@ -345,7 +361,7 @@ XMLPUBFUN xmlStructuredErrorFunc * XMLCALL __xmlStructuredError(void);
|
|
345
361
|
XMLPUBVAR xmlStructuredErrorFunc xmlStructuredError;
|
346
362
|
#endif
|
347
363
|
|
348
|
-
XMLPUBFUN void * *
|
364
|
+
XMLPUBFUN void * * __xmlGenericErrorContext(void);
|
349
365
|
#ifdef LIBXML_THREAD_ENABLED
|
350
366
|
#define xmlGenericErrorContext \
|
351
367
|
(*(__xmlGenericErrorContext()))
|
@@ -353,7 +369,7 @@ XMLPUBFUN void * * XMLCALL __xmlGenericErrorContext(void);
|
|
353
369
|
XMLPUBVAR void * xmlGenericErrorContext;
|
354
370
|
#endif
|
355
371
|
|
356
|
-
XMLPUBFUN void * *
|
372
|
+
XMLPUBFUN void * * __xmlStructuredErrorContext(void);
|
357
373
|
#ifdef LIBXML_THREAD_ENABLED
|
358
374
|
#define xmlStructuredErrorContext \
|
359
375
|
(*(__xmlStructuredErrorContext()))
|
@@ -361,70 +377,73 @@ XMLPUBFUN void * * XMLCALL __xmlStructuredErrorContext(void);
|
|
361
377
|
XMLPUBVAR void * xmlStructuredErrorContext;
|
362
378
|
#endif
|
363
379
|
|
364
|
-
XMLPUBFUN int *
|
380
|
+
XMLPUBFUN int * __xmlGetWarningsDefaultValue(void);
|
365
381
|
#ifdef LIBXML_THREAD_ENABLED
|
366
382
|
#define xmlGetWarningsDefaultValue \
|
367
383
|
(*(__xmlGetWarningsDefaultValue()))
|
368
384
|
#else
|
369
385
|
XMLPUBVAR int xmlGetWarningsDefaultValue;
|
370
386
|
#endif
|
371
|
-
XMLPUBFUN int
|
387
|
+
XMLPUBFUN int xmlThrDefGetWarningsDefaultValue(int v);
|
372
388
|
|
373
|
-
XMLPUBFUN int *
|
389
|
+
XMLPUBFUN int * __xmlIndentTreeOutput(void);
|
374
390
|
#ifdef LIBXML_THREAD_ENABLED
|
375
391
|
#define xmlIndentTreeOutput \
|
376
392
|
(*(__xmlIndentTreeOutput()))
|
377
393
|
#else
|
378
394
|
XMLPUBVAR int xmlIndentTreeOutput;
|
379
395
|
#endif
|
380
|
-
XMLPUBFUN int
|
396
|
+
XMLPUBFUN int xmlThrDefIndentTreeOutput(int v);
|
381
397
|
|
382
|
-
XMLPUBFUN const char * *
|
398
|
+
XMLPUBFUN const char * * __xmlTreeIndentString(void);
|
383
399
|
#ifdef LIBXML_THREAD_ENABLED
|
384
400
|
#define xmlTreeIndentString \
|
385
401
|
(*(__xmlTreeIndentString()))
|
386
402
|
#else
|
387
403
|
XMLPUBVAR const char * xmlTreeIndentString;
|
388
404
|
#endif
|
389
|
-
XMLPUBFUN const char *
|
405
|
+
XMLPUBFUN const char * xmlThrDefTreeIndentString(const char * v);
|
390
406
|
|
391
|
-
XMLPUBFUN int *
|
407
|
+
XMLPUBFUN int * __xmlKeepBlanksDefaultValue(void);
|
392
408
|
#ifdef LIBXML_THREAD_ENABLED
|
393
409
|
#define xmlKeepBlanksDefaultValue \
|
394
410
|
(*(__xmlKeepBlanksDefaultValue()))
|
395
411
|
#else
|
396
412
|
XMLPUBVAR int xmlKeepBlanksDefaultValue;
|
397
413
|
#endif
|
398
|
-
XMLPUBFUN int
|
414
|
+
XMLPUBFUN int xmlThrDefKeepBlanksDefaultValue(int v);
|
399
415
|
|
400
|
-
|
416
|
+
XML_DEPRECATED
|
417
|
+
XMLPUBFUN int * __xmlLineNumbersDefaultValue(void);
|
401
418
|
#ifdef LIBXML_THREAD_ENABLED
|
402
419
|
#define xmlLineNumbersDefaultValue \
|
403
420
|
(*(__xmlLineNumbersDefaultValue()))
|
404
421
|
#else
|
422
|
+
XML_DEPRECATED
|
405
423
|
XMLPUBVAR int xmlLineNumbersDefaultValue;
|
406
424
|
#endif
|
407
|
-
|
425
|
+
XML_DEPRECATED
|
426
|
+
XMLPUBFUN int xmlThrDefLineNumbersDefaultValue(int v);
|
408
427
|
|
409
|
-
XMLPUBFUN int *
|
428
|
+
XMLPUBFUN int * __xmlLoadExtDtdDefaultValue(void);
|
410
429
|
#ifdef LIBXML_THREAD_ENABLED
|
411
430
|
#define xmlLoadExtDtdDefaultValue \
|
412
431
|
(*(__xmlLoadExtDtdDefaultValue()))
|
413
432
|
#else
|
414
433
|
XMLPUBVAR int xmlLoadExtDtdDefaultValue;
|
415
434
|
#endif
|
416
|
-
XMLPUBFUN int
|
435
|
+
XMLPUBFUN int xmlThrDefLoadExtDtdDefaultValue(int v);
|
417
436
|
|
418
|
-
XMLPUBFUN int *
|
437
|
+
XMLPUBFUN int * __xmlParserDebugEntities(void);
|
419
438
|
#ifdef LIBXML_THREAD_ENABLED
|
420
439
|
#define xmlParserDebugEntities \
|
421
440
|
(*(__xmlParserDebugEntities()))
|
422
441
|
#else
|
423
442
|
XMLPUBVAR int xmlParserDebugEntities;
|
424
443
|
#endif
|
425
|
-
XMLPUBFUN int
|
444
|
+
XMLPUBFUN int xmlThrDefParserDebugEntities(int v);
|
426
445
|
|
427
|
-
XMLPUBFUN const char * *
|
446
|
+
XMLPUBFUN const char * * __xmlParserVersion(void);
|
428
447
|
#ifdef LIBXML_THREAD_ENABLED
|
429
448
|
#define xmlParserVersion \
|
430
449
|
(*(__xmlParserVersion()))
|
@@ -432,63 +451,74 @@ XMLPUBFUN const char * * XMLCALL __xmlParserVersion(void);
|
|
432
451
|
XMLPUBVAR const char * xmlParserVersion;
|
433
452
|
#endif
|
434
453
|
|
435
|
-
|
454
|
+
XML_DEPRECATED
|
455
|
+
XMLPUBFUN int * __xmlPedanticParserDefaultValue(void);
|
436
456
|
#ifdef LIBXML_THREAD_ENABLED
|
437
457
|
#define xmlPedanticParserDefaultValue \
|
438
458
|
(*(__xmlPedanticParserDefaultValue()))
|
439
459
|
#else
|
460
|
+
XML_DEPRECATED
|
440
461
|
XMLPUBVAR int xmlPedanticParserDefaultValue;
|
441
462
|
#endif
|
442
|
-
|
463
|
+
XML_DEPRECATED
|
464
|
+
XMLPUBFUN int xmlThrDefPedanticParserDefaultValue(int v);
|
443
465
|
|
444
|
-
XMLPUBFUN int *
|
466
|
+
XMLPUBFUN int * __xmlSaveNoEmptyTags(void);
|
445
467
|
#ifdef LIBXML_THREAD_ENABLED
|
446
468
|
#define xmlSaveNoEmptyTags \
|
447
469
|
(*(__xmlSaveNoEmptyTags()))
|
448
470
|
#else
|
449
471
|
XMLPUBVAR int xmlSaveNoEmptyTags;
|
450
472
|
#endif
|
451
|
-
XMLPUBFUN int
|
473
|
+
XMLPUBFUN int xmlThrDefSaveNoEmptyTags(int v);
|
452
474
|
|
453
|
-
XMLPUBFUN int *
|
475
|
+
XMLPUBFUN int * __xmlSubstituteEntitiesDefaultValue(void);
|
454
476
|
#ifdef LIBXML_THREAD_ENABLED
|
455
477
|
#define xmlSubstituteEntitiesDefaultValue \
|
456
478
|
(*(__xmlSubstituteEntitiesDefaultValue()))
|
457
479
|
#else
|
458
480
|
XMLPUBVAR int xmlSubstituteEntitiesDefaultValue;
|
459
481
|
#endif
|
460
|
-
XMLPUBFUN int
|
482
|
+
XMLPUBFUN int xmlThrDefSubstituteEntitiesDefaultValue(int v);
|
461
483
|
|
462
|
-
|
484
|
+
XML_DEPRECATED
|
485
|
+
XMLPUBFUN xmlRegisterNodeFunc * __xmlRegisterNodeDefaultValue(void);
|
463
486
|
#ifdef LIBXML_THREAD_ENABLED
|
464
487
|
#define xmlRegisterNodeDefaultValue \
|
465
488
|
(*(__xmlRegisterNodeDefaultValue()))
|
466
489
|
#else
|
490
|
+
XML_DEPRECATED
|
467
491
|
XMLPUBVAR xmlRegisterNodeFunc xmlRegisterNodeDefaultValue;
|
468
492
|
#endif
|
469
493
|
|
470
|
-
|
494
|
+
XML_DEPRECATED
|
495
|
+
XMLPUBFUN xmlDeregisterNodeFunc * __xmlDeregisterNodeDefaultValue(void);
|
471
496
|
#ifdef LIBXML_THREAD_ENABLED
|
472
497
|
#define xmlDeregisterNodeDefaultValue \
|
473
498
|
(*(__xmlDeregisterNodeDefaultValue()))
|
474
499
|
#else
|
500
|
+
XML_DEPRECATED
|
475
501
|
XMLPUBVAR xmlDeregisterNodeFunc xmlDeregisterNodeDefaultValue;
|
476
502
|
#endif
|
477
503
|
|
478
|
-
|
504
|
+
XML_DEPRECATED
|
505
|
+
XMLPUBFUN xmlParserInputBufferCreateFilenameFunc * \
|
479
506
|
__xmlParserInputBufferCreateFilenameValue(void);
|
480
507
|
#ifdef LIBXML_THREAD_ENABLED
|
481
508
|
#define xmlParserInputBufferCreateFilenameValue \
|
482
509
|
(*(__xmlParserInputBufferCreateFilenameValue()))
|
483
510
|
#else
|
511
|
+
XML_DEPRECATED
|
484
512
|
XMLPUBVAR xmlParserInputBufferCreateFilenameFunc xmlParserInputBufferCreateFilenameValue;
|
485
513
|
#endif
|
486
514
|
|
487
|
-
|
515
|
+
XML_DEPRECATED
|
516
|
+
XMLPUBFUN xmlOutputBufferCreateFilenameFunc * __xmlOutputBufferCreateFilenameValue(void);
|
488
517
|
#ifdef LIBXML_THREAD_ENABLED
|
489
518
|
#define xmlOutputBufferCreateFilenameValue \
|
490
519
|
(*(__xmlOutputBufferCreateFilenameValue()))
|
491
520
|
#else
|
521
|
+
XML_DEPRECATED
|
492
522
|
XMLPUBVAR xmlOutputBufferCreateFilenameFunc xmlOutputBufferCreateFilenameValue;
|
493
523
|
#endif
|
494
524
|
|
@@ -103,48 +103,48 @@ typedef void (*xmlHashScannerFull)(void *payload, void *data,
|
|
103
103
|
/*
|
104
104
|
* Constructor and destructor.
|
105
105
|
*/
|
106
|
-
XMLPUBFUN xmlHashTablePtr
|
106
|
+
XMLPUBFUN xmlHashTablePtr
|
107
107
|
xmlHashCreate (int size);
|
108
|
-
XMLPUBFUN xmlHashTablePtr
|
108
|
+
XMLPUBFUN xmlHashTablePtr
|
109
109
|
xmlHashCreateDict(int size,
|
110
110
|
xmlDictPtr dict);
|
111
|
-
XMLPUBFUN void
|
111
|
+
XMLPUBFUN void
|
112
112
|
xmlHashFree (xmlHashTablePtr table,
|
113
113
|
xmlHashDeallocator f);
|
114
|
-
XMLPUBFUN void
|
114
|
+
XMLPUBFUN void
|
115
115
|
xmlHashDefaultDeallocator(void *entry,
|
116
116
|
const xmlChar *name);
|
117
117
|
|
118
118
|
/*
|
119
119
|
* Add a new entry to the hash table.
|
120
120
|
*/
|
121
|
-
XMLPUBFUN int
|
121
|
+
XMLPUBFUN int
|
122
122
|
xmlHashAddEntry (xmlHashTablePtr table,
|
123
123
|
const xmlChar *name,
|
124
124
|
void *userdata);
|
125
|
-
XMLPUBFUN int
|
125
|
+
XMLPUBFUN int
|
126
126
|
xmlHashUpdateEntry(xmlHashTablePtr table,
|
127
127
|
const xmlChar *name,
|
128
128
|
void *userdata,
|
129
129
|
xmlHashDeallocator f);
|
130
|
-
XMLPUBFUN int
|
130
|
+
XMLPUBFUN int
|
131
131
|
xmlHashAddEntry2(xmlHashTablePtr table,
|
132
132
|
const xmlChar *name,
|
133
133
|
const xmlChar *name2,
|
134
134
|
void *userdata);
|
135
|
-
XMLPUBFUN int
|
135
|
+
XMLPUBFUN int
|
136
136
|
xmlHashUpdateEntry2(xmlHashTablePtr table,
|
137
137
|
const xmlChar *name,
|
138
138
|
const xmlChar *name2,
|
139
139
|
void *userdata,
|
140
140
|
xmlHashDeallocator f);
|
141
|
-
XMLPUBFUN int
|
141
|
+
XMLPUBFUN int
|
142
142
|
xmlHashAddEntry3(xmlHashTablePtr table,
|
143
143
|
const xmlChar *name,
|
144
144
|
const xmlChar *name2,
|
145
145
|
const xmlChar *name3,
|
146
146
|
void *userdata);
|
147
|
-
XMLPUBFUN int
|
147
|
+
XMLPUBFUN int
|
148
148
|
xmlHashUpdateEntry3(xmlHashTablePtr table,
|
149
149
|
const xmlChar *name,
|
150
150
|
const xmlChar *name2,
|
@@ -155,13 +155,13 @@ XMLPUBFUN int XMLCALL
|
|
155
155
|
/*
|
156
156
|
* Remove an entry from the hash table.
|
157
157
|
*/
|
158
|
-
XMLPUBFUN int
|
158
|
+
XMLPUBFUN int
|
159
159
|
xmlHashRemoveEntry(xmlHashTablePtr table, const xmlChar *name,
|
160
160
|
xmlHashDeallocator f);
|
161
|
-
XMLPUBFUN int
|
161
|
+
XMLPUBFUN int
|
162
162
|
xmlHashRemoveEntry2(xmlHashTablePtr table, const xmlChar *name,
|
163
163
|
const xmlChar *name2, xmlHashDeallocator f);
|
164
|
-
XMLPUBFUN int
|
164
|
+
XMLPUBFUN int
|
165
165
|
xmlHashRemoveEntry3(xmlHashTablePtr table, const xmlChar *name,
|
166
166
|
const xmlChar *name2, const xmlChar *name3,
|
167
167
|
xmlHashDeallocator f);
|
@@ -169,29 +169,29 @@ XMLPUBFUN int XMLCALL
|
|
169
169
|
/*
|
170
170
|
* Retrieve the userdata.
|
171
171
|
*/
|
172
|
-
XMLPUBFUN void *
|
172
|
+
XMLPUBFUN void *
|
173
173
|
xmlHashLookup (xmlHashTablePtr table,
|
174
174
|
const xmlChar *name);
|
175
|
-
XMLPUBFUN void *
|
175
|
+
XMLPUBFUN void *
|
176
176
|
xmlHashLookup2 (xmlHashTablePtr table,
|
177
177
|
const xmlChar *name,
|
178
178
|
const xmlChar *name2);
|
179
|
-
XMLPUBFUN void *
|
179
|
+
XMLPUBFUN void *
|
180
180
|
xmlHashLookup3 (xmlHashTablePtr table,
|
181
181
|
const xmlChar *name,
|
182
182
|
const xmlChar *name2,
|
183
183
|
const xmlChar *name3);
|
184
|
-
XMLPUBFUN void *
|
184
|
+
XMLPUBFUN void *
|
185
185
|
xmlHashQLookup (xmlHashTablePtr table,
|
186
186
|
const xmlChar *name,
|
187
187
|
const xmlChar *prefix);
|
188
|
-
XMLPUBFUN void *
|
188
|
+
XMLPUBFUN void *
|
189
189
|
xmlHashQLookup2 (xmlHashTablePtr table,
|
190
190
|
const xmlChar *name,
|
191
191
|
const xmlChar *prefix,
|
192
192
|
const xmlChar *name2,
|
193
193
|
const xmlChar *prefix2);
|
194
|
-
XMLPUBFUN void *
|
194
|
+
XMLPUBFUN void *
|
195
195
|
xmlHashQLookup3 (xmlHashTablePtr table,
|
196
196
|
const xmlChar *name,
|
197
197
|
const xmlChar *prefix,
|
@@ -203,27 +203,27 @@ XMLPUBFUN void * XMLCALL
|
|
203
203
|
/*
|
204
204
|
* Helpers.
|
205
205
|
*/
|
206
|
-
XMLPUBFUN xmlHashTablePtr
|
206
|
+
XMLPUBFUN xmlHashTablePtr
|
207
207
|
xmlHashCopy (xmlHashTablePtr table,
|
208
208
|
xmlHashCopier f);
|
209
|
-
XMLPUBFUN int
|
209
|
+
XMLPUBFUN int
|
210
210
|
xmlHashSize (xmlHashTablePtr table);
|
211
|
-
XMLPUBFUN void
|
211
|
+
XMLPUBFUN void
|
212
212
|
xmlHashScan (xmlHashTablePtr table,
|
213
213
|
xmlHashScanner f,
|
214
214
|
void *data);
|
215
|
-
XMLPUBFUN void
|
215
|
+
XMLPUBFUN void
|
216
216
|
xmlHashScan3 (xmlHashTablePtr table,
|
217
217
|
const xmlChar *name,
|
218
218
|
const xmlChar *name2,
|
219
219
|
const xmlChar *name3,
|
220
220
|
xmlHashScanner f,
|
221
221
|
void *data);
|
222
|
-
XMLPUBFUN void
|
222
|
+
XMLPUBFUN void
|
223
223
|
xmlHashScanFull (xmlHashTablePtr table,
|
224
224
|
xmlHashScannerFull f,
|
225
225
|
void *data);
|
226
|
-
XMLPUBFUN void
|
226
|
+
XMLPUBFUN void
|
227
227
|
xmlHashScanFull3(xmlHashTablePtr table,
|
228
228
|
const xmlChar *name,
|
229
229
|
const xmlChar *name2,
|
@@ -52,79 +52,79 @@ typedef int (*xmlListDataCompare) (const void *data0, const void *data1);
|
|
52
52
|
typedef int (*xmlListWalker) (const void *data, void *user);
|
53
53
|
|
54
54
|
/* Creation/Deletion */
|
55
|
-
XMLPUBFUN xmlListPtr
|
55
|
+
XMLPUBFUN xmlListPtr
|
56
56
|
xmlListCreate (xmlListDeallocator deallocator,
|
57
57
|
xmlListDataCompare compare);
|
58
|
-
XMLPUBFUN void
|
58
|
+
XMLPUBFUN void
|
59
59
|
xmlListDelete (xmlListPtr l);
|
60
60
|
|
61
61
|
/* Basic Operators */
|
62
|
-
XMLPUBFUN void *
|
62
|
+
XMLPUBFUN void *
|
63
63
|
xmlListSearch (xmlListPtr l,
|
64
64
|
void *data);
|
65
|
-
XMLPUBFUN void *
|
65
|
+
XMLPUBFUN void *
|
66
66
|
xmlListReverseSearch (xmlListPtr l,
|
67
67
|
void *data);
|
68
|
-
XMLPUBFUN int
|
68
|
+
XMLPUBFUN int
|
69
69
|
xmlListInsert (xmlListPtr l,
|
70
70
|
void *data) ;
|
71
|
-
XMLPUBFUN int
|
71
|
+
XMLPUBFUN int
|
72
72
|
xmlListAppend (xmlListPtr l,
|
73
73
|
void *data) ;
|
74
|
-
XMLPUBFUN int
|
74
|
+
XMLPUBFUN int
|
75
75
|
xmlListRemoveFirst (xmlListPtr l,
|
76
76
|
void *data);
|
77
|
-
XMLPUBFUN int
|
77
|
+
XMLPUBFUN int
|
78
78
|
xmlListRemoveLast (xmlListPtr l,
|
79
79
|
void *data);
|
80
|
-
XMLPUBFUN int
|
80
|
+
XMLPUBFUN int
|
81
81
|
xmlListRemoveAll (xmlListPtr l,
|
82
82
|
void *data);
|
83
|
-
XMLPUBFUN void
|
83
|
+
XMLPUBFUN void
|
84
84
|
xmlListClear (xmlListPtr l);
|
85
|
-
XMLPUBFUN int
|
85
|
+
XMLPUBFUN int
|
86
86
|
xmlListEmpty (xmlListPtr l);
|
87
|
-
XMLPUBFUN xmlLinkPtr
|
87
|
+
XMLPUBFUN xmlLinkPtr
|
88
88
|
xmlListFront (xmlListPtr l);
|
89
|
-
XMLPUBFUN xmlLinkPtr
|
89
|
+
XMLPUBFUN xmlLinkPtr
|
90
90
|
xmlListEnd (xmlListPtr l);
|
91
|
-
XMLPUBFUN int
|
91
|
+
XMLPUBFUN int
|
92
92
|
xmlListSize (xmlListPtr l);
|
93
93
|
|
94
|
-
XMLPUBFUN void
|
94
|
+
XMLPUBFUN void
|
95
95
|
xmlListPopFront (xmlListPtr l);
|
96
|
-
XMLPUBFUN void
|
96
|
+
XMLPUBFUN void
|
97
97
|
xmlListPopBack (xmlListPtr l);
|
98
|
-
XMLPUBFUN int
|
98
|
+
XMLPUBFUN int
|
99
99
|
xmlListPushFront (xmlListPtr l,
|
100
100
|
void *data);
|
101
|
-
XMLPUBFUN int
|
101
|
+
XMLPUBFUN int
|
102
102
|
xmlListPushBack (xmlListPtr l,
|
103
103
|
void *data);
|
104
104
|
|
105
105
|
/* Advanced Operators */
|
106
|
-
XMLPUBFUN void
|
106
|
+
XMLPUBFUN void
|
107
107
|
xmlListReverse (xmlListPtr l);
|
108
|
-
XMLPUBFUN void
|
108
|
+
XMLPUBFUN void
|
109
109
|
xmlListSort (xmlListPtr l);
|
110
|
-
XMLPUBFUN void
|
110
|
+
XMLPUBFUN void
|
111
111
|
xmlListWalk (xmlListPtr l,
|
112
112
|
xmlListWalker walker,
|
113
113
|
void *user);
|
114
|
-
XMLPUBFUN void
|
114
|
+
XMLPUBFUN void
|
115
115
|
xmlListReverseWalk (xmlListPtr l,
|
116
116
|
xmlListWalker walker,
|
117
117
|
void *user);
|
118
|
-
XMLPUBFUN void
|
118
|
+
XMLPUBFUN void
|
119
119
|
xmlListMerge (xmlListPtr l1,
|
120
120
|
xmlListPtr l2);
|
121
|
-
XMLPUBFUN xmlListPtr
|
121
|
+
XMLPUBFUN xmlListPtr
|
122
122
|
xmlListDup (const xmlListPtr old);
|
123
|
-
XMLPUBFUN int
|
123
|
+
XMLPUBFUN int
|
124
124
|
xmlListCopy (xmlListPtr cur,
|
125
125
|
const xmlListPtr old);
|
126
126
|
/* Link operators */
|
127
|
-
XMLPUBFUN void *
|
127
|
+
XMLPUBFUN void *
|
128
128
|
xmlLinkGetData (xmlLinkPtr lk);
|
129
129
|
|
130
130
|
/* xmlListUnique() */
|