@img/sharp-libvips-dev 1.2.2-rc.2 → 1.2.3
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.
- package/include/expat.h +37 -24
- package/include/expat_config.h +9 -9
- package/include/expat_external.h +62 -61
- package/include/libxml2/libxml/HTMLparser.h +159 -101
- package/include/libxml2/libxml/HTMLtree.h +49 -74
- package/include/libxml2/libxml/SAX.h +8 -5
- package/include/libxml2/libxml/SAX2.h +18 -15
- package/include/libxml2/libxml/c14n.h +30 -29
- package/include/libxml2/libxml/catalog.h +47 -22
- package/include/libxml2/libxml/chvalid.h +52 -64
- package/include/libxml2/libxml/debugXML.h +18 -15
- package/include/libxml2/libxml/dict.h +22 -19
- package/include/libxml2/libxml/encoding.h +144 -111
- package/include/libxml2/libxml/entities.h +95 -75
- package/include/libxml2/libxml/globals.h +7 -4
- package/include/libxml2/libxml/hash.h +61 -64
- package/include/libxml2/libxml/list.h +59 -51
- package/include/libxml2/libxml/nanoftp.h +7 -4
- package/include/libxml2/libxml/nanohttp.h +10 -7
- package/include/libxml2/libxml/parser.h +1091 -563
- package/include/libxml2/libxml/parserInternals.h +167 -214
- package/include/libxml2/libxml/pattern.h +29 -31
- package/include/libxml2/libxml/relaxng.h +59 -58
- package/include/libxml2/libxml/schemasInternals.h +114 -268
- package/include/libxml2/libxml/schematron.h +59 -51
- package/include/libxml2/libxml/threads.h +19 -20
- package/include/libxml2/libxml/tree.h +873 -623
- package/include/libxml2/libxml/uri.h +21 -22
- package/include/libxml2/libxml/valid.h +170 -199
- package/include/libxml2/libxml/xinclude.h +24 -43
- package/include/libxml2/libxml/xlink.h +55 -51
- package/include/libxml2/libxml/xmlIO.h +133 -151
- package/include/libxml2/libxml/xmlautomata.h +66 -65
- package/include/libxml2/libxml/xmlerror.h +197 -94
- package/include/libxml2/libxml/xmlexports.h +17 -19
- package/include/libxml2/libxml/xmlmemory.h +44 -29
- package/include/libxml2/libxml/xmlmodule.h +14 -15
- package/include/libxml2/libxml/xmlreader.h +137 -131
- package/include/libxml2/libxml/xmlregexp.h +28 -31
- package/include/libxml2/libxml/xmlsave.h +81 -36
- package/include/libxml2/libxml/xmlschemas.h +61 -67
- package/include/libxml2/libxml/xmlschemastypes.h +60 -54
- package/include/libxml2/libxml/xmlstring.h +8 -9
- package/include/libxml2/libxml/xmlunicode.h +6 -3
- package/include/libxml2/libxml/xmlversion.h +44 -121
- package/include/libxml2/libxml/xmlwriter.h +97 -97
- package/include/libxml2/libxml/xpath.h +235 -232
- package/include/libxml2/libxml/xpathInternals.h +247 -277
- package/include/libxml2/libxml/xpointer.h +21 -17
- package/package.json +1 -1
- package/versions.json +2 -2
|
@@ -1,12 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
1
|
+
/**
|
|
2
|
+
* @file
|
|
3
|
+
*
|
|
4
|
+
* @brief Internals routines and limits exported by the parser.
|
|
5
|
+
*
|
|
6
|
+
* Except for some I/O-related functions, most of these macros and
|
|
7
|
+
* functions are deprecated.
|
|
6
8
|
*
|
|
7
|
-
*
|
|
9
|
+
* @copyright See Copyright for the status of this software.
|
|
8
10
|
*
|
|
9
|
-
*
|
|
11
|
+
* @author Daniel Veillard
|
|
10
12
|
*/
|
|
11
13
|
|
|
12
14
|
#ifndef __XML_PARSER_INTERNALS_H__
|
|
@@ -22,16 +24,24 @@
|
|
|
22
24
|
extern "C" {
|
|
23
25
|
#endif
|
|
24
26
|
|
|
25
|
-
|
|
26
|
-
*
|
|
27
|
+
/**
|
|
28
|
+
* Push an input on the stack.
|
|
29
|
+
*
|
|
30
|
+
* @deprecated Use #xmlCtxtPushInput
|
|
27
31
|
*/
|
|
28
32
|
#define inputPush xmlCtxtPushInput
|
|
33
|
+
/**
|
|
34
|
+
* Pop an input from the stack.
|
|
35
|
+
*
|
|
36
|
+
* @deprecated Use #xmlCtxtPushInput
|
|
37
|
+
*/
|
|
29
38
|
#define inputPop xmlCtxtPopInput
|
|
39
|
+
/**
|
|
40
|
+
* Maximum element nesting depth (without XML_PARSE_HUGE).
|
|
41
|
+
*/
|
|
30
42
|
#define xmlParserMaxDepth 256
|
|
31
43
|
|
|
32
44
|
/**
|
|
33
|
-
* XML_MAX_TEXT_LENGTH:
|
|
34
|
-
*
|
|
35
45
|
* Maximum size allowed for a single text node when building a tree.
|
|
36
46
|
* This is not a limitation of the parser but a safety boundary feature,
|
|
37
47
|
* use XML_PARSE_HUGE option to override it.
|
|
@@ -40,15 +50,11 @@ extern "C" {
|
|
|
40
50
|
#define XML_MAX_TEXT_LENGTH 10000000
|
|
41
51
|
|
|
42
52
|
/**
|
|
43
|
-
* XML_MAX_HUGE_LENGTH:
|
|
44
|
-
*
|
|
45
53
|
* Maximum size allowed when XML_PARSE_HUGE is set.
|
|
46
54
|
*/
|
|
47
55
|
#define XML_MAX_HUGE_LENGTH 1000000000
|
|
48
56
|
|
|
49
57
|
/**
|
|
50
|
-
* XML_MAX_NAME_LENGTH:
|
|
51
|
-
*
|
|
52
58
|
* Maximum size allowed for a markup identifier.
|
|
53
59
|
* This is not a limitation of the parser but a safety boundary feature,
|
|
54
60
|
* use XML_PARSE_HUGE option to override it.
|
|
@@ -59,8 +65,6 @@ extern "C" {
|
|
|
59
65
|
#define XML_MAX_NAME_LENGTH 50000
|
|
60
66
|
|
|
61
67
|
/**
|
|
62
|
-
* XML_MAX_DICTIONARY_LIMIT:
|
|
63
|
-
*
|
|
64
68
|
* Maximum size allowed by the parser for a dictionary by default
|
|
65
69
|
* This is not a limitation of the parser but a safety boundary feature,
|
|
66
70
|
* use XML_PARSE_HUGE option to override it.
|
|
@@ -69,8 +73,6 @@ extern "C" {
|
|
|
69
73
|
#define XML_MAX_DICTIONARY_LIMIT 100000000
|
|
70
74
|
|
|
71
75
|
/**
|
|
72
|
-
* XML_MAX_LOOKUP_LIMIT:
|
|
73
|
-
*
|
|
74
76
|
* Maximum size allowed by the parser for ahead lookup
|
|
75
77
|
* This is an upper boundary enforced by the parser to avoid bad
|
|
76
78
|
* behaviour on "unfriendly' content
|
|
@@ -79,8 +81,6 @@ extern "C" {
|
|
|
79
81
|
#define XML_MAX_LOOKUP_LIMIT 10000000
|
|
80
82
|
|
|
81
83
|
/**
|
|
82
|
-
* XML_MAX_NAMELEN:
|
|
83
|
-
*
|
|
84
84
|
* Identifiers can be longer, but this will be more costly
|
|
85
85
|
* at runtime.
|
|
86
86
|
*/
|
|
@@ -92,452 +92,405 @@ extern "C" {
|
|
|
92
92
|
* *
|
|
93
93
|
************************************************************************/
|
|
94
94
|
/**
|
|
95
|
-
* IS_BYTE_CHAR:
|
|
96
|
-
* @c: an byte value (int)
|
|
97
|
-
*
|
|
98
95
|
* Macro to check the following production in the XML spec:
|
|
99
96
|
*
|
|
100
|
-
*
|
|
97
|
+
* [2] Char ::= #x9 | #xA | #xD | [#x20...]
|
|
98
|
+
*
|
|
101
99
|
* any byte character in the accepted range
|
|
100
|
+
*
|
|
101
|
+
* @param c an byte value (int)
|
|
102
102
|
*/
|
|
103
103
|
#define IS_BYTE_CHAR(c) xmlIsChar_ch(c)
|
|
104
104
|
|
|
105
105
|
/**
|
|
106
|
-
* IS_CHAR:
|
|
107
|
-
* @c: an UNICODE value (int)
|
|
108
|
-
*
|
|
109
106
|
* Macro to check the following production in the XML spec:
|
|
110
107
|
*
|
|
111
|
-
*
|
|
112
|
-
*
|
|
108
|
+
* [2] Char ::= #x9 | #xA | #xD | [#x20-#xD7FF] | [#xE000-#xFFFD]
|
|
109
|
+
* | [#x10000-#x10FFFF]
|
|
110
|
+
*
|
|
113
111
|
* any Unicode character, excluding the surrogate blocks, FFFE, and FFFF.
|
|
112
|
+
*
|
|
113
|
+
* @param c an UNICODE value (int)
|
|
114
114
|
*/
|
|
115
115
|
#define IS_CHAR(c) xmlIsCharQ(c)
|
|
116
116
|
|
|
117
117
|
/**
|
|
118
|
-
* IS_CHAR_CH:
|
|
119
|
-
* @c: an xmlChar (usually an unsigned char)
|
|
120
|
-
*
|
|
121
118
|
* Behaves like IS_CHAR on single-byte value
|
|
119
|
+
*
|
|
120
|
+
* @param c an xmlChar (usually an unsigned char)
|
|
122
121
|
*/
|
|
123
122
|
#define IS_CHAR_CH(c) xmlIsChar_ch(c)
|
|
124
123
|
|
|
125
124
|
/**
|
|
126
|
-
* IS_BLANK:
|
|
127
|
-
* @c: an UNICODE value (int)
|
|
128
|
-
*
|
|
129
125
|
* Macro to check the following production in the XML spec:
|
|
130
126
|
*
|
|
131
|
-
*
|
|
127
|
+
* [3] S ::= (#x20 | #x9 | #xD | #xA)+
|
|
128
|
+
* @param c an UNICODE value (int)
|
|
132
129
|
*/
|
|
133
130
|
#define IS_BLANK(c) xmlIsBlankQ(c)
|
|
134
131
|
|
|
135
132
|
/**
|
|
136
|
-
* IS_BLANK_CH:
|
|
137
|
-
* @c: an xmlChar value (normally unsigned char)
|
|
138
|
-
*
|
|
139
133
|
* Behaviour same as IS_BLANK
|
|
134
|
+
*
|
|
135
|
+
* @param c an xmlChar value (normally unsigned char)
|
|
140
136
|
*/
|
|
141
137
|
#define IS_BLANK_CH(c) xmlIsBlank_ch(c)
|
|
142
138
|
|
|
143
139
|
/**
|
|
144
|
-
* IS_BASECHAR:
|
|
145
|
-
* @c: an UNICODE value (int)
|
|
146
|
-
*
|
|
147
140
|
* Macro to check the following production in the XML spec:
|
|
148
141
|
*
|
|
149
|
-
*
|
|
142
|
+
* [85] BaseChar ::= ... long list see REC ...
|
|
143
|
+
* @param c an UNICODE value (int)
|
|
150
144
|
*/
|
|
151
145
|
#define IS_BASECHAR(c) xmlIsBaseCharQ(c)
|
|
152
146
|
|
|
153
147
|
/**
|
|
154
|
-
* IS_DIGIT:
|
|
155
|
-
* @c: an UNICODE value (int)
|
|
156
|
-
*
|
|
157
148
|
* Macro to check the following production in the XML spec:
|
|
158
149
|
*
|
|
159
|
-
*
|
|
150
|
+
* [88] Digit ::= ... long list see REC ...
|
|
151
|
+
* @param c an UNICODE value (int)
|
|
160
152
|
*/
|
|
161
153
|
#define IS_DIGIT(c) xmlIsDigitQ(c)
|
|
162
154
|
|
|
163
155
|
/**
|
|
164
|
-
* IS_DIGIT_CH:
|
|
165
|
-
* @c: an xmlChar value (usually an unsigned char)
|
|
166
|
-
*
|
|
167
156
|
* Behaves like IS_DIGIT but with a single byte argument
|
|
157
|
+
*
|
|
158
|
+
* @param c an xmlChar value (usually an unsigned char)
|
|
168
159
|
*/
|
|
169
160
|
#define IS_DIGIT_CH(c) xmlIsDigit_ch(c)
|
|
170
161
|
|
|
171
162
|
/**
|
|
172
|
-
* IS_COMBINING:
|
|
173
|
-
* @c: an UNICODE value (int)
|
|
174
|
-
*
|
|
175
163
|
* Macro to check the following production in the XML spec:
|
|
176
164
|
*
|
|
177
|
-
*
|
|
165
|
+
* [87] CombiningChar ::= ... long list see REC ...
|
|
166
|
+
* @param c an UNICODE value (int)
|
|
178
167
|
*/
|
|
179
168
|
#define IS_COMBINING(c) xmlIsCombiningQ(c)
|
|
180
169
|
|
|
181
170
|
/**
|
|
182
|
-
* IS_COMBINING_CH:
|
|
183
|
-
* @c: an xmlChar (usually an unsigned char)
|
|
184
|
-
*
|
|
185
171
|
* Always false (all combining chars > 0xff)
|
|
172
|
+
*
|
|
173
|
+
* @param c an xmlChar (usually an unsigned char)
|
|
186
174
|
*/
|
|
187
175
|
#define IS_COMBINING_CH(c) 0
|
|
188
176
|
|
|
189
177
|
/**
|
|
190
|
-
* IS_EXTENDER:
|
|
191
|
-
* @c: an UNICODE value (int)
|
|
192
|
-
*
|
|
193
178
|
* Macro to check the following production in the XML spec:
|
|
194
179
|
*
|
|
195
|
-
*
|
|
196
|
-
*
|
|
197
|
-
*
|
|
198
|
-
*
|
|
180
|
+
* [89] Extender ::= #x00B7 | #x02D0 | #x02D1 | #x0387 | #x0640 |
|
|
181
|
+
* #x0E46 | #x0EC6 | #x3005 | [#x3031-#x3035] |
|
|
182
|
+
* [#x309D-#x309E] | [#x30FC-#x30FE]
|
|
183
|
+
* @param c an UNICODE value (int)
|
|
199
184
|
*/
|
|
200
185
|
#define IS_EXTENDER(c) xmlIsExtenderQ(c)
|
|
201
186
|
|
|
202
187
|
/**
|
|
203
|
-
* IS_EXTENDER_CH:
|
|
204
|
-
* @c: an xmlChar value (usually an unsigned char)
|
|
205
|
-
*
|
|
206
188
|
* Behaves like IS_EXTENDER but with a single-byte argument
|
|
189
|
+
*
|
|
190
|
+
* @param c an xmlChar value (usually an unsigned char)
|
|
207
191
|
*/
|
|
208
192
|
#define IS_EXTENDER_CH(c) xmlIsExtender_ch(c)
|
|
209
193
|
|
|
210
194
|
/**
|
|
211
|
-
* IS_IDEOGRAPHIC:
|
|
212
|
-
* @c: an UNICODE value (int)
|
|
213
|
-
*
|
|
214
195
|
* Macro to check the following production in the XML spec:
|
|
215
196
|
*
|
|
216
|
-
*
|
|
217
|
-
*
|
|
197
|
+
* [86] Ideographic ::= [#x4E00-#x9FA5] | #x3007 | [#x3021-#x3029]
|
|
198
|
+
* @param c an UNICODE value (int)
|
|
218
199
|
*/
|
|
219
200
|
#define IS_IDEOGRAPHIC(c) xmlIsIdeographicQ(c)
|
|
220
201
|
|
|
221
202
|
/**
|
|
222
|
-
* IS_LETTER:
|
|
223
|
-
* @c: an UNICODE value (int)
|
|
224
|
-
*
|
|
225
203
|
* Macro to check the following production in the XML spec:
|
|
226
204
|
*
|
|
227
|
-
*
|
|
228
|
-
*
|
|
205
|
+
* [84] Letter ::= BaseChar | Ideographic
|
|
206
|
+
* @param c an UNICODE value (int)
|
|
229
207
|
*/
|
|
230
208
|
#define IS_LETTER(c) (IS_BASECHAR(c) || IS_IDEOGRAPHIC(c))
|
|
231
209
|
|
|
232
210
|
/**
|
|
233
|
-
* IS_LETTER_CH:
|
|
234
|
-
* @c: an xmlChar value (normally unsigned char)
|
|
235
|
-
*
|
|
236
211
|
* Macro behaves like IS_LETTER, but only check base chars
|
|
237
212
|
*
|
|
213
|
+
* @param c an xmlChar value (normally unsigned char)
|
|
238
214
|
*/
|
|
239
215
|
#define IS_LETTER_CH(c) xmlIsBaseChar_ch(c)
|
|
240
216
|
|
|
241
217
|
/**
|
|
242
|
-
* IS_ASCII_LETTER:
|
|
243
|
-
* @c: an xmlChar value
|
|
244
|
-
*
|
|
245
218
|
* Macro to check [a-zA-Z]
|
|
246
219
|
*
|
|
220
|
+
* @param c an xmlChar value
|
|
247
221
|
*/
|
|
248
222
|
#define IS_ASCII_LETTER(c) ((0x61 <= ((c) | 0x20)) && \
|
|
249
223
|
(((c) | 0x20) <= 0x7a))
|
|
250
224
|
|
|
251
225
|
/**
|
|
252
|
-
* IS_ASCII_DIGIT:
|
|
253
|
-
* @c: an xmlChar value
|
|
254
|
-
*
|
|
255
226
|
* Macro to check [0-9]
|
|
256
227
|
*
|
|
228
|
+
* @param c an xmlChar value
|
|
257
229
|
*/
|
|
258
230
|
#define IS_ASCII_DIGIT(c) ((0x30 <= (c)) && ((c) <= 0x39))
|
|
259
231
|
|
|
260
232
|
/**
|
|
261
|
-
* IS_PUBIDCHAR:
|
|
262
|
-
* @c: an UNICODE value (int)
|
|
263
|
-
*
|
|
264
233
|
* Macro to check the following production in the XML spec:
|
|
265
234
|
*
|
|
266
|
-
*
|
|
267
|
-
*
|
|
235
|
+
* [13] PubidChar ::= #x20 | #xD | #xA | [a-zA-Z0-9] |
|
|
236
|
+
* [-'()+,./:=?;!*#@$_%]
|
|
237
|
+
* @param c an UNICODE value (int)
|
|
268
238
|
*/
|
|
269
239
|
#define IS_PUBIDCHAR(c) xmlIsPubidCharQ(c)
|
|
270
240
|
|
|
271
241
|
/**
|
|
272
|
-
* IS_PUBIDCHAR_CH:
|
|
273
|
-
* @c: an xmlChar value (normally unsigned char)
|
|
274
|
-
*
|
|
275
242
|
* Same as IS_PUBIDCHAR but for single-byte value
|
|
243
|
+
*
|
|
244
|
+
* @param c an xmlChar value (normally unsigned char)
|
|
276
245
|
*/
|
|
277
246
|
#define IS_PUBIDCHAR_CH(c) xmlIsPubidChar_ch(c)
|
|
278
247
|
|
|
279
|
-
|
|
248
|
+
/*
|
|
280
249
|
* Global variables used for predefined strings.
|
|
281
250
|
*/
|
|
251
|
+
/** @cond ignore */
|
|
282
252
|
XMLPUBVAR const xmlChar xmlStringText[];
|
|
283
253
|
XMLPUBVAR const xmlChar xmlStringTextNoenc[];
|
|
284
254
|
XML_DEPRECATED
|
|
285
255
|
XMLPUBVAR const xmlChar xmlStringComment[];
|
|
256
|
+
/** @endcond */
|
|
286
257
|
|
|
287
258
|
XML_DEPRECATED
|
|
288
259
|
XMLPUBFUN int xmlIsLetter (int c);
|
|
289
260
|
|
|
290
|
-
|
|
261
|
+
/*
|
|
291
262
|
* Parser context.
|
|
292
263
|
*/
|
|
293
|
-
XMLPUBFUN
|
|
264
|
+
XMLPUBFUN xmlParserCtxt *
|
|
294
265
|
xmlCreateFileParserCtxt (const char *filename);
|
|
295
|
-
XMLPUBFUN
|
|
266
|
+
XMLPUBFUN xmlParserCtxt *
|
|
296
267
|
xmlCreateURLParserCtxt (const char *filename,
|
|
297
268
|
int options);
|
|
298
|
-
XMLPUBFUN
|
|
269
|
+
XMLPUBFUN xmlParserCtxt *
|
|
299
270
|
xmlCreateMemoryParserCtxt(const char *buffer,
|
|
300
271
|
int size);
|
|
301
272
|
XML_DEPRECATED
|
|
302
|
-
XMLPUBFUN
|
|
273
|
+
XMLPUBFUN xmlParserCtxt *
|
|
303
274
|
xmlCreateEntityParserCtxt(const xmlChar *URL,
|
|
304
275
|
const xmlChar *ID,
|
|
305
276
|
const xmlChar *base);
|
|
306
277
|
XMLPUBFUN void
|
|
307
|
-
xmlCtxtErrMemory (
|
|
278
|
+
xmlCtxtErrMemory (xmlParserCtxt *ctxt);
|
|
308
279
|
XMLPUBFUN int
|
|
309
|
-
xmlSwitchEncoding (
|
|
280
|
+
xmlSwitchEncoding (xmlParserCtxt *ctxt,
|
|
310
281
|
xmlCharEncoding enc);
|
|
311
282
|
XMLPUBFUN int
|
|
312
|
-
xmlSwitchEncodingName (
|
|
283
|
+
xmlSwitchEncodingName (xmlParserCtxt *ctxt,
|
|
313
284
|
const char *encoding);
|
|
314
285
|
XMLPUBFUN int
|
|
315
|
-
xmlSwitchToEncoding (
|
|
316
|
-
|
|
286
|
+
xmlSwitchToEncoding (xmlParserCtxt *ctxt,
|
|
287
|
+
xmlCharEncodingHandler *handler);
|
|
317
288
|
XML_DEPRECATED
|
|
318
289
|
XMLPUBFUN int
|
|
319
|
-
xmlSwitchInputEncoding (
|
|
320
|
-
|
|
321
|
-
|
|
290
|
+
xmlSwitchInputEncoding (xmlParserCtxt *ctxt,
|
|
291
|
+
xmlParserInput *input,
|
|
292
|
+
xmlCharEncodingHandler *handler);
|
|
322
293
|
|
|
323
|
-
|
|
294
|
+
/*
|
|
324
295
|
* Input Streams.
|
|
325
296
|
*/
|
|
326
|
-
XMLPUBFUN
|
|
327
|
-
xmlNewStringInputStream (
|
|
297
|
+
XMLPUBFUN xmlParserInput *
|
|
298
|
+
xmlNewStringInputStream (xmlParserCtxt *ctxt,
|
|
328
299
|
const xmlChar *buffer);
|
|
329
300
|
XML_DEPRECATED
|
|
330
|
-
XMLPUBFUN
|
|
331
|
-
xmlNewEntityInputStream (
|
|
332
|
-
|
|
301
|
+
XMLPUBFUN xmlParserInput *
|
|
302
|
+
xmlNewEntityInputStream (xmlParserCtxt *ctxt,
|
|
303
|
+
xmlEntity *entity);
|
|
333
304
|
XMLPUBFUN int
|
|
334
|
-
xmlCtxtPushInput (
|
|
335
|
-
|
|
336
|
-
XMLPUBFUN
|
|
337
|
-
xmlCtxtPopInput (
|
|
305
|
+
xmlCtxtPushInput (xmlParserCtxt *ctxt,
|
|
306
|
+
xmlParserInput *input);
|
|
307
|
+
XMLPUBFUN xmlParserInput *
|
|
308
|
+
xmlCtxtPopInput (xmlParserCtxt *ctxt);
|
|
338
309
|
XML_DEPRECATED
|
|
339
310
|
XMLPUBFUN int
|
|
340
|
-
xmlPushInput (
|
|
341
|
-
|
|
311
|
+
xmlPushInput (xmlParserCtxt *ctxt,
|
|
312
|
+
xmlParserInput *input);
|
|
342
313
|
XML_DEPRECATED
|
|
343
314
|
XMLPUBFUN xmlChar
|
|
344
|
-
xmlPopInput (
|
|
315
|
+
xmlPopInput (xmlParserCtxt *ctxt);
|
|
345
316
|
XMLPUBFUN void
|
|
346
|
-
xmlFreeInputStream (
|
|
347
|
-
XMLPUBFUN
|
|
348
|
-
xmlNewInputFromFile (
|
|
317
|
+
xmlFreeInputStream (xmlParserInput *input);
|
|
318
|
+
XMLPUBFUN xmlParserInput *
|
|
319
|
+
xmlNewInputFromFile (xmlParserCtxt *ctxt,
|
|
349
320
|
const char *filename);
|
|
350
|
-
XMLPUBFUN
|
|
351
|
-
xmlNewInputStream (
|
|
321
|
+
XMLPUBFUN xmlParserInput *
|
|
322
|
+
xmlNewInputStream (xmlParserCtxt *ctxt);
|
|
352
323
|
|
|
353
|
-
|
|
324
|
+
/*
|
|
354
325
|
* Namespaces.
|
|
355
326
|
*/
|
|
356
327
|
XMLPUBFUN xmlChar *
|
|
357
|
-
xmlSplitQName (
|
|
328
|
+
xmlSplitQName (xmlParserCtxt *ctxt,
|
|
358
329
|
const xmlChar *name,
|
|
359
330
|
xmlChar **prefix);
|
|
360
331
|
|
|
361
|
-
|
|
332
|
+
/*
|
|
362
333
|
* Generic production rules.
|
|
363
334
|
*/
|
|
364
335
|
XML_DEPRECATED
|
|
365
336
|
XMLPUBFUN const xmlChar *
|
|
366
|
-
xmlParseName (
|
|
337
|
+
xmlParseName (xmlParserCtxt *ctxt);
|
|
367
338
|
XML_DEPRECATED
|
|
368
339
|
XMLPUBFUN xmlChar *
|
|
369
|
-
xmlParseNmtoken (
|
|
340
|
+
xmlParseNmtoken (xmlParserCtxt *ctxt);
|
|
370
341
|
XML_DEPRECATED
|
|
371
342
|
XMLPUBFUN xmlChar *
|
|
372
|
-
xmlParseEntityValue (
|
|
343
|
+
xmlParseEntityValue (xmlParserCtxt *ctxt,
|
|
373
344
|
xmlChar **orig);
|
|
374
345
|
XML_DEPRECATED
|
|
375
346
|
XMLPUBFUN xmlChar *
|
|
376
|
-
xmlParseAttValue (
|
|
347
|
+
xmlParseAttValue (xmlParserCtxt *ctxt);
|
|
377
348
|
XML_DEPRECATED
|
|
378
349
|
XMLPUBFUN xmlChar *
|
|
379
|
-
xmlParseSystemLiteral (
|
|
350
|
+
xmlParseSystemLiteral (xmlParserCtxt *ctxt);
|
|
380
351
|
XML_DEPRECATED
|
|
381
352
|
XMLPUBFUN xmlChar *
|
|
382
|
-
xmlParsePubidLiteral (
|
|
353
|
+
xmlParsePubidLiteral (xmlParserCtxt *ctxt);
|
|
383
354
|
XML_DEPRECATED
|
|
384
355
|
XMLPUBFUN void
|
|
385
|
-
xmlParseCharData (
|
|
356
|
+
xmlParseCharData (xmlParserCtxt *ctxt,
|
|
386
357
|
int cdata);
|
|
387
358
|
XML_DEPRECATED
|
|
388
359
|
XMLPUBFUN xmlChar *
|
|
389
|
-
xmlParseExternalID (
|
|
390
|
-
xmlChar **
|
|
360
|
+
xmlParseExternalID (xmlParserCtxt *ctxt,
|
|
361
|
+
xmlChar **publicId,
|
|
391
362
|
int strict);
|
|
392
363
|
XML_DEPRECATED
|
|
393
364
|
XMLPUBFUN void
|
|
394
|
-
xmlParseComment (
|
|
365
|
+
xmlParseComment (xmlParserCtxt *ctxt);
|
|
395
366
|
XML_DEPRECATED
|
|
396
367
|
XMLPUBFUN const xmlChar *
|
|
397
|
-
xmlParsePITarget (
|
|
368
|
+
xmlParsePITarget (xmlParserCtxt *ctxt);
|
|
398
369
|
XML_DEPRECATED
|
|
399
370
|
XMLPUBFUN void
|
|
400
|
-
xmlParsePI (
|
|
371
|
+
xmlParsePI (xmlParserCtxt *ctxt);
|
|
401
372
|
XML_DEPRECATED
|
|
402
373
|
XMLPUBFUN void
|
|
403
|
-
xmlParseNotationDecl (
|
|
374
|
+
xmlParseNotationDecl (xmlParserCtxt *ctxt);
|
|
404
375
|
XML_DEPRECATED
|
|
405
376
|
XMLPUBFUN void
|
|
406
|
-
xmlParseEntityDecl (
|
|
377
|
+
xmlParseEntityDecl (xmlParserCtxt *ctxt);
|
|
407
378
|
XML_DEPRECATED
|
|
408
379
|
XMLPUBFUN int
|
|
409
|
-
xmlParseDefaultDecl (
|
|
380
|
+
xmlParseDefaultDecl (xmlParserCtxt *ctxt,
|
|
410
381
|
xmlChar **value);
|
|
411
382
|
XML_DEPRECATED
|
|
412
|
-
XMLPUBFUN
|
|
413
|
-
xmlParseNotationType (
|
|
383
|
+
XMLPUBFUN xmlEnumeration *
|
|
384
|
+
xmlParseNotationType (xmlParserCtxt *ctxt);
|
|
414
385
|
XML_DEPRECATED
|
|
415
|
-
XMLPUBFUN
|
|
416
|
-
xmlParseEnumerationType (
|
|
386
|
+
XMLPUBFUN xmlEnumeration *
|
|
387
|
+
xmlParseEnumerationType (xmlParserCtxt *ctxt);
|
|
417
388
|
XML_DEPRECATED
|
|
418
389
|
XMLPUBFUN int
|
|
419
|
-
xmlParseEnumeratedType (
|
|
420
|
-
|
|
390
|
+
xmlParseEnumeratedType (xmlParserCtxt *ctxt,
|
|
391
|
+
xmlEnumeration **tree);
|
|
421
392
|
XML_DEPRECATED
|
|
422
393
|
XMLPUBFUN int
|
|
423
|
-
xmlParseAttributeType (
|
|
424
|
-
|
|
394
|
+
xmlParseAttributeType (xmlParserCtxt *ctxt,
|
|
395
|
+
xmlEnumeration **tree);
|
|
425
396
|
XML_DEPRECATED
|
|
426
397
|
XMLPUBFUN void
|
|
427
|
-
xmlParseAttributeListDecl(
|
|
398
|
+
xmlParseAttributeListDecl(xmlParserCtxt *ctxt);
|
|
428
399
|
XML_DEPRECATED
|
|
429
|
-
XMLPUBFUN
|
|
400
|
+
XMLPUBFUN xmlElementContent *
|
|
430
401
|
xmlParseElementMixedContentDecl
|
|
431
|
-
(
|
|
402
|
+
(xmlParserCtxt *ctxt,
|
|
432
403
|
int inputchk);
|
|
433
404
|
XML_DEPRECATED
|
|
434
|
-
XMLPUBFUN
|
|
405
|
+
XMLPUBFUN xmlElementContent *
|
|
435
406
|
xmlParseElementChildrenContentDecl
|
|
436
|
-
(
|
|
407
|
+
(xmlParserCtxt *ctxt,
|
|
437
408
|
int inputchk);
|
|
438
409
|
XML_DEPRECATED
|
|
439
410
|
XMLPUBFUN int
|
|
440
|
-
xmlParseElementContentDecl(
|
|
411
|
+
xmlParseElementContentDecl(xmlParserCtxt *ctxt,
|
|
441
412
|
const xmlChar *name,
|
|
442
|
-
|
|
413
|
+
xmlElementContent **result);
|
|
443
414
|
XML_DEPRECATED
|
|
444
415
|
XMLPUBFUN int
|
|
445
|
-
xmlParseElementDecl (
|
|
416
|
+
xmlParseElementDecl (xmlParserCtxt *ctxt);
|
|
446
417
|
XML_DEPRECATED
|
|
447
418
|
XMLPUBFUN void
|
|
448
|
-
xmlParseMarkupDecl (
|
|
419
|
+
xmlParseMarkupDecl (xmlParserCtxt *ctxt);
|
|
449
420
|
XML_DEPRECATED
|
|
450
421
|
XMLPUBFUN int
|
|
451
|
-
xmlParseCharRef (
|
|
422
|
+
xmlParseCharRef (xmlParserCtxt *ctxt);
|
|
452
423
|
XML_DEPRECATED
|
|
453
|
-
XMLPUBFUN
|
|
454
|
-
xmlParseEntityRef (
|
|
424
|
+
XMLPUBFUN xmlEntity *
|
|
425
|
+
xmlParseEntityRef (xmlParserCtxt *ctxt);
|
|
455
426
|
XML_DEPRECATED
|
|
456
427
|
XMLPUBFUN void
|
|
457
|
-
xmlParseReference (
|
|
428
|
+
xmlParseReference (xmlParserCtxt *ctxt);
|
|
458
429
|
XML_DEPRECATED
|
|
459
430
|
XMLPUBFUN void
|
|
460
|
-
xmlParsePEReference (
|
|
431
|
+
xmlParsePEReference (xmlParserCtxt *ctxt);
|
|
461
432
|
XML_DEPRECATED
|
|
462
433
|
XMLPUBFUN void
|
|
463
|
-
xmlParseDocTypeDecl (
|
|
434
|
+
xmlParseDocTypeDecl (xmlParserCtxt *ctxt);
|
|
464
435
|
#ifdef LIBXML_SAX1_ENABLED
|
|
465
436
|
XML_DEPRECATED
|
|
466
437
|
XMLPUBFUN const xmlChar *
|
|
467
|
-
xmlParseAttribute (
|
|
438
|
+
xmlParseAttribute (xmlParserCtxt *ctxt,
|
|
468
439
|
xmlChar **value);
|
|
469
440
|
XML_DEPRECATED
|
|
470
441
|
XMLPUBFUN const xmlChar *
|
|
471
|
-
xmlParseStartTag (
|
|
442
|
+
xmlParseStartTag (xmlParserCtxt *ctxt);
|
|
472
443
|
XML_DEPRECATED
|
|
473
444
|
XMLPUBFUN void
|
|
474
|
-
xmlParseEndTag (
|
|
445
|
+
xmlParseEndTag (xmlParserCtxt *ctxt);
|
|
475
446
|
#endif /* LIBXML_SAX1_ENABLED */
|
|
476
447
|
XML_DEPRECATED
|
|
477
448
|
XMLPUBFUN void
|
|
478
|
-
xmlParseCDSect (
|
|
449
|
+
xmlParseCDSect (xmlParserCtxt *ctxt);
|
|
479
450
|
XMLPUBFUN void
|
|
480
|
-
xmlParseContent (
|
|
451
|
+
xmlParseContent (xmlParserCtxt *ctxt);
|
|
481
452
|
XML_DEPRECATED
|
|
482
453
|
XMLPUBFUN void
|
|
483
|
-
xmlParseElement (
|
|
454
|
+
xmlParseElement (xmlParserCtxt *ctxt);
|
|
484
455
|
XML_DEPRECATED
|
|
485
456
|
XMLPUBFUN xmlChar *
|
|
486
|
-
xmlParseVersionNum (
|
|
457
|
+
xmlParseVersionNum (xmlParserCtxt *ctxt);
|
|
487
458
|
XML_DEPRECATED
|
|
488
459
|
XMLPUBFUN xmlChar *
|
|
489
|
-
xmlParseVersionInfo (
|
|
460
|
+
xmlParseVersionInfo (xmlParserCtxt *ctxt);
|
|
490
461
|
XML_DEPRECATED
|
|
491
462
|
XMLPUBFUN xmlChar *
|
|
492
|
-
xmlParseEncName (
|
|
463
|
+
xmlParseEncName (xmlParserCtxt *ctxt);
|
|
493
464
|
XML_DEPRECATED
|
|
494
465
|
XMLPUBFUN const xmlChar *
|
|
495
|
-
xmlParseEncodingDecl (
|
|
466
|
+
xmlParseEncodingDecl (xmlParserCtxt *ctxt);
|
|
496
467
|
XML_DEPRECATED
|
|
497
468
|
XMLPUBFUN int
|
|
498
|
-
xmlParseSDDecl (
|
|
469
|
+
xmlParseSDDecl (xmlParserCtxt *ctxt);
|
|
499
470
|
XML_DEPRECATED
|
|
500
471
|
XMLPUBFUN void
|
|
501
|
-
xmlParseXMLDecl (
|
|
472
|
+
xmlParseXMLDecl (xmlParserCtxt *ctxt);
|
|
502
473
|
XML_DEPRECATED
|
|
503
474
|
XMLPUBFUN void
|
|
504
|
-
xmlParseTextDecl (
|
|
475
|
+
xmlParseTextDecl (xmlParserCtxt *ctxt);
|
|
505
476
|
XML_DEPRECATED
|
|
506
477
|
XMLPUBFUN void
|
|
507
|
-
xmlParseMisc (
|
|
478
|
+
xmlParseMisc (xmlParserCtxt *ctxt);
|
|
508
479
|
XML_DEPRECATED
|
|
509
480
|
XMLPUBFUN void
|
|
510
|
-
xmlParseExternalSubset (
|
|
511
|
-
const xmlChar *
|
|
512
|
-
const xmlChar *
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
*
|
|
516
|
-
* If no entities need to be substituted.
|
|
517
|
-
*/
|
|
481
|
+
xmlParseExternalSubset (xmlParserCtxt *ctxt,
|
|
482
|
+
const xmlChar *publicId,
|
|
483
|
+
const xmlChar *systemId);
|
|
484
|
+
|
|
485
|
+
/** @cond ignore */
|
|
518
486
|
#define XML_SUBSTITUTE_NONE 0
|
|
519
|
-
/**
|
|
520
|
-
* XML_SUBSTITUTE_REF:
|
|
521
|
-
*
|
|
522
|
-
* Whether general entities need to be substituted.
|
|
523
|
-
*/
|
|
524
487
|
#define XML_SUBSTITUTE_REF 1
|
|
525
|
-
/**
|
|
526
|
-
* XML_SUBSTITUTE_PEREF:
|
|
527
|
-
*
|
|
528
|
-
* Whether parameter entities need to be substituted.
|
|
529
|
-
*/
|
|
530
488
|
#define XML_SUBSTITUTE_PEREF 2
|
|
531
|
-
/**
|
|
532
|
-
* XML_SUBSTITUTE_BOTH:
|
|
533
|
-
*
|
|
534
|
-
* Both general and parameter entities need to be substituted.
|
|
535
|
-
*/
|
|
536
489
|
#define XML_SUBSTITUTE_BOTH 3
|
|
537
|
-
|
|
490
|
+
/** @endcond */
|
|
538
491
|
XML_DEPRECATED
|
|
539
492
|
XMLPUBFUN xmlChar *
|
|
540
|
-
xmlStringDecodeEntities (
|
|
493
|
+
xmlStringDecodeEntities (xmlParserCtxt *ctxt,
|
|
541
494
|
const xmlChar *str,
|
|
542
495
|
int what,
|
|
543
496
|
xmlChar end,
|
|
@@ -545,7 +498,7 @@ XMLPUBFUN xmlChar *
|
|
|
545
498
|
xmlChar end3);
|
|
546
499
|
XML_DEPRECATED
|
|
547
500
|
XMLPUBFUN xmlChar *
|
|
548
|
-
xmlStringLenDecodeEntities (
|
|
501
|
+
xmlStringLenDecodeEntities (xmlParserCtxt *ctxt,
|
|
549
502
|
const xmlChar *str,
|
|
550
503
|
int len,
|
|
551
504
|
int what,
|
|
@@ -557,13 +510,13 @@ XMLPUBFUN xmlChar *
|
|
|
557
510
|
* other commodities shared between parser.c and parserInternals.
|
|
558
511
|
*/
|
|
559
512
|
XML_DEPRECATED
|
|
560
|
-
XMLPUBFUN int xmlSkipBlankChars (
|
|
513
|
+
XMLPUBFUN int xmlSkipBlankChars (xmlParserCtxt *ctxt);
|
|
561
514
|
XML_DEPRECATED
|
|
562
|
-
XMLPUBFUN int xmlStringCurrentChar (
|
|
515
|
+
XMLPUBFUN int xmlStringCurrentChar (xmlParserCtxt *ctxt,
|
|
563
516
|
const xmlChar *cur,
|
|
564
517
|
int *len);
|
|
565
518
|
XML_DEPRECATED
|
|
566
|
-
XMLPUBFUN void xmlParserHandlePEReference(
|
|
519
|
+
XMLPUBFUN void xmlParserHandlePEReference(xmlParserCtxt *ctxt);
|
|
567
520
|
XML_DEPRECATED
|
|
568
521
|
XMLPUBFUN int xmlCheckLanguageID (const xmlChar *lang);
|
|
569
522
|
|
|
@@ -571,7 +524,7 @@ XMLPUBFUN int xmlCheckLanguageID (const xmlChar *lang);
|
|
|
571
524
|
* Really core function shared with HTML parser.
|
|
572
525
|
*/
|
|
573
526
|
XML_DEPRECATED
|
|
574
|
-
XMLPUBFUN int xmlCurrentChar (
|
|
527
|
+
XMLPUBFUN int xmlCurrentChar (xmlParserCtxt *ctxt,
|
|
575
528
|
int *len);
|
|
576
529
|
XML_DEPRECATED
|
|
577
530
|
XMLPUBFUN int xmlCopyCharMultiByte (xmlChar *out,
|
|
@@ -581,9 +534,9 @@ XMLPUBFUN int xmlCopyChar (int len,
|
|
|
581
534
|
xmlChar *out,
|
|
582
535
|
int val);
|
|
583
536
|
XML_DEPRECATED
|
|
584
|
-
XMLPUBFUN void xmlNextChar (
|
|
537
|
+
XMLPUBFUN void xmlNextChar (xmlParserCtxt *ctxt);
|
|
585
538
|
XML_DEPRECATED
|
|
586
|
-
XMLPUBFUN void xmlParserInputShrink (
|
|
539
|
+
XMLPUBFUN void xmlParserInputShrink (xmlParserInput *in);
|
|
587
540
|
|
|
588
541
|
#ifdef __cplusplus
|
|
589
542
|
}
|