lxml 5.4.0__cp311-cp311-macosx_10_9_universal2.whl → 6.0.0__cp311-cp311-macosx_10_9_universal2.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- lxml/__init__.py +1 -1
- lxml/_elementpath.cpython-311-darwin.so +0 -0
- lxml/_elementpath.py +3 -1
- lxml/apihelpers.pxi +25 -17
- lxml/builder.cpython-311-darwin.so +0 -0
- lxml/builder.py +11 -0
- lxml/debug.pxi +0 -54
- lxml/etree.cpython-311-darwin.so +0 -0
- lxml/etree.h +24 -28
- lxml/etree.pyx +154 -33
- lxml/etree_api.h +59 -50
- lxml/extensions.pxi +3 -6
- lxml/html/__init__.py +7 -3
- lxml/html/_difflib.cpython-311-darwin.so +0 -0
- lxml/html/_difflib.py +2106 -0
- lxml/html/builder.py +40 -0
- lxml/html/defs.py +3 -3
- lxml/html/diff.cpython-311-darwin.so +0 -0
- lxml/html/diff.py +406 -312
- lxml/includes/etree_defs.h +6 -6
- lxml/includes/libxml/HTMLparser.h +33 -30
- lxml/includes/libxml/HTMLtree.h +1 -0
- lxml/includes/libxml/SAX.h +2 -186
- lxml/includes/libxml/SAX2.h +2 -3
- lxml/includes/libxml/catalog.h +1 -0
- lxml/includes/libxml/debugXML.h +0 -138
- lxml/includes/libxml/encoding.h +124 -61
- lxml/includes/libxml/entities.h +0 -19
- lxml/includes/libxml/globals.h +0 -16
- lxml/includes/libxml/nanoftp.h +3 -173
- lxml/includes/libxml/parser.h +474 -231
- lxml/includes/libxml/parserInternals.h +21 -101
- lxml/includes/libxml/relaxng.h +7 -2
- lxml/includes/libxml/threads.h +0 -6
- lxml/includes/libxml/tree.h +29 -85
- lxml/includes/libxml/valid.h +20 -12
- lxml/includes/libxml/xinclude.h +5 -0
- lxml/includes/libxml/xlink.h +4 -0
- lxml/includes/libxml/xmlIO.h +15 -34
- lxml/includes/libxml/xmlautomata.h +19 -2
- lxml/includes/libxml/xmlerror.h +18 -18
- lxml/includes/libxml/xmlexports.h +6 -56
- lxml/includes/libxml/xmlmemory.h +19 -19
- lxml/includes/libxml/xmlmodule.h +4 -0
- lxml/includes/libxml/xmlreader.h +11 -3
- lxml/includes/libxml/xmlregexp.h +7 -106
- lxml/includes/libxml/xmlsave.h +11 -2
- lxml/includes/libxml/xmlschemas.h +10 -5
- lxml/includes/libxml/xmlunicode.h +3 -354
- lxml/includes/libxml/xmlversion.h +19 -34
- lxml/includes/libxml/xpath.h +5 -15
- lxml/includes/libxml/xpathInternals.h +9 -3
- lxml/includes/libxml/xpointer.h +1 -91
- lxml/includes/lxml-version.h +1 -1
- lxml/includes/tree.pxd +10 -12
- lxml/includes/xmlparser.pxd +46 -8
- lxml/lxml.etree.h +24 -28
- lxml/lxml.etree_api.h +59 -50
- lxml/objectify.cpython-311-darwin.so +0 -0
- lxml/objectify.pyx +11 -7
- lxml/parser.pxi +106 -47
- lxml/sax.cpython-311-darwin.so +0 -0
- lxml/sax.py +11 -0
- lxml/saxparser.pxi +14 -14
- lxml/schematron.pxi +8 -3
- lxml/serializer.pxi +71 -3
- lxml/xslt.pxi +10 -3
- lxml-6.0.0.dist-info/METADATA +163 -0
- {lxml-5.4.0.dist-info → lxml-6.0.0.dist-info}/RECORD +73 -71
- {lxml-5.4.0.dist-info → lxml-6.0.0.dist-info}/WHEEL +2 -1
- {lxml-5.4.0.dist-info → lxml-6.0.0.dist-info}/licenses/LICENSE.txt +3 -1
- lxml-5.4.0.dist-info/METADATA +0 -96
- {lxml-5.4.0.dist-info → lxml-6.0.0.dist-info}/licenses/LICENSES.txt +0 -0
- {lxml-5.4.0.dist-info → lxml-6.0.0.dist-info}/top_level.txt +0 -0
@@ -22,17 +22,12 @@
|
|
22
22
|
extern "C" {
|
23
23
|
#endif
|
24
24
|
|
25
|
-
|
26
|
-
*
|
27
|
-
*
|
28
|
-
* DEPRECATED: has no effect
|
29
|
-
*
|
30
|
-
* arbitrary depth limit for the XML documents that we allow to
|
31
|
-
* process. This is not a limitation of the parser but a safety
|
32
|
-
* boundary feature, use XML_PARSE_HUGE option to override it.
|
25
|
+
/*
|
26
|
+
* Backward compatibility
|
33
27
|
*/
|
34
|
-
|
35
|
-
|
28
|
+
#define inputPush xmlCtxtPushInput
|
29
|
+
#define inputPop xmlCtxtPopInput
|
30
|
+
#define xmlParserMaxDepth 256
|
36
31
|
|
37
32
|
/**
|
38
33
|
* XML_MAX_TEXT_LENGTH:
|
@@ -71,7 +66,7 @@ XMLPUBVAR const unsigned int xmlParserMaxDepth;
|
|
71
66
|
* use XML_PARSE_HUGE option to override it.
|
72
67
|
* Introduced in 2.9.0
|
73
68
|
*/
|
74
|
-
#define XML_MAX_DICTIONARY_LIMIT
|
69
|
+
#define XML_MAX_DICTIONARY_LIMIT 100000000
|
75
70
|
|
76
71
|
/**
|
77
72
|
* XML_MAX_LOOKUP_LIMIT:
|
@@ -91,14 +86,6 @@ XMLPUBVAR const unsigned int xmlParserMaxDepth;
|
|
91
86
|
*/
|
92
87
|
#define XML_MAX_NAMELEN 100
|
93
88
|
|
94
|
-
/**
|
95
|
-
* INPUT_CHUNK:
|
96
|
-
*
|
97
|
-
* The parser tries to always have that amount of input ready.
|
98
|
-
* One of the point is providing context when reporting errors.
|
99
|
-
*/
|
100
|
-
#define INPUT_CHUNK 250
|
101
|
-
|
102
89
|
/************************************************************************
|
103
90
|
* *
|
104
91
|
* UNICODE version of the macros. *
|
@@ -258,8 +245,8 @@ XMLPUBVAR const unsigned int xmlParserMaxDepth;
|
|
258
245
|
* Macro to check [a-zA-Z]
|
259
246
|
*
|
260
247
|
*/
|
261
|
-
#define IS_ASCII_LETTER(c) ((
|
262
|
-
|
248
|
+
#define IS_ASCII_LETTER(c) ((0x61 <= ((c) | 0x20)) && \
|
249
|
+
(((c) | 0x20) <= 0x7a))
|
263
250
|
|
264
251
|
/**
|
265
252
|
* IS_ASCII_DIGIT:
|
@@ -294,11 +281,10 @@ XMLPUBVAR const unsigned int xmlParserMaxDepth;
|
|
294
281
|
*/
|
295
282
|
XMLPUBVAR const xmlChar xmlStringText[];
|
296
283
|
XMLPUBVAR const xmlChar xmlStringTextNoenc[];
|
284
|
+
XML_DEPRECATED
|
297
285
|
XMLPUBVAR const xmlChar xmlStringComment[];
|
298
286
|
|
299
|
-
|
300
|
-
* Function to finish the work of the macros where needed.
|
301
|
-
*/
|
287
|
+
XML_DEPRECATED
|
302
288
|
XMLPUBFUN int xmlIsLetter (int c);
|
303
289
|
|
304
290
|
/**
|
@@ -312,6 +298,7 @@ XMLPUBFUN xmlParserCtxtPtr
|
|
312
298
|
XMLPUBFUN xmlParserCtxtPtr
|
313
299
|
xmlCreateMemoryParserCtxt(const char *buffer,
|
314
300
|
int size);
|
301
|
+
XML_DEPRECATED
|
315
302
|
XMLPUBFUN xmlParserCtxtPtr
|
316
303
|
xmlCreateEntityParserCtxt(const xmlChar *URL,
|
317
304
|
const xmlChar *ID,
|
@@ -343,9 +330,16 @@ XML_DEPRECATED
|
|
343
330
|
XMLPUBFUN xmlParserInputPtr
|
344
331
|
xmlNewEntityInputStream (xmlParserCtxtPtr ctxt,
|
345
332
|
xmlEntityPtr entity);
|
333
|
+
XMLPUBFUN int
|
334
|
+
xmlCtxtPushInput (xmlParserCtxtPtr ctxt,
|
335
|
+
xmlParserInputPtr input);
|
336
|
+
XMLPUBFUN xmlParserInputPtr
|
337
|
+
xmlCtxtPopInput (xmlParserCtxtPtr ctxt);
|
338
|
+
XML_DEPRECATED
|
346
339
|
XMLPUBFUN int
|
347
340
|
xmlPushInput (xmlParserCtxtPtr ctxt,
|
348
341
|
xmlParserInputPtr input);
|
342
|
+
XML_DEPRECATED
|
349
343
|
XMLPUBFUN xmlChar
|
350
344
|
xmlPopInput (xmlParserCtxtPtr ctxt);
|
351
345
|
XMLPUBFUN void
|
@@ -511,6 +505,7 @@ XMLPUBFUN void
|
|
511
505
|
XML_DEPRECATED
|
512
506
|
XMLPUBFUN void
|
513
507
|
xmlParseMisc (xmlParserCtxtPtr ctxt);
|
508
|
+
XML_DEPRECATED
|
514
509
|
XMLPUBFUN void
|
515
510
|
xmlParseExternalSubset (xmlParserCtxtPtr ctxt,
|
516
511
|
const xmlChar *ExternalID,
|
@@ -558,23 +553,6 @@ XMLPUBFUN xmlChar *
|
|
558
553
|
xmlChar end2,
|
559
554
|
xmlChar end3);
|
560
555
|
|
561
|
-
/*
|
562
|
-
* Generated by MACROS on top of parser.c c.f. PUSH_AND_POP.
|
563
|
-
*/
|
564
|
-
XML_DEPRECATED
|
565
|
-
XMLPUBFUN int nodePush (xmlParserCtxtPtr ctxt,
|
566
|
-
xmlNodePtr value);
|
567
|
-
XML_DEPRECATED
|
568
|
-
XMLPUBFUN xmlNodePtr nodePop (xmlParserCtxtPtr ctxt);
|
569
|
-
XMLPUBFUN int inputPush (xmlParserCtxtPtr ctxt,
|
570
|
-
xmlParserInputPtr value);
|
571
|
-
XMLPUBFUN xmlParserInputPtr inputPop (xmlParserCtxtPtr ctxt);
|
572
|
-
XML_DEPRECATED
|
573
|
-
XMLPUBFUN const xmlChar * namePop (xmlParserCtxtPtr ctxt);
|
574
|
-
XML_DEPRECATED
|
575
|
-
XMLPUBFUN int namePush (xmlParserCtxtPtr ctxt,
|
576
|
-
const xmlChar *value);
|
577
|
-
|
578
556
|
/*
|
579
557
|
* other commodities shared between parser.c and parserInternals.
|
580
558
|
*/
|
@@ -595,8 +573,10 @@ XMLPUBFUN int xmlCheckLanguageID (const xmlChar *lang);
|
|
595
573
|
XML_DEPRECATED
|
596
574
|
XMLPUBFUN int xmlCurrentChar (xmlParserCtxtPtr ctxt,
|
597
575
|
int *len);
|
576
|
+
XML_DEPRECATED
|
598
577
|
XMLPUBFUN int xmlCopyCharMultiByte (xmlChar *out,
|
599
578
|
int val);
|
579
|
+
XML_DEPRECATED
|
600
580
|
XMLPUBFUN int xmlCopyChar (int len,
|
601
581
|
xmlChar *out,
|
602
582
|
int val);
|
@@ -605,66 +585,6 @@ XMLPUBFUN void xmlNextChar (xmlParserCtxtPtr ctxt);
|
|
605
585
|
XML_DEPRECATED
|
606
586
|
XMLPUBFUN void xmlParserInputShrink (xmlParserInputPtr in);
|
607
587
|
|
608
|
-
/*
|
609
|
-
* Specific function to keep track of entities references
|
610
|
-
* and used by the XSLT debugger.
|
611
|
-
*/
|
612
|
-
#ifdef LIBXML_LEGACY_ENABLED
|
613
|
-
/**
|
614
|
-
* xmlEntityReferenceFunc:
|
615
|
-
* @ent: the entity
|
616
|
-
* @firstNode: the fist node in the chunk
|
617
|
-
* @lastNode: the last nod in the chunk
|
618
|
-
*
|
619
|
-
* Callback function used when one needs to be able to track back the
|
620
|
-
* provenance of a chunk of nodes inherited from an entity replacement.
|
621
|
-
*/
|
622
|
-
typedef void (*xmlEntityReferenceFunc) (xmlEntityPtr ent,
|
623
|
-
xmlNodePtr firstNode,
|
624
|
-
xmlNodePtr lastNode);
|
625
|
-
|
626
|
-
XML_DEPRECATED
|
627
|
-
XMLPUBFUN void xmlSetEntityReferenceFunc (xmlEntityReferenceFunc func);
|
628
|
-
|
629
|
-
XML_DEPRECATED
|
630
|
-
XMLPUBFUN xmlChar *
|
631
|
-
xmlParseQuotedString (xmlParserCtxtPtr ctxt);
|
632
|
-
XML_DEPRECATED
|
633
|
-
XMLPUBFUN void
|
634
|
-
xmlParseNamespace (xmlParserCtxtPtr ctxt);
|
635
|
-
XML_DEPRECATED
|
636
|
-
XMLPUBFUN xmlChar *
|
637
|
-
xmlNamespaceParseNSDef (xmlParserCtxtPtr ctxt);
|
638
|
-
XML_DEPRECATED
|
639
|
-
XMLPUBFUN xmlChar *
|
640
|
-
xmlScanName (xmlParserCtxtPtr ctxt);
|
641
|
-
XML_DEPRECATED
|
642
|
-
XMLPUBFUN xmlChar *
|
643
|
-
xmlNamespaceParseNCName (xmlParserCtxtPtr ctxt);
|
644
|
-
XML_DEPRECATED
|
645
|
-
XMLPUBFUN void xmlParserHandleReference(xmlParserCtxtPtr ctxt);
|
646
|
-
XML_DEPRECATED
|
647
|
-
XMLPUBFUN xmlChar *
|
648
|
-
xmlNamespaceParseQName (xmlParserCtxtPtr ctxt,
|
649
|
-
xmlChar **prefix);
|
650
|
-
/**
|
651
|
-
* Entities
|
652
|
-
*/
|
653
|
-
XML_DEPRECATED
|
654
|
-
XMLPUBFUN xmlChar *
|
655
|
-
xmlDecodeEntities (xmlParserCtxtPtr ctxt,
|
656
|
-
int len,
|
657
|
-
int what,
|
658
|
-
xmlChar end,
|
659
|
-
xmlChar end2,
|
660
|
-
xmlChar end3);
|
661
|
-
XML_DEPRECATED
|
662
|
-
XMLPUBFUN void
|
663
|
-
xmlHandleEntity (xmlParserCtxtPtr ctxt,
|
664
|
-
xmlEntityPtr entity);
|
665
|
-
|
666
|
-
#endif /* LIBXML_LEGACY_ENABLED */
|
667
|
-
|
668
588
|
#ifdef __cplusplus
|
669
589
|
}
|
670
590
|
#endif
|
lxml/includes/libxml/relaxng.h
CHANGED
@@ -14,8 +14,9 @@
|
|
14
14
|
#include <libxml/xmlerror.h>
|
15
15
|
#include <libxml/xmlstring.h>
|
16
16
|
#include <libxml/tree.h>
|
17
|
+
#include <libxml/parser.h>
|
17
18
|
|
18
|
-
#ifdef
|
19
|
+
#ifdef LIBXML_RELAXNG_ENABLED
|
19
20
|
|
20
21
|
#ifdef __cplusplus
|
21
22
|
extern "C" {
|
@@ -155,6 +156,10 @@ XMLPUBFUN void
|
|
155
156
|
xmlRelaxNGParserCtxtPtr ctxt,
|
156
157
|
xmlStructuredErrorFunc serror,
|
157
158
|
void *ctx);
|
159
|
+
XMLPUBFUN void
|
160
|
+
xmlRelaxNGSetResourceLoader (xmlRelaxNGParserCtxtPtr ctxt,
|
161
|
+
xmlResourceLoader loader,
|
162
|
+
void *vctxt);
|
158
163
|
XMLPUBFUN xmlRelaxNGPtr
|
159
164
|
xmlRelaxNGParse (xmlRelaxNGParserCtxtPtr ctxt);
|
160
165
|
XMLPUBFUN void
|
@@ -214,6 +219,6 @@ XMLPUBFUN int
|
|
214
219
|
}
|
215
220
|
#endif
|
216
221
|
|
217
|
-
#endif /*
|
222
|
+
#endif /* LIBXML_RELAXNG_ENABLED */
|
218
223
|
|
219
224
|
#endif /* __XML_RELAX_NG__ */
|
lxml/includes/libxml/threads.h
CHANGED
lxml/includes/libxml/tree.h
CHANGED
@@ -32,6 +32,12 @@
|
|
32
32
|
extern "C" {
|
33
33
|
#endif
|
34
34
|
|
35
|
+
/*
|
36
|
+
* Backward compatibility
|
37
|
+
*/
|
38
|
+
#define xmlBufferAllocScheme XML_BUFFER_ALLOC_EXACT
|
39
|
+
#define xmlDefaultBufferSize 4096
|
40
|
+
|
35
41
|
/*
|
36
42
|
* Some of the basic types pointer to structures:
|
37
43
|
*/
|
@@ -59,13 +65,6 @@ typedef xmlSAXHandler *xmlSAXHandlerPtr;
|
|
59
65
|
typedef struct _xmlEntity xmlEntity;
|
60
66
|
typedef xmlEntity *xmlEntityPtr;
|
61
67
|
|
62
|
-
/**
|
63
|
-
* BASE_BUFFER_SIZE:
|
64
|
-
*
|
65
|
-
* default buffer size 4000.
|
66
|
-
*/
|
67
|
-
#define BASE_BUFFER_SIZE 4096
|
68
|
-
|
69
68
|
/**
|
70
69
|
* LIBXML_NAMESPACE_DICT:
|
71
70
|
*
|
@@ -100,11 +99,16 @@ typedef enum {
|
|
100
99
|
typedef struct _xmlBuffer xmlBuffer;
|
101
100
|
typedef xmlBuffer *xmlBufferPtr;
|
102
101
|
struct _xmlBuffer {
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
102
|
+
/* The buffer content UTF8 */
|
103
|
+
xmlChar *content XML_DEPRECATED_MEMBER;
|
104
|
+
/* The buffer size used */
|
105
|
+
unsigned int use XML_DEPRECATED_MEMBER;
|
106
|
+
/* The buffer size */
|
107
|
+
unsigned int size XML_DEPRECATED_MEMBER;
|
108
|
+
/* The realloc method */
|
109
|
+
xmlBufferAllocationScheme alloc XML_DEPRECATED_MEMBER;
|
110
|
+
/* in IO mode we may have a different base */
|
111
|
+
xmlChar *contentIO XML_DEPRECATED_MEMBER;
|
108
112
|
};
|
109
113
|
|
110
114
|
/**
|
@@ -674,24 +678,16 @@ typedef void (*xmlDeregisterNodeFunc) (xmlNodePtr node);
|
|
674
678
|
*/
|
675
679
|
|
676
680
|
/** DOC_DISABLE */
|
677
|
-
|
678
|
-
|
679
|
-
|
680
|
-
|
681
|
-
|
682
|
-
|
683
|
-
|
684
|
-
#define XML_OP XML_DECLARE_GLOBAL
|
685
|
-
XML_GLOBALS_TREE
|
686
|
-
#undef XML_OP
|
687
|
-
|
688
|
-
#if defined(LIBXML_THREAD_ENABLED) && !defined(XML_GLOBALS_NO_REDEFINITION)
|
689
|
-
#define xmlBufferAllocScheme XML_GLOBAL_MACRO(xmlBufferAllocScheme)
|
690
|
-
#define xmlDefaultBufferSize XML_GLOBAL_MACRO(xmlDefaultBufferSize)
|
681
|
+
XML_DEPRECATED
|
682
|
+
XMLPUBFUN xmlRegisterNodeFunc *__xmlRegisterNodeDefaultValue(void);
|
683
|
+
XML_DEPRECATED
|
684
|
+
XMLPUBFUN xmlDeregisterNodeFunc *__xmlDeregisterNodeDefaultValue(void);
|
685
|
+
|
686
|
+
#ifndef XML_GLOBALS_NO_REDEFINITION
|
691
687
|
#define xmlRegisterNodeDefaultValue \
|
692
|
-
|
688
|
+
(*__xmlRegisterNodeDefaultValue())
|
693
689
|
#define xmlDeregisterNodeDefaultValue \
|
694
|
-
|
690
|
+
(*__xmlDeregisterNodeDefaultValue())
|
695
691
|
#endif
|
696
692
|
/** DOC_ENABLE */
|
697
693
|
|
@@ -702,7 +698,6 @@ XMLPUBFUN int
|
|
702
698
|
xmlValidateNCName (const xmlChar *value,
|
703
699
|
int space);
|
704
700
|
|
705
|
-
#if defined(LIBXML_TREE_ENABLED) || defined(LIBXML_SCHEMAS_ENABLED)
|
706
701
|
XMLPUBFUN int
|
707
702
|
xmlValidateQName (const xmlChar *value,
|
708
703
|
int space);
|
@@ -712,7 +707,6 @@ XMLPUBFUN int
|
|
712
707
|
XMLPUBFUN int
|
713
708
|
xmlValidateNMToken (const xmlChar *value,
|
714
709
|
int space);
|
715
|
-
#endif
|
716
710
|
|
717
711
|
XMLPUBFUN xmlChar *
|
718
712
|
xmlBuildQName (const xmlChar *ncname,
|
@@ -730,8 +724,10 @@ XMLPUBFUN const xmlChar *
|
|
730
724
|
* Handling Buffers, the old ones see @xmlBuf for the new ones.
|
731
725
|
*/
|
732
726
|
|
727
|
+
XML_DEPRECATED
|
733
728
|
XMLPUBFUN void
|
734
729
|
xmlSetBufferAllocationScheme(xmlBufferAllocationScheme scheme);
|
730
|
+
XML_DEPRECATED
|
735
731
|
XMLPUBFUN xmlBufferAllocationScheme
|
736
732
|
xmlGetBufferAllocationScheme(void);
|
737
733
|
|
@@ -742,6 +738,7 @@ XMLPUBFUN xmlBufferPtr
|
|
742
738
|
XMLPUBFUN xmlBufferPtr
|
743
739
|
xmlBufferCreateStatic (void *mem,
|
744
740
|
size_t size);
|
741
|
+
XML_DEPRECATED
|
745
742
|
XMLPUBFUN int
|
746
743
|
xmlBufferResize (xmlBufferPtr buf,
|
747
744
|
unsigned int size);
|
@@ -764,9 +761,11 @@ XMLPUBFUN int
|
|
764
761
|
XMLPUBFUN int
|
765
762
|
xmlBufferCCat (xmlBufferPtr buf,
|
766
763
|
const char *str);
|
764
|
+
XML_DEPRECATED
|
767
765
|
XMLPUBFUN int
|
768
766
|
xmlBufferShrink (xmlBufferPtr buf,
|
769
767
|
unsigned int len);
|
768
|
+
XML_DEPRECATED
|
770
769
|
XMLPUBFUN int
|
771
770
|
xmlBufferGrow (xmlBufferPtr buf,
|
772
771
|
unsigned int len);
|
@@ -799,13 +798,6 @@ XMLPUBFUN xmlDtdPtr
|
|
799
798
|
xmlGetIntSubset (const xmlDoc *doc);
|
800
799
|
XMLPUBFUN void
|
801
800
|
xmlFreeDtd (xmlDtdPtr cur);
|
802
|
-
#ifdef LIBXML_LEGACY_ENABLED
|
803
|
-
XML_DEPRECATED
|
804
|
-
XMLPUBFUN xmlNsPtr
|
805
|
-
xmlNewGlobalNs (xmlDocPtr doc,
|
806
|
-
const xmlChar *href,
|
807
|
-
const xmlChar *prefix);
|
808
|
-
#endif /* LIBXML_LEGACY_ENABLED */
|
809
801
|
XMLPUBFUN xmlNsPtr
|
810
802
|
xmlNewNs (xmlNodePtr node,
|
811
803
|
const xmlChar *href,
|
@@ -822,13 +814,10 @@ XMLPUBFUN xmlAttrPtr
|
|
822
814
|
xmlNewDocProp (xmlDocPtr doc,
|
823
815
|
const xmlChar *name,
|
824
816
|
const xmlChar *value);
|
825
|
-
#if defined(LIBXML_TREE_ENABLED) || defined(LIBXML_HTML_ENABLED) || \
|
826
|
-
defined(LIBXML_SCHEMAS_ENABLED)
|
827
817
|
XMLPUBFUN xmlAttrPtr
|
828
818
|
xmlNewProp (xmlNodePtr node,
|
829
819
|
const xmlChar *name,
|
830
820
|
const xmlChar *value);
|
831
|
-
#endif
|
832
821
|
XMLPUBFUN xmlAttrPtr
|
833
822
|
xmlNewNsProp (xmlNodePtr node,
|
834
823
|
xmlNsPtr ns,
|
@@ -849,15 +838,11 @@ XMLPUBFUN xmlAttrPtr
|
|
849
838
|
XMLPUBFUN xmlAttrPtr
|
850
839
|
xmlCopyPropList (xmlNodePtr target,
|
851
840
|
xmlAttrPtr cur);
|
852
|
-
#ifdef LIBXML_TREE_ENABLED
|
853
841
|
XMLPUBFUN xmlDtdPtr
|
854
842
|
xmlCopyDtd (xmlDtdPtr dtd);
|
855
|
-
#endif /* LIBXML_TREE_ENABLED */
|
856
|
-
#if defined(LIBXML_TREE_ENABLED) || defined(LIBXML_SCHEMAS_ENABLED)
|
857
843
|
XMLPUBFUN xmlDocPtr
|
858
844
|
xmlCopyDoc (xmlDocPtr doc,
|
859
845
|
int recursive);
|
860
|
-
#endif /* defined(LIBXML_TREE_ENABLED) || defined(LIBXML_SCHEMAS_ENABLED) */
|
861
846
|
/*
|
862
847
|
* Creating new nodes.
|
863
848
|
*/
|
@@ -877,13 +862,11 @@ XMLPUBFUN xmlNodePtr
|
|
877
862
|
XMLPUBFUN xmlNodePtr
|
878
863
|
xmlNewNodeEatName (xmlNsPtr ns,
|
879
864
|
xmlChar *name);
|
880
|
-
#if defined(LIBXML_TREE_ENABLED) || defined(LIBXML_SCHEMAS_ENABLED)
|
881
865
|
XMLPUBFUN xmlNodePtr
|
882
866
|
xmlNewChild (xmlNodePtr parent,
|
883
867
|
xmlNsPtr ns,
|
884
868
|
const xmlChar *name,
|
885
869
|
const xmlChar *content);
|
886
|
-
#endif
|
887
870
|
XMLPUBFUN xmlNodePtr
|
888
871
|
xmlNewDocText (const xmlDoc *doc,
|
889
872
|
const xmlChar *content);
|
@@ -930,7 +913,6 @@ XMLPUBFUN xmlNodePtr
|
|
930
913
|
xmlNodePtr node);
|
931
914
|
XMLPUBFUN xmlNodePtr
|
932
915
|
xmlCopyNodeList (xmlNodePtr node);
|
933
|
-
#ifdef LIBXML_TREE_ENABLED
|
934
916
|
XMLPUBFUN xmlNodePtr
|
935
917
|
xmlNewTextChild (xmlNodePtr parent,
|
936
918
|
xmlNsPtr ns,
|
@@ -943,17 +925,14 @@ XMLPUBFUN xmlNodePtr
|
|
943
925
|
const xmlChar *content);
|
944
926
|
XMLPUBFUN xmlNodePtr
|
945
927
|
xmlNewDocFragment (xmlDocPtr doc);
|
946
|
-
#endif /* LIBXML_TREE_ENABLED */
|
947
928
|
|
948
929
|
/*
|
949
930
|
* Navigating.
|
950
931
|
*/
|
951
932
|
XMLPUBFUN long
|
952
933
|
xmlGetLineNo (const xmlNode *node);
|
953
|
-
#if defined(LIBXML_TREE_ENABLED) || defined(LIBXML_DEBUG_ENABLED)
|
954
934
|
XMLPUBFUN xmlChar *
|
955
935
|
xmlGetNodePath (const xmlNode *node);
|
956
|
-
#endif /* defined(LIBXML_TREE_ENABLED) || defined(LIBXML_DEBUG_ENABLED) */
|
957
936
|
XMLPUBFUN xmlNodePtr
|
958
937
|
xmlDocGetRootElement (const xmlDoc *doc);
|
959
938
|
XMLPUBFUN xmlNodePtr
|
@@ -966,33 +945,24 @@ XMLPUBFUN int
|
|
966
945
|
/*
|
967
946
|
* Changing the structure.
|
968
947
|
*/
|
969
|
-
#if defined(LIBXML_TREE_ENABLED) || defined(LIBXML_WRITER_ENABLED)
|
970
948
|
XMLPUBFUN xmlNodePtr
|
971
949
|
xmlDocSetRootElement (xmlDocPtr doc,
|
972
950
|
xmlNodePtr root);
|
973
|
-
#endif /* defined(LIBXML_TREE_ENABLED) || defined(LIBXML_WRITER_ENABLED) */
|
974
|
-
#ifdef LIBXML_TREE_ENABLED
|
975
951
|
XMLPUBFUN void
|
976
952
|
xmlNodeSetName (xmlNodePtr cur,
|
977
953
|
const xmlChar *name);
|
978
|
-
#endif /* LIBXML_TREE_ENABLED */
|
979
954
|
XMLPUBFUN xmlNodePtr
|
980
955
|
xmlAddChild (xmlNodePtr parent,
|
981
956
|
xmlNodePtr cur);
|
982
957
|
XMLPUBFUN xmlNodePtr
|
983
958
|
xmlAddChildList (xmlNodePtr parent,
|
984
959
|
xmlNodePtr cur);
|
985
|
-
#if defined(LIBXML_TREE_ENABLED) || defined(LIBXML_WRITER_ENABLED)
|
986
960
|
XMLPUBFUN xmlNodePtr
|
987
961
|
xmlReplaceNode (xmlNodePtr old,
|
988
962
|
xmlNodePtr cur);
|
989
|
-
#endif /* defined(LIBXML_TREE_ENABLED) || defined(LIBXML_WRITER_ENABLED) */
|
990
|
-
#if defined(LIBXML_TREE_ENABLED) || defined(LIBXML_HTML_ENABLED) || \
|
991
|
-
defined(LIBXML_SCHEMAS_ENABLED) || defined(LIBXML_XINCLUDE_ENABLED)
|
992
963
|
XMLPUBFUN xmlNodePtr
|
993
964
|
xmlAddPrevSibling (xmlNodePtr cur,
|
994
965
|
xmlNodePtr elem);
|
995
|
-
#endif /* LIBXML_TREE_ENABLED || LIBXML_HTML_ENABLED || LIBXML_SCHEMAS_ENABLED */
|
996
966
|
XMLPUBFUN xmlNodePtr
|
997
967
|
xmlAddSibling (xmlNodePtr cur,
|
998
968
|
xmlNodePtr elem);
|
@@ -1029,8 +999,6 @@ XMLPUBFUN xmlNsPtr
|
|
1029
999
|
xmlSearchNsByHref (xmlDocPtr doc,
|
1030
1000
|
xmlNodePtr node,
|
1031
1001
|
const xmlChar *href);
|
1032
|
-
#if defined(LIBXML_TREE_ENABLED) || defined(LIBXML_XPATH_ENABLED) || \
|
1033
|
-
defined(LIBXML_SCHEMAS_ENABLED)
|
1034
1002
|
XMLPUBFUN int
|
1035
1003
|
xmlGetNsListSafe (const xmlDoc *doc,
|
1036
1004
|
const xmlNode *node,
|
@@ -1038,7 +1006,6 @@ XMLPUBFUN int
|
|
1038
1006
|
XMLPUBFUN xmlNsPtr *
|
1039
1007
|
xmlGetNsList (const xmlDoc *doc,
|
1040
1008
|
const xmlNode *node);
|
1041
|
-
#endif /* defined(LIBXML_TREE_ENABLED) || defined(LIBXML_XPATH_ENABLED) */
|
1042
1009
|
|
1043
1010
|
XMLPUBFUN void
|
1044
1011
|
xmlSetNs (xmlNodePtr node,
|
@@ -1051,8 +1018,6 @@ XMLPUBFUN xmlNsPtr
|
|
1051
1018
|
/*
|
1052
1019
|
* Changing the content.
|
1053
1020
|
*/
|
1054
|
-
#if defined(LIBXML_TREE_ENABLED) || defined(LIBXML_XINCLUDE_ENABLED) || \
|
1055
|
-
defined(LIBXML_SCHEMAS_ENABLED) || defined(LIBXML_HTML_ENABLED)
|
1056
1021
|
XMLPUBFUN xmlAttrPtr
|
1057
1022
|
xmlSetProp (xmlNodePtr node,
|
1058
1023
|
const xmlChar *name,
|
@@ -1062,8 +1027,6 @@ XMLPUBFUN xmlAttrPtr
|
|
1062
1027
|
xmlNsPtr ns,
|
1063
1028
|
const xmlChar *name,
|
1064
1029
|
const xmlChar *value);
|
1065
|
-
#endif /* defined(LIBXML_TREE_ENABLED) || defined(LIBXML_XINCLUDE_ENABLED) || \
|
1066
|
-
defined(LIBXML_SCHEMAS_ENABLED) || defined(LIBXML_HTML_ENABLED) */
|
1067
1030
|
XMLPUBFUN int
|
1068
1031
|
xmlNodeGetAttrValue (const xmlNode *node,
|
1069
1032
|
const xmlChar *name,
|
@@ -1097,21 +1060,17 @@ XMLPUBFUN xmlChar *
|
|
1097
1060
|
xmlNodeListGetString (xmlDocPtr doc,
|
1098
1061
|
const xmlNode *list,
|
1099
1062
|
int inLine);
|
1100
|
-
#ifdef LIBXML_TREE_ENABLED
|
1101
1063
|
XMLPUBFUN xmlChar *
|
1102
1064
|
xmlNodeListGetRawString (const xmlDoc *doc,
|
1103
1065
|
const xmlNode *list,
|
1104
1066
|
int inLine);
|
1105
|
-
#endif /* LIBXML_TREE_ENABLED */
|
1106
1067
|
XMLPUBFUN int
|
1107
1068
|
xmlNodeSetContent (xmlNodePtr cur,
|
1108
1069
|
const xmlChar *content);
|
1109
|
-
#ifdef LIBXML_TREE_ENABLED
|
1110
1070
|
XMLPUBFUN int
|
1111
1071
|
xmlNodeSetContentLen (xmlNodePtr cur,
|
1112
1072
|
const xmlChar *content,
|
1113
1073
|
int len);
|
1114
|
-
#endif /* LIBXML_TREE_ENABLED */
|
1115
1074
|
XMLPUBFUN int
|
1116
1075
|
xmlNodeAddContent (xmlNodePtr cur,
|
1117
1076
|
const xmlChar *content);
|
@@ -1133,14 +1092,12 @@ XMLPUBFUN xmlChar *
|
|
1133
1092
|
xmlNodeGetLang (const xmlNode *cur);
|
1134
1093
|
XMLPUBFUN int
|
1135
1094
|
xmlNodeGetSpacePreserve (const xmlNode *cur);
|
1136
|
-
#ifdef LIBXML_TREE_ENABLED
|
1137
1095
|
XMLPUBFUN int
|
1138
1096
|
xmlNodeSetLang (xmlNodePtr cur,
|
1139
1097
|
const xmlChar *lang);
|
1140
1098
|
XMLPUBFUN int
|
1141
1099
|
xmlNodeSetSpacePreserve (xmlNodePtr cur,
|
1142
1100
|
int val);
|
1143
|
-
#endif /* LIBXML_TREE_ENABLED */
|
1144
1101
|
XMLPUBFUN int
|
1145
1102
|
xmlNodeGetBaseSafe (const xmlDoc *doc,
|
1146
1103
|
const xmlNode *cur,
|
@@ -1148,18 +1105,15 @@ XMLPUBFUN int
|
|
1148
1105
|
XMLPUBFUN xmlChar *
|
1149
1106
|
xmlNodeGetBase (const xmlDoc *doc,
|
1150
1107
|
const xmlNode *cur);
|
1151
|
-
#if defined(LIBXML_TREE_ENABLED) || defined(LIBXML_XINCLUDE_ENABLED)
|
1152
1108
|
XMLPUBFUN int
|
1153
1109
|
xmlNodeSetBase (xmlNodePtr cur,
|
1154
1110
|
const xmlChar *uri);
|
1155
|
-
#endif
|
1156
1111
|
|
1157
1112
|
/*
|
1158
1113
|
* Removing content.
|
1159
1114
|
*/
|
1160
1115
|
XMLPUBFUN int
|
1161
1116
|
xmlRemoveProp (xmlAttrPtr cur);
|
1162
|
-
#if defined(LIBXML_TREE_ENABLED) || defined(LIBXML_SCHEMAS_ENABLED)
|
1163
1117
|
XMLPUBFUN int
|
1164
1118
|
xmlUnsetNsProp (xmlNodePtr node,
|
1165
1119
|
xmlNsPtr ns,
|
@@ -1167,7 +1121,6 @@ XMLPUBFUN int
|
|
1167
1121
|
XMLPUBFUN int
|
1168
1122
|
xmlUnsetProp (xmlNodePtr node,
|
1169
1123
|
const xmlChar *name);
|
1170
|
-
#endif /* defined(LIBXML_TREE_ENABLED) || defined(LIBXML_SCHEMAS_ENABLED) */
|
1171
1124
|
|
1172
1125
|
/*
|
1173
1126
|
* Internal, don't use.
|
@@ -1189,14 +1142,12 @@ XMLPUBFUN void xmlAttrSerializeTxtContent(xmlBufferPtr buf,
|
|
1189
1142
|
const xmlChar *string);
|
1190
1143
|
#endif /* LIBXML_OUTPUT_ENABLED */
|
1191
1144
|
|
1192
|
-
#ifdef LIBXML_TREE_ENABLED
|
1193
1145
|
/*
|
1194
1146
|
* Namespace handling.
|
1195
1147
|
*/
|
1196
1148
|
XMLPUBFUN int
|
1197
1149
|
xmlReconciliateNs (xmlDocPtr doc,
|
1198
1150
|
xmlNodePtr tree);
|
1199
|
-
#endif
|
1200
1151
|
|
1201
1152
|
#ifdef LIBXML_OUTPUT_ENABLED
|
1202
1153
|
/*
|
@@ -1337,7 +1288,6 @@ XMLPUBFUN int
|
|
1337
1288
|
int deep,
|
1338
1289
|
int options);
|
1339
1290
|
|
1340
|
-
#ifdef LIBXML_TREE_ENABLED
|
1341
1291
|
/*
|
1342
1292
|
* 5 interfaces from DOM ElementTraversal, but different in entities
|
1343
1293
|
* traversal.
|
@@ -1352,7 +1302,6 @@ XMLPUBFUN xmlNodePtr
|
|
1352
1302
|
xmlLastElementChild (xmlNodePtr parent);
|
1353
1303
|
XMLPUBFUN xmlNodePtr
|
1354
1304
|
xmlPreviousElementSibling (xmlNodePtr node);
|
1355
|
-
#endif
|
1356
1305
|
|
1357
1306
|
XML_DEPRECATED
|
1358
1307
|
XMLPUBFUN xmlRegisterNodeFunc
|
@@ -1367,11 +1316,6 @@ XML_DEPRECATED
|
|
1367
1316
|
XMLPUBFUN xmlDeregisterNodeFunc
|
1368
1317
|
xmlThrDefDeregisterNodeDefault(xmlDeregisterNodeFunc func);
|
1369
1318
|
|
1370
|
-
XML_DEPRECATED XMLPUBFUN xmlBufferAllocationScheme
|
1371
|
-
xmlThrDefBufferAllocScheme (xmlBufferAllocationScheme v);
|
1372
|
-
XML_DEPRECATED XMLPUBFUN int
|
1373
|
-
xmlThrDefDefaultBufferSize (int v);
|
1374
|
-
|
1375
1319
|
#ifdef __cplusplus
|
1376
1320
|
}
|
1377
1321
|
#endif
|