lxml 5.3.2__cp312-cp312-macosx_10_9_universal2.whl → 5.4.0__cp312-cp312-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.
Files changed (40) hide show
  1. lxml/__init__.py +1 -1
  2. lxml/_elementpath.cpython-312-darwin.so +0 -0
  3. lxml/builder.cpython-312-darwin.so +0 -0
  4. lxml/etree.cpython-312-darwin.so +0 -0
  5. lxml/html/diff.cpython-312-darwin.so +0 -0
  6. lxml/includes/libexslt/exsltconfig.h +3 -3
  7. lxml/includes/libxml/HTMLparser.h +12 -19
  8. lxml/includes/libxml/c14n.h +1 -12
  9. lxml/includes/libxml/debugXML.h +1 -1
  10. lxml/includes/libxml/encoding.h +9 -0
  11. lxml/includes/libxml/entities.h +12 -1
  12. lxml/includes/libxml/hash.h +19 -0
  13. lxml/includes/libxml/list.h +2 -2
  14. lxml/includes/libxml/nanohttp.h +17 -0
  15. lxml/includes/libxml/parser.h +60 -54
  16. lxml/includes/libxml/parserInternals.h +9 -1
  17. lxml/includes/libxml/tree.h +32 -12
  18. lxml/includes/libxml/uri.h +11 -0
  19. lxml/includes/libxml/valid.h +29 -2
  20. lxml/includes/libxml/xinclude.h +7 -0
  21. lxml/includes/libxml/xmlIO.h +21 -4
  22. lxml/includes/libxml/xmlerror.h +14 -0
  23. lxml/includes/libxml/xmlexports.h +111 -15
  24. lxml/includes/libxml/xmlmemory.h +8 -45
  25. lxml/includes/libxml/xmlreader.h +2 -0
  26. lxml/includes/libxml/xmlsave.h +5 -0
  27. lxml/includes/libxml/xmlunicode.h +165 -1
  28. lxml/includes/libxml/xmlversion.h +7 -171
  29. lxml/includes/libxml/xmlwriter.h +1 -0
  30. lxml/includes/libxml/xpath.h +4 -0
  31. lxml/includes/libxslt/xsltconfig.h +6 -6
  32. lxml/includes/lxml-version.h +1 -1
  33. lxml/objectify.cpython-312-darwin.so +0 -0
  34. lxml/sax.cpython-312-darwin.so +0 -0
  35. {lxml-5.3.2.dist-info → lxml-5.4.0.dist-info}/METADATA +7 -11
  36. {lxml-5.3.2.dist-info → lxml-5.4.0.dist-info}/RECORD +40 -40
  37. {lxml-5.3.2.dist-info → lxml-5.4.0.dist-info}/WHEEL +1 -1
  38. {lxml-5.3.2.dist-info → lxml-5.4.0.dist-info}/licenses/LICENSE.txt +0 -0
  39. {lxml-5.3.2.dist-info → lxml-5.4.0.dist-info}/licenses/LICENSES.txt +0 -0
  40. {lxml-5.3.2.dist-info → lxml-5.4.0.dist-info}/top_level.txt +0 -0
@@ -147,12 +147,16 @@ XMLPUBFUN int
147
147
  xmlMemUsed (void);
148
148
  XMLPUBFUN int
149
149
  xmlMemBlocks (void);
150
+ XML_DEPRECATED
150
151
  XMLPUBFUN void
151
152
  xmlMemDisplay (FILE *fp);
153
+ XML_DEPRECATED
152
154
  XMLPUBFUN void
153
155
  xmlMemDisplayLast(FILE *fp, long nbBytes);
156
+ XML_DEPRECATED
154
157
  XMLPUBFUN void
155
158
  xmlMemShow (FILE *fp, int nr);
159
+ XML_DEPRECATED
156
160
  XMLPUBFUN void
157
161
  xmlMemoryDump (void);
158
162
  XMLPUBFUN void *
@@ -163,60 +167,19 @@ XMLPUBFUN void
163
167
  xmlMemFree (void *ptr);
164
168
  XMLPUBFUN char *
165
169
  xmlMemoryStrdup (const char *str);
170
+ XML_DEPRECATED
166
171
  XMLPUBFUN void *
167
172
  xmlMallocLoc (size_t size, const char *file, int line) LIBXML_ATTR_ALLOC_SIZE(1);
173
+ XML_DEPRECATED
168
174
  XMLPUBFUN void *
169
175
  xmlReallocLoc (void *ptr, size_t size, const char *file, int line);
176
+ XML_DEPRECATED
170
177
  XMLPUBFUN void *
171
178
  xmlMallocAtomicLoc (size_t size, const char *file, int line) LIBXML_ATTR_ALLOC_SIZE(1);
179
+ XML_DEPRECATED
172
180
  XMLPUBFUN char *
173
181
  xmlMemStrdupLoc (const char *str, const char *file, int line);
174
182
 
175
-
176
- /** DOC_DISABLE */
177
- #ifdef DEBUG_MEMORY_LOCATION
178
- /**
179
- * xmlMalloc:
180
- * @size: number of bytes to allocate
181
- *
182
- * Wrapper for the malloc() function used in the XML library.
183
- *
184
- * Returns the pointer to the allocated area or NULL in case of error.
185
- */
186
- #define xmlMalloc(size) xmlMallocLoc((size), __FILE__, __LINE__)
187
- /**
188
- * xmlMallocAtomic:
189
- * @size: number of bytes to allocate
190
- *
191
- * Wrapper for the malloc() function used in the XML library for allocation
192
- * of block not containing pointers to other areas.
193
- *
194
- * Returns the pointer to the allocated area or NULL in case of error.
195
- */
196
- #define xmlMallocAtomic(size) xmlMallocAtomicLoc((size), __FILE__, __LINE__)
197
- /**
198
- * xmlRealloc:
199
- * @ptr: pointer to the existing allocated area
200
- * @size: number of bytes to allocate
201
- *
202
- * Wrapper for the realloc() function used in the XML library.
203
- *
204
- * Returns the pointer to the allocated area or NULL in case of error.
205
- */
206
- #define xmlRealloc(ptr, size) xmlReallocLoc((ptr), (size), __FILE__, __LINE__)
207
- /**
208
- * xmlMemStrdup:
209
- * @str: pointer to the existing string
210
- *
211
- * Wrapper for the strdup() function, xmlStrdup() is usually preferred.
212
- *
213
- * Returns the pointer to the allocated area or NULL in case of error.
214
- */
215
- #define xmlMemStrdup(str) xmlMemStrdupLoc((str), __FILE__, __LINE__)
216
-
217
- #endif /* DEBUG_MEMORY_LOCATION */
218
- /** DOC_ENABLE */
219
-
220
183
  #ifdef __cplusplus
221
184
  }
222
185
  #endif /* __cplusplus */
@@ -127,6 +127,8 @@ XMLPUBFUN int
127
127
  XMLPUBFUN void
128
128
  xmlTextReaderSetMaxAmplification(xmlTextReaderPtr reader,
129
129
  unsigned maxAmpl);
130
+ XMLPUBFUN const xmlError *
131
+ xmlTextReaderGetLastError(xmlTextReaderPtr reader);
130
132
 
131
133
  /*
132
134
  * Iterators
@@ -73,6 +73,8 @@ XMLPUBFUN int
73
73
  xmlSaveFlush (xmlSaveCtxtPtr ctxt);
74
74
  XMLPUBFUN int
75
75
  xmlSaveClose (xmlSaveCtxtPtr ctxt);
76
+ XMLPUBFUN int
77
+ xmlSaveFinish (xmlSaveCtxtPtr ctxt);
76
78
  XMLPUBFUN int
77
79
  xmlSaveSetEscape (xmlSaveCtxtPtr ctxt,
78
80
  xmlCharEncodingOutputFunc escape);
@@ -80,10 +82,13 @@ XMLPUBFUN int
80
82
  xmlSaveSetAttrEscape (xmlSaveCtxtPtr ctxt,
81
83
  xmlCharEncodingOutputFunc escape);
82
84
 
85
+ XML_DEPRECATED
83
86
  XMLPUBFUN int
84
87
  xmlThrDefIndentTreeOutput(int v);
88
+ XML_DEPRECATED
85
89
  XMLPUBFUN const char *
86
90
  xmlThrDefTreeIndentString(const char * v);
91
+ XML_DEPRECATED
87
92
  XMLPUBFUN int
88
93
  xmlThrDefSaveNoEmptyTags(int v);
89
94
 
@@ -7,7 +7,7 @@
7
7
  * http://www.unicode.org/Public/4.0-Update1/UCD-4.0.1.html
8
8
  * using the genUnicode.py Python script.
9
9
  *
10
- * Generation date: Mon Mar 27 11:09:52 2006
10
+ * Generation date: Tue Apr 30 17:30:38 2024
11
11
  * Sources: Blocks-4.0.1.txt UnicodeData-4.0.1.txt
12
12
  * Author: Daniel Veillard
13
13
  */
@@ -23,172 +23,336 @@
23
23
  extern "C" {
24
24
  #endif
25
25
 
26
+ XML_DEPRECATED
26
27
  XMLPUBFUN int xmlUCSIsAegeanNumbers (int code);
28
+ XML_DEPRECATED
27
29
  XMLPUBFUN int xmlUCSIsAlphabeticPresentationForms (int code);
30
+ XML_DEPRECATED
28
31
  XMLPUBFUN int xmlUCSIsArabic (int code);
32
+ XML_DEPRECATED
29
33
  XMLPUBFUN int xmlUCSIsArabicPresentationFormsA (int code);
34
+ XML_DEPRECATED
30
35
  XMLPUBFUN int xmlUCSIsArabicPresentationFormsB (int code);
36
+ XML_DEPRECATED
31
37
  XMLPUBFUN int xmlUCSIsArmenian (int code);
38
+ XML_DEPRECATED
32
39
  XMLPUBFUN int xmlUCSIsArrows (int code);
40
+ XML_DEPRECATED
33
41
  XMLPUBFUN int xmlUCSIsBasicLatin (int code);
42
+ XML_DEPRECATED
34
43
  XMLPUBFUN int xmlUCSIsBengali (int code);
44
+ XML_DEPRECATED
35
45
  XMLPUBFUN int xmlUCSIsBlockElements (int code);
46
+ XML_DEPRECATED
36
47
  XMLPUBFUN int xmlUCSIsBopomofo (int code);
48
+ XML_DEPRECATED
37
49
  XMLPUBFUN int xmlUCSIsBopomofoExtended (int code);
50
+ XML_DEPRECATED
38
51
  XMLPUBFUN int xmlUCSIsBoxDrawing (int code);
52
+ XML_DEPRECATED
39
53
  XMLPUBFUN int xmlUCSIsBraillePatterns (int code);
54
+ XML_DEPRECATED
40
55
  XMLPUBFUN int xmlUCSIsBuhid (int code);
56
+ XML_DEPRECATED
41
57
  XMLPUBFUN int xmlUCSIsByzantineMusicalSymbols (int code);
58
+ XML_DEPRECATED
42
59
  XMLPUBFUN int xmlUCSIsCJKCompatibility (int code);
60
+ XML_DEPRECATED
43
61
  XMLPUBFUN int xmlUCSIsCJKCompatibilityForms (int code);
62
+ XML_DEPRECATED
44
63
  XMLPUBFUN int xmlUCSIsCJKCompatibilityIdeographs (int code);
64
+ XML_DEPRECATED
45
65
  XMLPUBFUN int xmlUCSIsCJKCompatibilityIdeographsSupplement (int code);
66
+ XML_DEPRECATED
46
67
  XMLPUBFUN int xmlUCSIsCJKRadicalsSupplement (int code);
68
+ XML_DEPRECATED
47
69
  XMLPUBFUN int xmlUCSIsCJKSymbolsandPunctuation (int code);
70
+ XML_DEPRECATED
48
71
  XMLPUBFUN int xmlUCSIsCJKUnifiedIdeographs (int code);
72
+ XML_DEPRECATED
49
73
  XMLPUBFUN int xmlUCSIsCJKUnifiedIdeographsExtensionA (int code);
74
+ XML_DEPRECATED
50
75
  XMLPUBFUN int xmlUCSIsCJKUnifiedIdeographsExtensionB (int code);
76
+ XML_DEPRECATED
51
77
  XMLPUBFUN int xmlUCSIsCherokee (int code);
78
+ XML_DEPRECATED
52
79
  XMLPUBFUN int xmlUCSIsCombiningDiacriticalMarks (int code);
80
+ XML_DEPRECATED
53
81
  XMLPUBFUN int xmlUCSIsCombiningDiacriticalMarksforSymbols (int code);
82
+ XML_DEPRECATED
54
83
  XMLPUBFUN int xmlUCSIsCombiningHalfMarks (int code);
84
+ XML_DEPRECATED
55
85
  XMLPUBFUN int xmlUCSIsCombiningMarksforSymbols (int code);
86
+ XML_DEPRECATED
56
87
  XMLPUBFUN int xmlUCSIsControlPictures (int code);
88
+ XML_DEPRECATED
57
89
  XMLPUBFUN int xmlUCSIsCurrencySymbols (int code);
90
+ XML_DEPRECATED
58
91
  XMLPUBFUN int xmlUCSIsCypriotSyllabary (int code);
92
+ XML_DEPRECATED
59
93
  XMLPUBFUN int xmlUCSIsCyrillic (int code);
94
+ XML_DEPRECATED
60
95
  XMLPUBFUN int xmlUCSIsCyrillicSupplement (int code);
96
+ XML_DEPRECATED
61
97
  XMLPUBFUN int xmlUCSIsDeseret (int code);
98
+ XML_DEPRECATED
62
99
  XMLPUBFUN int xmlUCSIsDevanagari (int code);
100
+ XML_DEPRECATED
63
101
  XMLPUBFUN int xmlUCSIsDingbats (int code);
102
+ XML_DEPRECATED
64
103
  XMLPUBFUN int xmlUCSIsEnclosedAlphanumerics (int code);
104
+ XML_DEPRECATED
65
105
  XMLPUBFUN int xmlUCSIsEnclosedCJKLettersandMonths (int code);
106
+ XML_DEPRECATED
66
107
  XMLPUBFUN int xmlUCSIsEthiopic (int code);
108
+ XML_DEPRECATED
67
109
  XMLPUBFUN int xmlUCSIsGeneralPunctuation (int code);
110
+ XML_DEPRECATED
68
111
  XMLPUBFUN int xmlUCSIsGeometricShapes (int code);
112
+ XML_DEPRECATED
69
113
  XMLPUBFUN int xmlUCSIsGeorgian (int code);
114
+ XML_DEPRECATED
70
115
  XMLPUBFUN int xmlUCSIsGothic (int code);
116
+ XML_DEPRECATED
71
117
  XMLPUBFUN int xmlUCSIsGreek (int code);
118
+ XML_DEPRECATED
72
119
  XMLPUBFUN int xmlUCSIsGreekExtended (int code);
120
+ XML_DEPRECATED
73
121
  XMLPUBFUN int xmlUCSIsGreekandCoptic (int code);
122
+ XML_DEPRECATED
74
123
  XMLPUBFUN int xmlUCSIsGujarati (int code);
124
+ XML_DEPRECATED
75
125
  XMLPUBFUN int xmlUCSIsGurmukhi (int code);
126
+ XML_DEPRECATED
76
127
  XMLPUBFUN int xmlUCSIsHalfwidthandFullwidthForms (int code);
128
+ XML_DEPRECATED
77
129
  XMLPUBFUN int xmlUCSIsHangulCompatibilityJamo (int code);
130
+ XML_DEPRECATED
78
131
  XMLPUBFUN int xmlUCSIsHangulJamo (int code);
132
+ XML_DEPRECATED
79
133
  XMLPUBFUN int xmlUCSIsHangulSyllables (int code);
134
+ XML_DEPRECATED
80
135
  XMLPUBFUN int xmlUCSIsHanunoo (int code);
136
+ XML_DEPRECATED
81
137
  XMLPUBFUN int xmlUCSIsHebrew (int code);
138
+ XML_DEPRECATED
82
139
  XMLPUBFUN int xmlUCSIsHighPrivateUseSurrogates (int code);
140
+ XML_DEPRECATED
83
141
  XMLPUBFUN int xmlUCSIsHighSurrogates (int code);
142
+ XML_DEPRECATED
84
143
  XMLPUBFUN int xmlUCSIsHiragana (int code);
144
+ XML_DEPRECATED
85
145
  XMLPUBFUN int xmlUCSIsIPAExtensions (int code);
146
+ XML_DEPRECATED
86
147
  XMLPUBFUN int xmlUCSIsIdeographicDescriptionCharacters (int code);
148
+ XML_DEPRECATED
87
149
  XMLPUBFUN int xmlUCSIsKanbun (int code);
150
+ XML_DEPRECATED
88
151
  XMLPUBFUN int xmlUCSIsKangxiRadicals (int code);
152
+ XML_DEPRECATED
89
153
  XMLPUBFUN int xmlUCSIsKannada (int code);
154
+ XML_DEPRECATED
90
155
  XMLPUBFUN int xmlUCSIsKatakana (int code);
156
+ XML_DEPRECATED
91
157
  XMLPUBFUN int xmlUCSIsKatakanaPhoneticExtensions (int code);
158
+ XML_DEPRECATED
92
159
  XMLPUBFUN int xmlUCSIsKhmer (int code);
160
+ XML_DEPRECATED
93
161
  XMLPUBFUN int xmlUCSIsKhmerSymbols (int code);
162
+ XML_DEPRECATED
94
163
  XMLPUBFUN int xmlUCSIsLao (int code);
164
+ XML_DEPRECATED
95
165
  XMLPUBFUN int xmlUCSIsLatin1Supplement (int code);
166
+ XML_DEPRECATED
96
167
  XMLPUBFUN int xmlUCSIsLatinExtendedA (int code);
168
+ XML_DEPRECATED
97
169
  XMLPUBFUN int xmlUCSIsLatinExtendedB (int code);
170
+ XML_DEPRECATED
98
171
  XMLPUBFUN int xmlUCSIsLatinExtendedAdditional (int code);
172
+ XML_DEPRECATED
99
173
  XMLPUBFUN int xmlUCSIsLetterlikeSymbols (int code);
174
+ XML_DEPRECATED
100
175
  XMLPUBFUN int xmlUCSIsLimbu (int code);
176
+ XML_DEPRECATED
101
177
  XMLPUBFUN int xmlUCSIsLinearBIdeograms (int code);
178
+ XML_DEPRECATED
102
179
  XMLPUBFUN int xmlUCSIsLinearBSyllabary (int code);
180
+ XML_DEPRECATED
103
181
  XMLPUBFUN int xmlUCSIsLowSurrogates (int code);
182
+ XML_DEPRECATED
104
183
  XMLPUBFUN int xmlUCSIsMalayalam (int code);
184
+ XML_DEPRECATED
105
185
  XMLPUBFUN int xmlUCSIsMathematicalAlphanumericSymbols (int code);
186
+ XML_DEPRECATED
106
187
  XMLPUBFUN int xmlUCSIsMathematicalOperators (int code);
188
+ XML_DEPRECATED
107
189
  XMLPUBFUN int xmlUCSIsMiscellaneousMathematicalSymbolsA (int code);
190
+ XML_DEPRECATED
108
191
  XMLPUBFUN int xmlUCSIsMiscellaneousMathematicalSymbolsB (int code);
192
+ XML_DEPRECATED
109
193
  XMLPUBFUN int xmlUCSIsMiscellaneousSymbols (int code);
194
+ XML_DEPRECATED
110
195
  XMLPUBFUN int xmlUCSIsMiscellaneousSymbolsandArrows (int code);
196
+ XML_DEPRECATED
111
197
  XMLPUBFUN int xmlUCSIsMiscellaneousTechnical (int code);
198
+ XML_DEPRECATED
112
199
  XMLPUBFUN int xmlUCSIsMongolian (int code);
200
+ XML_DEPRECATED
113
201
  XMLPUBFUN int xmlUCSIsMusicalSymbols (int code);
202
+ XML_DEPRECATED
114
203
  XMLPUBFUN int xmlUCSIsMyanmar (int code);
204
+ XML_DEPRECATED
115
205
  XMLPUBFUN int xmlUCSIsNumberForms (int code);
206
+ XML_DEPRECATED
116
207
  XMLPUBFUN int xmlUCSIsOgham (int code);
208
+ XML_DEPRECATED
117
209
  XMLPUBFUN int xmlUCSIsOldItalic (int code);
210
+ XML_DEPRECATED
118
211
  XMLPUBFUN int xmlUCSIsOpticalCharacterRecognition (int code);
212
+ XML_DEPRECATED
119
213
  XMLPUBFUN int xmlUCSIsOriya (int code);
214
+ XML_DEPRECATED
120
215
  XMLPUBFUN int xmlUCSIsOsmanya (int code);
216
+ XML_DEPRECATED
121
217
  XMLPUBFUN int xmlUCSIsPhoneticExtensions (int code);
218
+ XML_DEPRECATED
122
219
  XMLPUBFUN int xmlUCSIsPrivateUse (int code);
220
+ XML_DEPRECATED
123
221
  XMLPUBFUN int xmlUCSIsPrivateUseArea (int code);
222
+ XML_DEPRECATED
124
223
  XMLPUBFUN int xmlUCSIsRunic (int code);
224
+ XML_DEPRECATED
125
225
  XMLPUBFUN int xmlUCSIsShavian (int code);
226
+ XML_DEPRECATED
126
227
  XMLPUBFUN int xmlUCSIsSinhala (int code);
228
+ XML_DEPRECATED
127
229
  XMLPUBFUN int xmlUCSIsSmallFormVariants (int code);
230
+ XML_DEPRECATED
128
231
  XMLPUBFUN int xmlUCSIsSpacingModifierLetters (int code);
232
+ XML_DEPRECATED
129
233
  XMLPUBFUN int xmlUCSIsSpecials (int code);
234
+ XML_DEPRECATED
130
235
  XMLPUBFUN int xmlUCSIsSuperscriptsandSubscripts (int code);
236
+ XML_DEPRECATED
131
237
  XMLPUBFUN int xmlUCSIsSupplementalArrowsA (int code);
238
+ XML_DEPRECATED
132
239
  XMLPUBFUN int xmlUCSIsSupplementalArrowsB (int code);
240
+ XML_DEPRECATED
133
241
  XMLPUBFUN int xmlUCSIsSupplementalMathematicalOperators (int code);
242
+ XML_DEPRECATED
134
243
  XMLPUBFUN int xmlUCSIsSupplementaryPrivateUseAreaA (int code);
244
+ XML_DEPRECATED
135
245
  XMLPUBFUN int xmlUCSIsSupplementaryPrivateUseAreaB (int code);
246
+ XML_DEPRECATED
136
247
  XMLPUBFUN int xmlUCSIsSyriac (int code);
248
+ XML_DEPRECATED
137
249
  XMLPUBFUN int xmlUCSIsTagalog (int code);
250
+ XML_DEPRECATED
138
251
  XMLPUBFUN int xmlUCSIsTagbanwa (int code);
252
+ XML_DEPRECATED
139
253
  XMLPUBFUN int xmlUCSIsTags (int code);
254
+ XML_DEPRECATED
140
255
  XMLPUBFUN int xmlUCSIsTaiLe (int code);
256
+ XML_DEPRECATED
141
257
  XMLPUBFUN int xmlUCSIsTaiXuanJingSymbols (int code);
258
+ XML_DEPRECATED
142
259
  XMLPUBFUN int xmlUCSIsTamil (int code);
260
+ XML_DEPRECATED
143
261
  XMLPUBFUN int xmlUCSIsTelugu (int code);
262
+ XML_DEPRECATED
144
263
  XMLPUBFUN int xmlUCSIsThaana (int code);
264
+ XML_DEPRECATED
145
265
  XMLPUBFUN int xmlUCSIsThai (int code);
266
+ XML_DEPRECATED
146
267
  XMLPUBFUN int xmlUCSIsTibetan (int code);
268
+ XML_DEPRECATED
147
269
  XMLPUBFUN int xmlUCSIsUgaritic (int code);
270
+ XML_DEPRECATED
148
271
  XMLPUBFUN int xmlUCSIsUnifiedCanadianAboriginalSyllabics (int code);
272
+ XML_DEPRECATED
149
273
  XMLPUBFUN int xmlUCSIsVariationSelectors (int code);
274
+ XML_DEPRECATED
150
275
  XMLPUBFUN int xmlUCSIsVariationSelectorsSupplement (int code);
276
+ XML_DEPRECATED
151
277
  XMLPUBFUN int xmlUCSIsYiRadicals (int code);
278
+ XML_DEPRECATED
152
279
  XMLPUBFUN int xmlUCSIsYiSyllables (int code);
280
+ XML_DEPRECATED
153
281
  XMLPUBFUN int xmlUCSIsYijingHexagramSymbols (int code);
154
282
 
155
283
  XMLPUBFUN int xmlUCSIsBlock (int code, const char *block);
156
284
 
285
+ XML_DEPRECATED
157
286
  XMLPUBFUN int xmlUCSIsCatC (int code);
287
+ XML_DEPRECATED
158
288
  XMLPUBFUN int xmlUCSIsCatCc (int code);
289
+ XML_DEPRECATED
159
290
  XMLPUBFUN int xmlUCSIsCatCf (int code);
291
+ XML_DEPRECATED
160
292
  XMLPUBFUN int xmlUCSIsCatCo (int code);
293
+ XML_DEPRECATED
161
294
  XMLPUBFUN int xmlUCSIsCatCs (int code);
295
+ XML_DEPRECATED
162
296
  XMLPUBFUN int xmlUCSIsCatL (int code);
297
+ XML_DEPRECATED
163
298
  XMLPUBFUN int xmlUCSIsCatLl (int code);
299
+ XML_DEPRECATED
164
300
  XMLPUBFUN int xmlUCSIsCatLm (int code);
301
+ XML_DEPRECATED
165
302
  XMLPUBFUN int xmlUCSIsCatLo (int code);
303
+ XML_DEPRECATED
166
304
  XMLPUBFUN int xmlUCSIsCatLt (int code);
305
+ XML_DEPRECATED
167
306
  XMLPUBFUN int xmlUCSIsCatLu (int code);
307
+ XML_DEPRECATED
168
308
  XMLPUBFUN int xmlUCSIsCatM (int code);
309
+ XML_DEPRECATED
169
310
  XMLPUBFUN int xmlUCSIsCatMc (int code);
311
+ XML_DEPRECATED
170
312
  XMLPUBFUN int xmlUCSIsCatMe (int code);
313
+ XML_DEPRECATED
171
314
  XMLPUBFUN int xmlUCSIsCatMn (int code);
315
+ XML_DEPRECATED
172
316
  XMLPUBFUN int xmlUCSIsCatN (int code);
317
+ XML_DEPRECATED
173
318
  XMLPUBFUN int xmlUCSIsCatNd (int code);
319
+ XML_DEPRECATED
174
320
  XMLPUBFUN int xmlUCSIsCatNl (int code);
321
+ XML_DEPRECATED
175
322
  XMLPUBFUN int xmlUCSIsCatNo (int code);
323
+ XML_DEPRECATED
176
324
  XMLPUBFUN int xmlUCSIsCatP (int code);
325
+ XML_DEPRECATED
177
326
  XMLPUBFUN int xmlUCSIsCatPc (int code);
327
+ XML_DEPRECATED
178
328
  XMLPUBFUN int xmlUCSIsCatPd (int code);
329
+ XML_DEPRECATED
179
330
  XMLPUBFUN int xmlUCSIsCatPe (int code);
331
+ XML_DEPRECATED
180
332
  XMLPUBFUN int xmlUCSIsCatPf (int code);
333
+ XML_DEPRECATED
181
334
  XMLPUBFUN int xmlUCSIsCatPi (int code);
335
+ XML_DEPRECATED
182
336
  XMLPUBFUN int xmlUCSIsCatPo (int code);
337
+ XML_DEPRECATED
183
338
  XMLPUBFUN int xmlUCSIsCatPs (int code);
339
+ XML_DEPRECATED
184
340
  XMLPUBFUN int xmlUCSIsCatS (int code);
341
+ XML_DEPRECATED
185
342
  XMLPUBFUN int xmlUCSIsCatSc (int code);
343
+ XML_DEPRECATED
186
344
  XMLPUBFUN int xmlUCSIsCatSk (int code);
345
+ XML_DEPRECATED
187
346
  XMLPUBFUN int xmlUCSIsCatSm (int code);
347
+ XML_DEPRECATED
188
348
  XMLPUBFUN int xmlUCSIsCatSo (int code);
349
+ XML_DEPRECATED
189
350
  XMLPUBFUN int xmlUCSIsCatZ (int code);
351
+ XML_DEPRECATED
190
352
  XMLPUBFUN int xmlUCSIsCatZl (int code);
353
+ XML_DEPRECATED
191
354
  XMLPUBFUN int xmlUCSIsCatZp (int code);
355
+ XML_DEPRECATED
192
356
  XMLPUBFUN int xmlUCSIsCatZs (int code);
193
357
 
194
358
  XMLPUBFUN int xmlUCSIsCat (int code, const char *cat);
@@ -10,40 +10,26 @@
10
10
  #ifndef __XML_VERSION_H__
11
11
  #define __XML_VERSION_H__
12
12
 
13
- #include <libxml/xmlexports.h>
14
-
15
- #ifdef __cplusplus
16
- extern "C" {
17
- #endif
18
-
19
- /*
20
- * use those to be sure nothing nasty will happen if
21
- * your library and includes mismatch
22
- */
23
- #ifndef LIBXML2_COMPILING_MSCCDEF
24
- XMLPUBFUN void xmlCheckVersion(int version);
25
- #endif /* LIBXML2_COMPILING_MSCCDEF */
26
-
27
13
  /**
28
14
  * LIBXML_DOTTED_VERSION:
29
15
  *
30
16
  * the version string like "1.2.3"
31
17
  */
32
- #define LIBXML_DOTTED_VERSION "2.12.10"
18
+ #define LIBXML_DOTTED_VERSION "2.13.8"
33
19
 
34
20
  /**
35
21
  * LIBXML_VERSION:
36
22
  *
37
23
  * the version number: 1.2.3 value is 10203
38
24
  */
39
- #define LIBXML_VERSION 21210
25
+ #define LIBXML_VERSION 21308
40
26
 
41
27
  /**
42
28
  * LIBXML_VERSION_STRING:
43
29
  *
44
30
  * the version number string, 1.2.3 value is "10203"
45
31
  */
46
- #define LIBXML_VERSION_STRING "21210"
32
+ #define LIBXML_VERSION_STRING "21308"
47
33
 
48
34
  /**
49
35
  * LIBXML_VERSION_EXTRA:
@@ -58,32 +44,7 @@ XMLPUBFUN void xmlCheckVersion(int version);
58
44
  * Macro to check that the libxml version in use is compatible with
59
45
  * the version the software has been compiled against
60
46
  */
61
- #define LIBXML_TEST_VERSION xmlCheckVersion(21210);
62
-
63
- #ifndef VMS
64
- #if 0
65
- /**
66
- * WITH_TRIO:
67
- *
68
- * defined if the trio support need to be configured in
69
- */
70
- #define WITH_TRIO
71
- #else
72
- /**
73
- * WITHOUT_TRIO:
74
- *
75
- * defined if the trio support should not be configured in
76
- */
77
- #define WITHOUT_TRIO
78
- #endif
79
- #else /* VMS */
80
- /**
81
- * WITH_TRIO:
82
- *
83
- * defined if the trio support need to be configured in
84
- */
85
- #define WITH_TRIO 1
86
- #endif /* VMS */
47
+ #define LIBXML_TEST_VERSION xmlCheckVersion(21308);
87
48
 
88
49
  /**
89
50
  * LIBXML_THREAD_ENABLED:
@@ -171,7 +132,7 @@ XMLPUBFUN void xmlCheckVersion(int version);
171
132
  *
172
133
  * Whether the FTP support is configured in
173
134
  */
174
- #if 0
135
+ #if 1
175
136
  #define LIBXML_FTP_ENABLED
176
137
  #endif
177
138
 
@@ -301,24 +262,6 @@ XMLPUBFUN void xmlCheckVersion(int version);
301
262
  #define LIBXML_DEBUG_ENABLED
302
263
  #endif
303
264
 
304
- /**
305
- * DEBUG_MEMORY_LOCATION:
306
- *
307
- * Whether the memory debugging is configured in
308
- */
309
- #if 0
310
- #define DEBUG_MEMORY_LOCATION
311
- #endif
312
-
313
- /**
314
- * LIBXML_DEBUG_RUNTIME:
315
- *
316
- * Removed
317
- */
318
- #if 0
319
- #define LIBXML_DEBUG_RUNTIME
320
- #endif
321
-
322
265
  /**
323
266
  * LIBXML_UNICODE_ENABLED:
324
267
  *
@@ -346,17 +289,6 @@ XMLPUBFUN void xmlCheckVersion(int version);
346
289
  #define LIBXML_AUTOMATA_ENABLED
347
290
  #endif
348
291
 
349
- /**
350
- * LIBXML_EXPR_ENABLED:
351
- *
352
- * Whether the formal expressions interfaces are compiled in
353
- *
354
- * This code is unused and disabled unconditionally for now.
355
- */
356
- #if 0
357
- #define LIBXML_EXPR_ENABLED
358
- #endif
359
-
360
292
  /**
361
293
  * LIBXML_SCHEMAS_ENABLED:
362
294
  *
@@ -408,104 +340,8 @@ XMLPUBFUN void xmlCheckVersion(int version);
408
340
  #define LIBXML_LZMA_ENABLED
409
341
  #endif
410
342
 
411
- #ifdef __GNUC__
412
- /** DOC_DISABLE */
413
-
414
- #ifndef ATTRIBUTE_UNUSED
415
- # if ((__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 7)))
416
- # define ATTRIBUTE_UNUSED __attribute__((unused))
417
- # else
418
- # define ATTRIBUTE_UNUSED
419
- # endif
420
- #endif
421
-
422
- #ifndef LIBXML_ATTR_ALLOC_SIZE
423
- # if (!defined(__clang__) && ((__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 3))))
424
- # define LIBXML_ATTR_ALLOC_SIZE(x) __attribute__((alloc_size(x)))
425
- # else
426
- # define LIBXML_ATTR_ALLOC_SIZE(x)
427
- # endif
428
- #else
429
- # define LIBXML_ATTR_ALLOC_SIZE(x)
430
- #endif
431
-
432
- #ifndef LIBXML_ATTR_FORMAT
433
- # if ((__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)))
434
- # define LIBXML_ATTR_FORMAT(fmt,args) __attribute__((__format__(__printf__,fmt,args)))
435
- # else
436
- # define LIBXML_ATTR_FORMAT(fmt,args)
437
- # endif
438
- #else
439
- # define LIBXML_ATTR_FORMAT(fmt,args)
440
- #endif
441
-
442
- #ifndef XML_DEPRECATED
443
- # if defined (IN_LIBXML) || (__GNUC__ * 100 + __GNUC_MINOR__ < 301)
444
- # define XML_DEPRECATED
445
- /* Available since at least GCC 3.1 */
446
- # else
447
- # define XML_DEPRECATED __attribute__((deprecated))
448
- # endif
449
- #endif
450
-
451
- #if defined(__clang__) || (__GNUC__ * 100 + __GNUC_MINOR__ >= 406)
452
- #if defined(__clang__) || (__GNUC__ * 100 + __GNUC_MINOR__ >= 800)
453
- #define XML_IGNORE_FPTR_CAST_WARNINGS \
454
- _Pragma("GCC diagnostic push") \
455
- _Pragma("GCC diagnostic ignored \"-Wpedantic\"") \
456
- _Pragma("GCC diagnostic ignored \"-Wcast-function-type\"")
457
- #else
458
- #define XML_IGNORE_FPTR_CAST_WARNINGS \
459
- _Pragma("GCC diagnostic push") \
460
- _Pragma("GCC diagnostic ignored \"-Wpedantic\"")
461
- #endif
462
- #define XML_POP_WARNINGS \
463
- _Pragma("GCC diagnostic pop")
464
- #else
465
- #define XML_IGNORE_FPTR_CAST_WARNINGS
466
- #define XML_POP_WARNINGS
467
- #endif
468
-
469
- #else /* ! __GNUC__ */
470
- #define ATTRIBUTE_UNUSED
471
- #define LIBXML_ATTR_ALLOC_SIZE(x)
472
- #define LIBXML_ATTR_FORMAT(fmt,args)
473
- #ifndef XML_DEPRECATED
474
- # if defined (IN_LIBXML) || !defined (_MSC_VER)
475
- # define XML_DEPRECATED
476
- /* Available since Visual Studio 2005 */
477
- # elif defined (_MSC_VER) && (_MSC_VER >= 1400)
478
- # define XML_DEPRECATED __declspec(deprecated)
479
- # endif
480
- #endif
481
- #if defined (_MSC_VER) && (_MSC_VER >= 1400)
482
- # define XML_IGNORE_FPTR_CAST_WARNINGS __pragma(warning(push))
483
- #else
484
- # define XML_IGNORE_FPTR_CAST_WARNINGS
485
- #endif
486
- #ifndef XML_POP_WARNINGS
487
- # if defined (_MSC_VER) && (_MSC_VER >= 1400)
488
- # define XML_POP_WARNINGS __pragma(warning(pop))
489
- # else
490
- # define XML_POP_WARNINGS
491
- # endif
492
- #endif
493
- #endif /* __GNUC__ */
494
-
495
- #define XML_NO_ATTR
496
-
497
- #ifdef LIBXML_THREAD_ENABLED
498
- #define XML_DECLARE_GLOBAL(name, type, attrs) \
499
- attrs XMLPUBFUN type *__##name(void);
500
- #define XML_GLOBAL_MACRO(name) (*__##name())
501
- #else
502
- #define XML_DECLARE_GLOBAL(name, type, attrs) \
503
- attrs XMLPUBVAR type name;
504
- #endif
505
-
506
- #ifdef __cplusplus
507
- }
508
- #endif /* __cplusplus */
343
+ #include <libxml/xmlexports.h>
344
+
509
345
  #endif
510
346
 
511
347
 
@@ -478,6 +478,7 @@ extern "C" {
478
478
  * misc
479
479
  */
480
480
  XMLPUBFUN int xmlTextWriterFlush(xmlTextWriterPtr writer);
481
+ XMLPUBFUN int xmlTextWriterClose(xmlTextWriterPtr writer);
481
482
 
482
483
  #ifdef __cplusplus
483
484
  }