lxml 6.0.0__cp39-cp39-manylinux_2_31_armv7l.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.
Files changed (174) hide show
  1. lxml/ElementInclude.py +244 -0
  2. lxml/__init__.py +22 -0
  3. lxml/_elementpath.cpython-39-arm-linux-gnueabihf.so +0 -0
  4. lxml/_elementpath.py +343 -0
  5. lxml/apihelpers.pxi +1801 -0
  6. lxml/builder.cpython-39-arm-linux-gnueabihf.so +0 -0
  7. lxml/builder.py +243 -0
  8. lxml/classlookup.pxi +580 -0
  9. lxml/cleanup.pxi +215 -0
  10. lxml/cssselect.py +101 -0
  11. lxml/debug.pxi +36 -0
  12. lxml/docloader.pxi +178 -0
  13. lxml/doctestcompare.py +488 -0
  14. lxml/dtd.pxi +479 -0
  15. lxml/etree.cpython-39-arm-linux-gnueabihf.so +0 -0
  16. lxml/etree.h +244 -0
  17. lxml/etree.pyx +3853 -0
  18. lxml/etree_api.h +204 -0
  19. lxml/extensions.pxi +830 -0
  20. lxml/html/ElementSoup.py +10 -0
  21. lxml/html/__init__.py +1927 -0
  22. lxml/html/_diffcommand.py +86 -0
  23. lxml/html/_difflib.cpython-39-arm-linux-gnueabihf.so +0 -0
  24. lxml/html/_difflib.py +2106 -0
  25. lxml/html/_html5builder.py +100 -0
  26. lxml/html/_setmixin.py +56 -0
  27. lxml/html/builder.py +173 -0
  28. lxml/html/clean.py +21 -0
  29. lxml/html/defs.py +135 -0
  30. lxml/html/diff.cpython-39-arm-linux-gnueabihf.so +0 -0
  31. lxml/html/diff.py +972 -0
  32. lxml/html/formfill.py +299 -0
  33. lxml/html/html5parser.py +260 -0
  34. lxml/html/soupparser.py +314 -0
  35. lxml/html/usedoctest.py +13 -0
  36. lxml/includes/__init__.pxd +0 -0
  37. lxml/includes/__init__.py +0 -0
  38. lxml/includes/c14n.pxd +25 -0
  39. lxml/includes/config.pxd +3 -0
  40. lxml/includes/dtdvalid.pxd +18 -0
  41. lxml/includes/etree_defs.h +379 -0
  42. lxml/includes/etreepublic.pxd +237 -0
  43. lxml/includes/extlibs/__init__.py +0 -0
  44. lxml/includes/extlibs/libcharset.h +45 -0
  45. lxml/includes/extlibs/localcharset.h +137 -0
  46. lxml/includes/extlibs/zconf.h +543 -0
  47. lxml/includes/extlibs/zlib.h +1938 -0
  48. lxml/includes/htmlparser.pxd +56 -0
  49. lxml/includes/libexslt/__init__.py +0 -0
  50. lxml/includes/libexslt/exslt.h +108 -0
  51. lxml/includes/libexslt/exsltconfig.h +70 -0
  52. lxml/includes/libexslt/exsltexports.h +63 -0
  53. lxml/includes/libxml/HTMLparser.h +339 -0
  54. lxml/includes/libxml/HTMLtree.h +148 -0
  55. lxml/includes/libxml/SAX.h +18 -0
  56. lxml/includes/libxml/SAX2.h +170 -0
  57. lxml/includes/libxml/__init__.py +0 -0
  58. lxml/includes/libxml/c14n.h +115 -0
  59. lxml/includes/libxml/catalog.h +183 -0
  60. lxml/includes/libxml/chvalid.h +230 -0
  61. lxml/includes/libxml/debugXML.h +79 -0
  62. lxml/includes/libxml/dict.h +82 -0
  63. lxml/includes/libxml/encoding.h +307 -0
  64. lxml/includes/libxml/entities.h +147 -0
  65. lxml/includes/libxml/globals.h +25 -0
  66. lxml/includes/libxml/hash.h +251 -0
  67. lxml/includes/libxml/list.h +137 -0
  68. lxml/includes/libxml/nanoftp.h +16 -0
  69. lxml/includes/libxml/nanohttp.h +98 -0
  70. lxml/includes/libxml/parser.h +1633 -0
  71. lxml/includes/libxml/parserInternals.h +591 -0
  72. lxml/includes/libxml/relaxng.h +224 -0
  73. lxml/includes/libxml/schemasInternals.h +959 -0
  74. lxml/includes/libxml/schematron.h +143 -0
  75. lxml/includes/libxml/threads.h +81 -0
  76. lxml/includes/libxml/tree.h +1326 -0
  77. lxml/includes/libxml/uri.h +106 -0
  78. lxml/includes/libxml/valid.h +485 -0
  79. lxml/includes/libxml/xinclude.h +141 -0
  80. lxml/includes/libxml/xlink.h +193 -0
  81. lxml/includes/libxml/xmlIO.h +419 -0
  82. lxml/includes/libxml/xmlautomata.h +163 -0
  83. lxml/includes/libxml/xmlerror.h +962 -0
  84. lxml/includes/libxml/xmlexports.h +96 -0
  85. lxml/includes/libxml/xmlmemory.h +188 -0
  86. lxml/includes/libxml/xmlmodule.h +61 -0
  87. lxml/includes/libxml/xmlreader.h +444 -0
  88. lxml/includes/libxml/xmlregexp.h +116 -0
  89. lxml/includes/libxml/xmlsave.h +111 -0
  90. lxml/includes/libxml/xmlschemas.h +254 -0
  91. lxml/includes/libxml/xmlschemastypes.h +152 -0
  92. lxml/includes/libxml/xmlstring.h +140 -0
  93. lxml/includes/libxml/xmlunicode.h +15 -0
  94. lxml/includes/libxml/xmlversion.h +332 -0
  95. lxml/includes/libxml/xmlwriter.h +489 -0
  96. lxml/includes/libxml/xpath.h +569 -0
  97. lxml/includes/libxml/xpathInternals.h +639 -0
  98. lxml/includes/libxml/xpointer.h +48 -0
  99. lxml/includes/libxslt/__init__.py +0 -0
  100. lxml/includes/libxslt/attributes.h +39 -0
  101. lxml/includes/libxslt/documents.h +93 -0
  102. lxml/includes/libxslt/extensions.h +262 -0
  103. lxml/includes/libxslt/extra.h +72 -0
  104. lxml/includes/libxslt/functions.h +78 -0
  105. lxml/includes/libxslt/imports.h +75 -0
  106. lxml/includes/libxslt/keys.h +53 -0
  107. lxml/includes/libxslt/namespaces.h +68 -0
  108. lxml/includes/libxslt/numbersInternals.h +73 -0
  109. lxml/includes/libxslt/pattern.h +84 -0
  110. lxml/includes/libxslt/preproc.h +43 -0
  111. lxml/includes/libxslt/security.h +104 -0
  112. lxml/includes/libxslt/templates.h +77 -0
  113. lxml/includes/libxslt/transform.h +207 -0
  114. lxml/includes/libxslt/variables.h +118 -0
  115. lxml/includes/libxslt/xslt.h +110 -0
  116. lxml/includes/libxslt/xsltInternals.h +1995 -0
  117. lxml/includes/libxslt/xsltconfig.h +146 -0
  118. lxml/includes/libxslt/xsltexports.h +64 -0
  119. lxml/includes/libxslt/xsltlocale.h +44 -0
  120. lxml/includes/libxslt/xsltutils.h +343 -0
  121. lxml/includes/lxml-version.h +3 -0
  122. lxml/includes/relaxng.pxd +64 -0
  123. lxml/includes/schematron.pxd +34 -0
  124. lxml/includes/tree.pxd +492 -0
  125. lxml/includes/uri.pxd +5 -0
  126. lxml/includes/xinclude.pxd +22 -0
  127. lxml/includes/xmlerror.pxd +852 -0
  128. lxml/includes/xmlparser.pxd +303 -0
  129. lxml/includes/xmlschema.pxd +35 -0
  130. lxml/includes/xpath.pxd +136 -0
  131. lxml/includes/xslt.pxd +190 -0
  132. lxml/isoschematron/__init__.py +348 -0
  133. lxml/isoschematron/resources/rng/iso-schematron.rng +709 -0
  134. lxml/isoschematron/resources/xsl/RNG2Schtrn.xsl +75 -0
  135. lxml/isoschematron/resources/xsl/XSD2Schtrn.xsl +77 -0
  136. lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_abstract_expand.xsl +313 -0
  137. lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_dsdl_include.xsl +1160 -0
  138. lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_message.xsl +55 -0
  139. lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_skeleton_for_xslt1.xsl +1796 -0
  140. lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_svrl_for_xslt1.xsl +588 -0
  141. lxml/isoschematron/resources/xsl/iso-schematron-xslt1/readme.txt +84 -0
  142. lxml/iterparse.pxi +438 -0
  143. lxml/lxml.etree.h +244 -0
  144. lxml/lxml.etree_api.h +204 -0
  145. lxml/nsclasses.pxi +281 -0
  146. lxml/objectify.cpython-39-arm-linux-gnueabihf.so +0 -0
  147. lxml/objectify.pyx +2149 -0
  148. lxml/objectpath.pxi +332 -0
  149. lxml/parser.pxi +2059 -0
  150. lxml/parsertarget.pxi +180 -0
  151. lxml/proxy.pxi +619 -0
  152. lxml/public-api.pxi +178 -0
  153. lxml/pyclasslookup.py +3 -0
  154. lxml/readonlytree.pxi +565 -0
  155. lxml/relaxng.pxi +165 -0
  156. lxml/sax.cpython-39-arm-linux-gnueabihf.so +0 -0
  157. lxml/sax.py +286 -0
  158. lxml/saxparser.pxi +875 -0
  159. lxml/schematron.pxi +173 -0
  160. lxml/serializer.pxi +1849 -0
  161. lxml/usedoctest.py +13 -0
  162. lxml/xinclude.pxi +67 -0
  163. lxml/xmlerror.pxi +1654 -0
  164. lxml/xmlid.pxi +179 -0
  165. lxml/xmlschema.pxi +215 -0
  166. lxml/xpath.pxi +487 -0
  167. lxml/xslt.pxi +957 -0
  168. lxml/xsltext.pxi +242 -0
  169. lxml-6.0.0.dist-info/METADATA +163 -0
  170. lxml-6.0.0.dist-info/RECORD +174 -0
  171. lxml-6.0.0.dist-info/WHEEL +5 -0
  172. lxml-6.0.0.dist-info/licenses/LICENSE.txt +31 -0
  173. lxml-6.0.0.dist-info/licenses/LICENSES.txt +29 -0
  174. lxml-6.0.0.dist-info/top_level.txt +1 -0
@@ -0,0 +1,591 @@
1
+ /*
2
+ * Summary: internals routines and limits exported by the parser.
3
+ * Description: this module exports a number of internal parsing routines
4
+ * they are not really all intended for applications but
5
+ * can prove useful doing low level processing.
6
+ *
7
+ * Copy: See Copyright for the status of this software.
8
+ *
9
+ * Author: Daniel Veillard
10
+ */
11
+
12
+ #ifndef __XML_PARSER_INTERNALS_H__
13
+ #define __XML_PARSER_INTERNALS_H__
14
+
15
+ #include <libxml/xmlversion.h>
16
+ #include <libxml/parser.h>
17
+ #include <libxml/HTMLparser.h>
18
+ #include <libxml/chvalid.h>
19
+ #include <libxml/SAX2.h>
20
+
21
+ #ifdef __cplusplus
22
+ extern "C" {
23
+ #endif
24
+
25
+ /*
26
+ * Backward compatibility
27
+ */
28
+ #define inputPush xmlCtxtPushInput
29
+ #define inputPop xmlCtxtPopInput
30
+ #define xmlParserMaxDepth 256
31
+
32
+ /**
33
+ * XML_MAX_TEXT_LENGTH:
34
+ *
35
+ * Maximum size allowed for a single text node when building a tree.
36
+ * This is not a limitation of the parser but a safety boundary feature,
37
+ * use XML_PARSE_HUGE option to override it.
38
+ * Introduced in 2.9.0
39
+ */
40
+ #define XML_MAX_TEXT_LENGTH 10000000
41
+
42
+ /**
43
+ * XML_MAX_HUGE_LENGTH:
44
+ *
45
+ * Maximum size allowed when XML_PARSE_HUGE is set.
46
+ */
47
+ #define XML_MAX_HUGE_LENGTH 1000000000
48
+
49
+ /**
50
+ * XML_MAX_NAME_LENGTH:
51
+ *
52
+ * Maximum size allowed for a markup identifier.
53
+ * This is not a limitation of the parser but a safety boundary feature,
54
+ * use XML_PARSE_HUGE option to override it.
55
+ * Note that with the use of parsing dictionaries overriding the limit
56
+ * may result in more runtime memory usage in face of "unfriendly' content
57
+ * Introduced in 2.9.0
58
+ */
59
+ #define XML_MAX_NAME_LENGTH 50000
60
+
61
+ /**
62
+ * XML_MAX_DICTIONARY_LIMIT:
63
+ *
64
+ * Maximum size allowed by the parser for a dictionary by default
65
+ * This is not a limitation of the parser but a safety boundary feature,
66
+ * use XML_PARSE_HUGE option to override it.
67
+ * Introduced in 2.9.0
68
+ */
69
+ #define XML_MAX_DICTIONARY_LIMIT 100000000
70
+
71
+ /**
72
+ * XML_MAX_LOOKUP_LIMIT:
73
+ *
74
+ * Maximum size allowed by the parser for ahead lookup
75
+ * This is an upper boundary enforced by the parser to avoid bad
76
+ * behaviour on "unfriendly' content
77
+ * Introduced in 2.9.0
78
+ */
79
+ #define XML_MAX_LOOKUP_LIMIT 10000000
80
+
81
+ /**
82
+ * XML_MAX_NAMELEN:
83
+ *
84
+ * Identifiers can be longer, but this will be more costly
85
+ * at runtime.
86
+ */
87
+ #define XML_MAX_NAMELEN 100
88
+
89
+ /************************************************************************
90
+ * *
91
+ * UNICODE version of the macros. *
92
+ * *
93
+ ************************************************************************/
94
+ /**
95
+ * IS_BYTE_CHAR:
96
+ * @c: an byte value (int)
97
+ *
98
+ * Macro to check the following production in the XML spec:
99
+ *
100
+ * [2] Char ::= #x9 | #xA | #xD | [#x20...]
101
+ * any byte character in the accepted range
102
+ */
103
+ #define IS_BYTE_CHAR(c) xmlIsChar_ch(c)
104
+
105
+ /**
106
+ * IS_CHAR:
107
+ * @c: an UNICODE value (int)
108
+ *
109
+ * Macro to check the following production in the XML spec:
110
+ *
111
+ * [2] Char ::= #x9 | #xA | #xD | [#x20-#xD7FF] | [#xE000-#xFFFD]
112
+ * | [#x10000-#x10FFFF]
113
+ * any Unicode character, excluding the surrogate blocks, FFFE, and FFFF.
114
+ */
115
+ #define IS_CHAR(c) xmlIsCharQ(c)
116
+
117
+ /**
118
+ * IS_CHAR_CH:
119
+ * @c: an xmlChar (usually an unsigned char)
120
+ *
121
+ * Behaves like IS_CHAR on single-byte value
122
+ */
123
+ #define IS_CHAR_CH(c) xmlIsChar_ch(c)
124
+
125
+ /**
126
+ * IS_BLANK:
127
+ * @c: an UNICODE value (int)
128
+ *
129
+ * Macro to check the following production in the XML spec:
130
+ *
131
+ * [3] S ::= (#x20 | #x9 | #xD | #xA)+
132
+ */
133
+ #define IS_BLANK(c) xmlIsBlankQ(c)
134
+
135
+ /**
136
+ * IS_BLANK_CH:
137
+ * @c: an xmlChar value (normally unsigned char)
138
+ *
139
+ * Behaviour same as IS_BLANK
140
+ */
141
+ #define IS_BLANK_CH(c) xmlIsBlank_ch(c)
142
+
143
+ /**
144
+ * IS_BASECHAR:
145
+ * @c: an UNICODE value (int)
146
+ *
147
+ * Macro to check the following production in the XML spec:
148
+ *
149
+ * [85] BaseChar ::= ... long list see REC ...
150
+ */
151
+ #define IS_BASECHAR(c) xmlIsBaseCharQ(c)
152
+
153
+ /**
154
+ * IS_DIGIT:
155
+ * @c: an UNICODE value (int)
156
+ *
157
+ * Macro to check the following production in the XML spec:
158
+ *
159
+ * [88] Digit ::= ... long list see REC ...
160
+ */
161
+ #define IS_DIGIT(c) xmlIsDigitQ(c)
162
+
163
+ /**
164
+ * IS_DIGIT_CH:
165
+ * @c: an xmlChar value (usually an unsigned char)
166
+ *
167
+ * Behaves like IS_DIGIT but with a single byte argument
168
+ */
169
+ #define IS_DIGIT_CH(c) xmlIsDigit_ch(c)
170
+
171
+ /**
172
+ * IS_COMBINING:
173
+ * @c: an UNICODE value (int)
174
+ *
175
+ * Macro to check the following production in the XML spec:
176
+ *
177
+ * [87] CombiningChar ::= ... long list see REC ...
178
+ */
179
+ #define IS_COMBINING(c) xmlIsCombiningQ(c)
180
+
181
+ /**
182
+ * IS_COMBINING_CH:
183
+ * @c: an xmlChar (usually an unsigned char)
184
+ *
185
+ * Always false (all combining chars > 0xff)
186
+ */
187
+ #define IS_COMBINING_CH(c) 0
188
+
189
+ /**
190
+ * IS_EXTENDER:
191
+ * @c: an UNICODE value (int)
192
+ *
193
+ * Macro to check the following production in the XML spec:
194
+ *
195
+ *
196
+ * [89] Extender ::= #x00B7 | #x02D0 | #x02D1 | #x0387 | #x0640 |
197
+ * #x0E46 | #x0EC6 | #x3005 | [#x3031-#x3035] |
198
+ * [#x309D-#x309E] | [#x30FC-#x30FE]
199
+ */
200
+ #define IS_EXTENDER(c) xmlIsExtenderQ(c)
201
+
202
+ /**
203
+ * IS_EXTENDER_CH:
204
+ * @c: an xmlChar value (usually an unsigned char)
205
+ *
206
+ * Behaves like IS_EXTENDER but with a single-byte argument
207
+ */
208
+ #define IS_EXTENDER_CH(c) xmlIsExtender_ch(c)
209
+
210
+ /**
211
+ * IS_IDEOGRAPHIC:
212
+ * @c: an UNICODE value (int)
213
+ *
214
+ * Macro to check the following production in the XML spec:
215
+ *
216
+ *
217
+ * [86] Ideographic ::= [#x4E00-#x9FA5] | #x3007 | [#x3021-#x3029]
218
+ */
219
+ #define IS_IDEOGRAPHIC(c) xmlIsIdeographicQ(c)
220
+
221
+ /**
222
+ * IS_LETTER:
223
+ * @c: an UNICODE value (int)
224
+ *
225
+ * Macro to check the following production in the XML spec:
226
+ *
227
+ *
228
+ * [84] Letter ::= BaseChar | Ideographic
229
+ */
230
+ #define IS_LETTER(c) (IS_BASECHAR(c) || IS_IDEOGRAPHIC(c))
231
+
232
+ /**
233
+ * IS_LETTER_CH:
234
+ * @c: an xmlChar value (normally unsigned char)
235
+ *
236
+ * Macro behaves like IS_LETTER, but only check base chars
237
+ *
238
+ */
239
+ #define IS_LETTER_CH(c) xmlIsBaseChar_ch(c)
240
+
241
+ /**
242
+ * IS_ASCII_LETTER:
243
+ * @c: an xmlChar value
244
+ *
245
+ * Macro to check [a-zA-Z]
246
+ *
247
+ */
248
+ #define IS_ASCII_LETTER(c) ((0x61 <= ((c) | 0x20)) && \
249
+ (((c) | 0x20) <= 0x7a))
250
+
251
+ /**
252
+ * IS_ASCII_DIGIT:
253
+ * @c: an xmlChar value
254
+ *
255
+ * Macro to check [0-9]
256
+ *
257
+ */
258
+ #define IS_ASCII_DIGIT(c) ((0x30 <= (c)) && ((c) <= 0x39))
259
+
260
+ /**
261
+ * IS_PUBIDCHAR:
262
+ * @c: an UNICODE value (int)
263
+ *
264
+ * Macro to check the following production in the XML spec:
265
+ *
266
+ *
267
+ * [13] PubidChar ::= #x20 | #xD | #xA | [a-zA-Z0-9] | [-'()+,./:=?;!*#@$_%]
268
+ */
269
+ #define IS_PUBIDCHAR(c) xmlIsPubidCharQ(c)
270
+
271
+ /**
272
+ * IS_PUBIDCHAR_CH:
273
+ * @c: an xmlChar value (normally unsigned char)
274
+ *
275
+ * Same as IS_PUBIDCHAR but for single-byte value
276
+ */
277
+ #define IS_PUBIDCHAR_CH(c) xmlIsPubidChar_ch(c)
278
+
279
+ /**
280
+ * Global variables used for predefined strings.
281
+ */
282
+ XMLPUBVAR const xmlChar xmlStringText[];
283
+ XMLPUBVAR const xmlChar xmlStringTextNoenc[];
284
+ XML_DEPRECATED
285
+ XMLPUBVAR const xmlChar xmlStringComment[];
286
+
287
+ XML_DEPRECATED
288
+ XMLPUBFUN int xmlIsLetter (int c);
289
+
290
+ /**
291
+ * Parser context.
292
+ */
293
+ XMLPUBFUN xmlParserCtxtPtr
294
+ xmlCreateFileParserCtxt (const char *filename);
295
+ XMLPUBFUN xmlParserCtxtPtr
296
+ xmlCreateURLParserCtxt (const char *filename,
297
+ int options);
298
+ XMLPUBFUN xmlParserCtxtPtr
299
+ xmlCreateMemoryParserCtxt(const char *buffer,
300
+ int size);
301
+ XML_DEPRECATED
302
+ XMLPUBFUN xmlParserCtxtPtr
303
+ xmlCreateEntityParserCtxt(const xmlChar *URL,
304
+ const xmlChar *ID,
305
+ const xmlChar *base);
306
+ XMLPUBFUN void
307
+ xmlCtxtErrMemory (xmlParserCtxtPtr ctxt);
308
+ XMLPUBFUN int
309
+ xmlSwitchEncoding (xmlParserCtxtPtr ctxt,
310
+ xmlCharEncoding enc);
311
+ XMLPUBFUN int
312
+ xmlSwitchEncodingName (xmlParserCtxtPtr ctxt,
313
+ const char *encoding);
314
+ XMLPUBFUN int
315
+ xmlSwitchToEncoding (xmlParserCtxtPtr ctxt,
316
+ xmlCharEncodingHandlerPtr handler);
317
+ XML_DEPRECATED
318
+ XMLPUBFUN int
319
+ xmlSwitchInputEncoding (xmlParserCtxtPtr ctxt,
320
+ xmlParserInputPtr input,
321
+ xmlCharEncodingHandlerPtr handler);
322
+
323
+ /**
324
+ * Input Streams.
325
+ */
326
+ XMLPUBFUN xmlParserInputPtr
327
+ xmlNewStringInputStream (xmlParserCtxtPtr ctxt,
328
+ const xmlChar *buffer);
329
+ XML_DEPRECATED
330
+ XMLPUBFUN xmlParserInputPtr
331
+ xmlNewEntityInputStream (xmlParserCtxtPtr ctxt,
332
+ xmlEntityPtr entity);
333
+ XMLPUBFUN int
334
+ xmlCtxtPushInput (xmlParserCtxtPtr ctxt,
335
+ xmlParserInputPtr input);
336
+ XMLPUBFUN xmlParserInputPtr
337
+ xmlCtxtPopInput (xmlParserCtxtPtr ctxt);
338
+ XML_DEPRECATED
339
+ XMLPUBFUN int
340
+ xmlPushInput (xmlParserCtxtPtr ctxt,
341
+ xmlParserInputPtr input);
342
+ XML_DEPRECATED
343
+ XMLPUBFUN xmlChar
344
+ xmlPopInput (xmlParserCtxtPtr ctxt);
345
+ XMLPUBFUN void
346
+ xmlFreeInputStream (xmlParserInputPtr input);
347
+ XMLPUBFUN xmlParserInputPtr
348
+ xmlNewInputFromFile (xmlParserCtxtPtr ctxt,
349
+ const char *filename);
350
+ XMLPUBFUN xmlParserInputPtr
351
+ xmlNewInputStream (xmlParserCtxtPtr ctxt);
352
+
353
+ /**
354
+ * Namespaces.
355
+ */
356
+ XMLPUBFUN xmlChar *
357
+ xmlSplitQName (xmlParserCtxtPtr ctxt,
358
+ const xmlChar *name,
359
+ xmlChar **prefix);
360
+
361
+ /**
362
+ * Generic production rules.
363
+ */
364
+ XML_DEPRECATED
365
+ XMLPUBFUN const xmlChar *
366
+ xmlParseName (xmlParserCtxtPtr ctxt);
367
+ XML_DEPRECATED
368
+ XMLPUBFUN xmlChar *
369
+ xmlParseNmtoken (xmlParserCtxtPtr ctxt);
370
+ XML_DEPRECATED
371
+ XMLPUBFUN xmlChar *
372
+ xmlParseEntityValue (xmlParserCtxtPtr ctxt,
373
+ xmlChar **orig);
374
+ XML_DEPRECATED
375
+ XMLPUBFUN xmlChar *
376
+ xmlParseAttValue (xmlParserCtxtPtr ctxt);
377
+ XML_DEPRECATED
378
+ XMLPUBFUN xmlChar *
379
+ xmlParseSystemLiteral (xmlParserCtxtPtr ctxt);
380
+ XML_DEPRECATED
381
+ XMLPUBFUN xmlChar *
382
+ xmlParsePubidLiteral (xmlParserCtxtPtr ctxt);
383
+ XML_DEPRECATED
384
+ XMLPUBFUN void
385
+ xmlParseCharData (xmlParserCtxtPtr ctxt,
386
+ int cdata);
387
+ XML_DEPRECATED
388
+ XMLPUBFUN xmlChar *
389
+ xmlParseExternalID (xmlParserCtxtPtr ctxt,
390
+ xmlChar **publicID,
391
+ int strict);
392
+ XML_DEPRECATED
393
+ XMLPUBFUN void
394
+ xmlParseComment (xmlParserCtxtPtr ctxt);
395
+ XML_DEPRECATED
396
+ XMLPUBFUN const xmlChar *
397
+ xmlParsePITarget (xmlParserCtxtPtr ctxt);
398
+ XML_DEPRECATED
399
+ XMLPUBFUN void
400
+ xmlParsePI (xmlParserCtxtPtr ctxt);
401
+ XML_DEPRECATED
402
+ XMLPUBFUN void
403
+ xmlParseNotationDecl (xmlParserCtxtPtr ctxt);
404
+ XML_DEPRECATED
405
+ XMLPUBFUN void
406
+ xmlParseEntityDecl (xmlParserCtxtPtr ctxt);
407
+ XML_DEPRECATED
408
+ XMLPUBFUN int
409
+ xmlParseDefaultDecl (xmlParserCtxtPtr ctxt,
410
+ xmlChar **value);
411
+ XML_DEPRECATED
412
+ XMLPUBFUN xmlEnumerationPtr
413
+ xmlParseNotationType (xmlParserCtxtPtr ctxt);
414
+ XML_DEPRECATED
415
+ XMLPUBFUN xmlEnumerationPtr
416
+ xmlParseEnumerationType (xmlParserCtxtPtr ctxt);
417
+ XML_DEPRECATED
418
+ XMLPUBFUN int
419
+ xmlParseEnumeratedType (xmlParserCtxtPtr ctxt,
420
+ xmlEnumerationPtr *tree);
421
+ XML_DEPRECATED
422
+ XMLPUBFUN int
423
+ xmlParseAttributeType (xmlParserCtxtPtr ctxt,
424
+ xmlEnumerationPtr *tree);
425
+ XML_DEPRECATED
426
+ XMLPUBFUN void
427
+ xmlParseAttributeListDecl(xmlParserCtxtPtr ctxt);
428
+ XML_DEPRECATED
429
+ XMLPUBFUN xmlElementContentPtr
430
+ xmlParseElementMixedContentDecl
431
+ (xmlParserCtxtPtr ctxt,
432
+ int inputchk);
433
+ XML_DEPRECATED
434
+ XMLPUBFUN xmlElementContentPtr
435
+ xmlParseElementChildrenContentDecl
436
+ (xmlParserCtxtPtr ctxt,
437
+ int inputchk);
438
+ XML_DEPRECATED
439
+ XMLPUBFUN int
440
+ xmlParseElementContentDecl(xmlParserCtxtPtr ctxt,
441
+ const xmlChar *name,
442
+ xmlElementContentPtr *result);
443
+ XML_DEPRECATED
444
+ XMLPUBFUN int
445
+ xmlParseElementDecl (xmlParserCtxtPtr ctxt);
446
+ XML_DEPRECATED
447
+ XMLPUBFUN void
448
+ xmlParseMarkupDecl (xmlParserCtxtPtr ctxt);
449
+ XML_DEPRECATED
450
+ XMLPUBFUN int
451
+ xmlParseCharRef (xmlParserCtxtPtr ctxt);
452
+ XML_DEPRECATED
453
+ XMLPUBFUN xmlEntityPtr
454
+ xmlParseEntityRef (xmlParserCtxtPtr ctxt);
455
+ XML_DEPRECATED
456
+ XMLPUBFUN void
457
+ xmlParseReference (xmlParserCtxtPtr ctxt);
458
+ XML_DEPRECATED
459
+ XMLPUBFUN void
460
+ xmlParsePEReference (xmlParserCtxtPtr ctxt);
461
+ XML_DEPRECATED
462
+ XMLPUBFUN void
463
+ xmlParseDocTypeDecl (xmlParserCtxtPtr ctxt);
464
+ #ifdef LIBXML_SAX1_ENABLED
465
+ XML_DEPRECATED
466
+ XMLPUBFUN const xmlChar *
467
+ xmlParseAttribute (xmlParserCtxtPtr ctxt,
468
+ xmlChar **value);
469
+ XML_DEPRECATED
470
+ XMLPUBFUN const xmlChar *
471
+ xmlParseStartTag (xmlParserCtxtPtr ctxt);
472
+ XML_DEPRECATED
473
+ XMLPUBFUN void
474
+ xmlParseEndTag (xmlParserCtxtPtr ctxt);
475
+ #endif /* LIBXML_SAX1_ENABLED */
476
+ XML_DEPRECATED
477
+ XMLPUBFUN void
478
+ xmlParseCDSect (xmlParserCtxtPtr ctxt);
479
+ XMLPUBFUN void
480
+ xmlParseContent (xmlParserCtxtPtr ctxt);
481
+ XML_DEPRECATED
482
+ XMLPUBFUN void
483
+ xmlParseElement (xmlParserCtxtPtr ctxt);
484
+ XML_DEPRECATED
485
+ XMLPUBFUN xmlChar *
486
+ xmlParseVersionNum (xmlParserCtxtPtr ctxt);
487
+ XML_DEPRECATED
488
+ XMLPUBFUN xmlChar *
489
+ xmlParseVersionInfo (xmlParserCtxtPtr ctxt);
490
+ XML_DEPRECATED
491
+ XMLPUBFUN xmlChar *
492
+ xmlParseEncName (xmlParserCtxtPtr ctxt);
493
+ XML_DEPRECATED
494
+ XMLPUBFUN const xmlChar *
495
+ xmlParseEncodingDecl (xmlParserCtxtPtr ctxt);
496
+ XML_DEPRECATED
497
+ XMLPUBFUN int
498
+ xmlParseSDDecl (xmlParserCtxtPtr ctxt);
499
+ XML_DEPRECATED
500
+ XMLPUBFUN void
501
+ xmlParseXMLDecl (xmlParserCtxtPtr ctxt);
502
+ XML_DEPRECATED
503
+ XMLPUBFUN void
504
+ xmlParseTextDecl (xmlParserCtxtPtr ctxt);
505
+ XML_DEPRECATED
506
+ XMLPUBFUN void
507
+ xmlParseMisc (xmlParserCtxtPtr ctxt);
508
+ XML_DEPRECATED
509
+ XMLPUBFUN void
510
+ xmlParseExternalSubset (xmlParserCtxtPtr ctxt,
511
+ const xmlChar *ExternalID,
512
+ const xmlChar *SystemID);
513
+ /**
514
+ * XML_SUBSTITUTE_NONE:
515
+ *
516
+ * If no entities need to be substituted.
517
+ */
518
+ #define XML_SUBSTITUTE_NONE 0
519
+ /**
520
+ * XML_SUBSTITUTE_REF:
521
+ *
522
+ * Whether general entities need to be substituted.
523
+ */
524
+ #define XML_SUBSTITUTE_REF 1
525
+ /**
526
+ * XML_SUBSTITUTE_PEREF:
527
+ *
528
+ * Whether parameter entities need to be substituted.
529
+ */
530
+ #define XML_SUBSTITUTE_PEREF 2
531
+ /**
532
+ * XML_SUBSTITUTE_BOTH:
533
+ *
534
+ * Both general and parameter entities need to be substituted.
535
+ */
536
+ #define XML_SUBSTITUTE_BOTH 3
537
+
538
+ XML_DEPRECATED
539
+ XMLPUBFUN xmlChar *
540
+ xmlStringDecodeEntities (xmlParserCtxtPtr ctxt,
541
+ const xmlChar *str,
542
+ int what,
543
+ xmlChar end,
544
+ xmlChar end2,
545
+ xmlChar end3);
546
+ XML_DEPRECATED
547
+ XMLPUBFUN xmlChar *
548
+ xmlStringLenDecodeEntities (xmlParserCtxtPtr ctxt,
549
+ const xmlChar *str,
550
+ int len,
551
+ int what,
552
+ xmlChar end,
553
+ xmlChar end2,
554
+ xmlChar end3);
555
+
556
+ /*
557
+ * other commodities shared between parser.c and parserInternals.
558
+ */
559
+ XML_DEPRECATED
560
+ XMLPUBFUN int xmlSkipBlankChars (xmlParserCtxtPtr ctxt);
561
+ XML_DEPRECATED
562
+ XMLPUBFUN int xmlStringCurrentChar (xmlParserCtxtPtr ctxt,
563
+ const xmlChar *cur,
564
+ int *len);
565
+ XML_DEPRECATED
566
+ XMLPUBFUN void xmlParserHandlePEReference(xmlParserCtxtPtr ctxt);
567
+ XML_DEPRECATED
568
+ XMLPUBFUN int xmlCheckLanguageID (const xmlChar *lang);
569
+
570
+ /*
571
+ * Really core function shared with HTML parser.
572
+ */
573
+ XML_DEPRECATED
574
+ XMLPUBFUN int xmlCurrentChar (xmlParserCtxtPtr ctxt,
575
+ int *len);
576
+ XML_DEPRECATED
577
+ XMLPUBFUN int xmlCopyCharMultiByte (xmlChar *out,
578
+ int val);
579
+ XML_DEPRECATED
580
+ XMLPUBFUN int xmlCopyChar (int len,
581
+ xmlChar *out,
582
+ int val);
583
+ XML_DEPRECATED
584
+ XMLPUBFUN void xmlNextChar (xmlParserCtxtPtr ctxt);
585
+ XML_DEPRECATED
586
+ XMLPUBFUN void xmlParserInputShrink (xmlParserInputPtr in);
587
+
588
+ #ifdef __cplusplus
589
+ }
590
+ #endif
591
+ #endif /* __XML_PARSER_INTERNALS_H__ */