nokogiri 1.16.8-x86-linux → 1.17.0-x86-linux

Sign up to get free protection for your applications and to get access to all the features.
Files changed (113) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +11 -21
  3. data/README.md +4 -0
  4. data/dependencies.yml +6 -6
  5. data/ext/nokogiri/extconf.rb +191 -137
  6. data/ext/nokogiri/gumbo.c +69 -53
  7. data/ext/nokogiri/html4_document.c +10 -4
  8. data/ext/nokogiri/html4_element_description.c +18 -18
  9. data/ext/nokogiri/html4_sax_parser.c +40 -0
  10. data/ext/nokogiri/html4_sax_parser_context.c +48 -58
  11. data/ext/nokogiri/html4_sax_push_parser.c +25 -24
  12. data/ext/nokogiri/include/libexslt/exsltconfig.h +3 -3
  13. data/ext/nokogiri/include/libxml2/libxml/HTMLparser.h +12 -19
  14. data/ext/nokogiri/include/libxml2/libxml/c14n.h +1 -12
  15. data/ext/nokogiri/include/libxml2/libxml/debugXML.h +1 -1
  16. data/ext/nokogiri/include/libxml2/libxml/encoding.h +9 -0
  17. data/ext/nokogiri/include/libxml2/libxml/entities.h +12 -1
  18. data/ext/nokogiri/include/libxml2/libxml/hash.h +19 -0
  19. data/ext/nokogiri/include/libxml2/libxml/list.h +2 -2
  20. data/ext/nokogiri/include/libxml2/libxml/nanohttp.h +17 -0
  21. data/ext/nokogiri/include/libxml2/libxml/parser.h +60 -54
  22. data/ext/nokogiri/include/libxml2/libxml/parserInternals.h +9 -1
  23. data/ext/nokogiri/include/libxml2/libxml/pattern.h +6 -0
  24. data/ext/nokogiri/include/libxml2/libxml/tree.h +32 -12
  25. data/ext/nokogiri/include/libxml2/libxml/uri.h +11 -0
  26. data/ext/nokogiri/include/libxml2/libxml/valid.h +29 -2
  27. data/ext/nokogiri/include/libxml2/libxml/xinclude.h +7 -0
  28. data/ext/nokogiri/include/libxml2/libxml/xmlIO.h +21 -4
  29. data/ext/nokogiri/include/libxml2/libxml/xmlerror.h +14 -0
  30. data/ext/nokogiri/include/libxml2/libxml/xmlexports.h +111 -15
  31. data/ext/nokogiri/include/libxml2/libxml/xmlmemory.h +8 -45
  32. data/ext/nokogiri/include/libxml2/libxml/xmlreader.h +2 -0
  33. data/ext/nokogiri/include/libxml2/libxml/xmlsave.h +5 -0
  34. data/ext/nokogiri/include/libxml2/libxml/xmlunicode.h +165 -1
  35. data/ext/nokogiri/include/libxml2/libxml/xmlversion.h +7 -171
  36. data/ext/nokogiri/include/libxml2/libxml/xmlwriter.h +1 -0
  37. data/ext/nokogiri/include/libxml2/libxml/xpath.h +4 -0
  38. data/ext/nokogiri/include/libxslt/xsltInternals.h +3 -0
  39. data/ext/nokogiri/include/libxslt/xsltconfig.h +4 -37
  40. data/ext/nokogiri/libxml2_polyfill.c +114 -0
  41. data/ext/nokogiri/nokogiri.c +9 -2
  42. data/ext/nokogiri/nokogiri.h +18 -33
  43. data/ext/nokogiri/xml_attr.c +1 -1
  44. data/ext/nokogiri/xml_cdata.c +2 -10
  45. data/ext/nokogiri/xml_comment.c +3 -8
  46. data/ext/nokogiri/xml_document.c +163 -156
  47. data/ext/nokogiri/xml_document_fragment.c +10 -25
  48. data/ext/nokogiri/xml_dtd.c +1 -1
  49. data/ext/nokogiri/xml_element_content.c +9 -9
  50. data/ext/nokogiri/xml_encoding_handler.c +4 -4
  51. data/ext/nokogiri/xml_namespace.c +6 -6
  52. data/ext/nokogiri/xml_node.c +130 -104
  53. data/ext/nokogiri/xml_node_set.c +46 -44
  54. data/ext/nokogiri/xml_reader.c +54 -58
  55. data/ext/nokogiri/xml_relax_ng.c +35 -56
  56. data/ext/nokogiri/xml_sax_parser.c +156 -88
  57. data/ext/nokogiri/xml_sax_parser_context.c +213 -131
  58. data/ext/nokogiri/xml_sax_push_parser.c +68 -49
  59. data/ext/nokogiri/xml_schema.c +50 -85
  60. data/ext/nokogiri/xml_syntax_error.c +19 -11
  61. data/ext/nokogiri/xml_text.c +2 -4
  62. data/ext/nokogiri/xml_xpath_context.c +2 -2
  63. data/ext/nokogiri/xslt_stylesheet.c +8 -8
  64. data/lib/nokogiri/3.0/nokogiri.so +0 -0
  65. data/lib/nokogiri/3.1/nokogiri.so +0 -0
  66. data/lib/nokogiri/3.2/nokogiri.so +0 -0
  67. data/lib/nokogiri/3.3/nokogiri.so +0 -0
  68. data/lib/nokogiri/class_resolver.rb +1 -1
  69. data/lib/nokogiri/css/node.rb +6 -2
  70. data/lib/nokogiri/css/parser.rb +6 -4
  71. data/lib/nokogiri/css/parser.y +2 -2
  72. data/lib/nokogiri/css/parser_extras.rb +6 -66
  73. data/lib/nokogiri/css/selector_cache.rb +38 -0
  74. data/lib/nokogiri/css/tokenizer.rb +4 -4
  75. data/lib/nokogiri/css/tokenizer.rex +9 -8
  76. data/lib/nokogiri/css/xpath_visitor.rb +42 -6
  77. data/lib/nokogiri/css.rb +86 -20
  78. data/lib/nokogiri/decorators/slop.rb +3 -5
  79. data/lib/nokogiri/encoding_handler.rb +2 -2
  80. data/lib/nokogiri/html4/document.rb +44 -23
  81. data/lib/nokogiri/html4/document_fragment.rb +124 -12
  82. data/lib/nokogiri/html4/encoding_reader.rb +1 -1
  83. data/lib/nokogiri/html4/sax/parser.rb +23 -38
  84. data/lib/nokogiri/html4/sax/parser_context.rb +4 -9
  85. data/lib/nokogiri/html4.rb +9 -14
  86. data/lib/nokogiri/html5/builder.rb +40 -0
  87. data/lib/nokogiri/html5/document.rb +61 -30
  88. data/lib/nokogiri/html5/document_fragment.rb +130 -20
  89. data/lib/nokogiri/html5/node.rb +4 -4
  90. data/lib/nokogiri/html5.rb +114 -72
  91. data/lib/nokogiri/version/constant.rb +1 -1
  92. data/lib/nokogiri/xml/builder.rb +8 -1
  93. data/lib/nokogiri/xml/document.rb +70 -26
  94. data/lib/nokogiri/xml/document_fragment.rb +84 -13
  95. data/lib/nokogiri/xml/node.rb +82 -11
  96. data/lib/nokogiri/xml/node_set.rb +9 -7
  97. data/lib/nokogiri/xml/parse_options.rb +1 -1
  98. data/lib/nokogiri/xml/pp/node.rb +6 -1
  99. data/lib/nokogiri/xml/reader.rb +46 -13
  100. data/lib/nokogiri/xml/relax_ng.rb +57 -20
  101. data/lib/nokogiri/xml/sax/document.rb +174 -83
  102. data/lib/nokogiri/xml/sax/parser.rb +115 -41
  103. data/lib/nokogiri/xml/sax/parser_context.rb +116 -8
  104. data/lib/nokogiri/xml/sax/push_parser.rb +3 -0
  105. data/lib/nokogiri/xml/sax.rb +48 -0
  106. data/lib/nokogiri/xml/schema.rb +112 -45
  107. data/lib/nokogiri/xml/searchable.rb +6 -8
  108. data/lib/nokogiri/xml/syntax_error.rb +22 -0
  109. data/lib/nokogiri/xml.rb +13 -24
  110. data/lib/nokogiri/xslt.rb +3 -9
  111. data/lib/xsd/xmlparser/nokogiri.rb +3 -4
  112. metadata +8 -4
  113. data/ext/nokogiri/libxml2_backwards_compat.c +0 -121
@@ -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.9"
18
+ #define LIBXML_DOTTED_VERSION "2.13.5"
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 21209
25
+ #define LIBXML_VERSION 21305
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 "21209"
32
+ #define LIBXML_VERSION_STRING "21305"
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(21209);
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(21305);
87
48
 
88
49
  /**
89
50
  * LIBXML_THREAD_ENABLED:
@@ -207,7 +168,7 @@ XMLPUBFUN void xmlCheckVersion(int version);
207
168
  *
208
169
  * Whether the deprecated APIs are compiled in for compatibility
209
170
  */
210
- #if 0
171
+ #if 1
211
172
  #define LIBXML_LEGACY_ENABLED
212
173
  #endif
213
174
 
@@ -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
  }
@@ -515,6 +515,10 @@ XMLPUBFUN xmlXPathContextPtr
515
515
  xmlXPathNewContext (xmlDocPtr doc);
516
516
  XMLPUBFUN void
517
517
  xmlXPathFreeContext (xmlXPathContextPtr ctxt);
518
+ XMLPUBFUN void
519
+ xmlXPathSetErrorHandler(xmlXPathContextPtr ctxt,
520
+ xmlStructuredErrorFunc handler,
521
+ void *context);
518
522
  XMLPUBFUN int
519
523
  xmlXPathContextSetCache(xmlXPathContextPtr ctxt,
520
524
  int active,
@@ -1634,6 +1634,9 @@ struct _xsltStylesheet {
1634
1634
  xmlHashTablePtr namedTemplates; /* hash table of named templates */
1635
1635
 
1636
1636
  xmlXPathContextPtr xpathCtxt;
1637
+
1638
+ unsigned long opLimit;
1639
+ unsigned long opCount;
1637
1640
  };
1638
1641
 
1639
1642
  typedef struct _xsltTransformCache xsltTransformCache;
@@ -20,21 +20,21 @@ extern "C" {
20
20
  *
21
21
  * the version string like "1.2.3"
22
22
  */
23
- #define LIBXSLT_DOTTED_VERSION "1.1.39"
23
+ #define LIBXSLT_DOTTED_VERSION "1.1.42"
24
24
 
25
25
  /**
26
26
  * LIBXSLT_VERSION:
27
27
  *
28
28
  * the version number: 1.2.3 value is 10203
29
29
  */
30
- #define LIBXSLT_VERSION 10139
30
+ #define LIBXSLT_VERSION 10142
31
31
 
32
32
  /**
33
33
  * LIBXSLT_VERSION_STRING:
34
34
  *
35
35
  * the version number string, 1.2.3 value is "10203"
36
36
  */
37
- #define LIBXSLT_VERSION_STRING "10139"
37
+ #define LIBXSLT_VERSION_STRING "10142"
38
38
 
39
39
  /**
40
40
  * LIBXSLT_VERSION_EXTRA:
@@ -54,26 +54,6 @@ extern "C" {
54
54
  #define WITH_XSLT_DEBUG
55
55
  #endif
56
56
 
57
- #if 0
58
- /**
59
- * DEBUG_MEMORY:
60
- *
61
- * should be activated only when debugging libxslt. It replaces the
62
- * allocator with a collect and debug shell to the libc allocator.
63
- * Use configure --with-mem-debug to activate it on both library
64
- */
65
- #define DEBUG_MEMORY
66
-
67
- /**
68
- * DEBUG_MEMORY_LOCATION:
69
- *
70
- * should be activated only when debugging libxslt.
71
- * DEBUG_MEMORY_LOCATION should be activated only when libxml has
72
- * been configured with --with-debug-mem too
73
- */
74
- #define DEBUG_MEMORY_LOCATION
75
- #endif
76
-
77
57
  /**
78
58
  * XSLT_NEED_TRIO:
79
59
  *
@@ -132,20 +112,7 @@ extern "C" {
132
112
  #ifndef WITH_MODULES
133
113
  #define WITH_MODULES
134
114
  #endif
135
- #define LIBXSLT_DEFAULT_PLUGINS_PATH() "/home/flavorjones/code/oss/nokogiri/ports/x86-linux/libxslt/1.1.39/lib/libxslt-plugins"
136
- #endif
137
-
138
- /**
139
- * ATTRIBUTE_UNUSED:
140
- *
141
- * This macro is used to flag unused function parameters to GCC
142
- */
143
- #ifdef __GNUC__
144
- #ifndef ATTRIBUTE_UNUSED
145
- #define ATTRIBUTE_UNUSED __attribute__((unused))
146
- #endif
147
- #else
148
- #define ATTRIBUTE_UNUSED
115
+ #define LIBXSLT_DEFAULT_PLUGINS_PATH() "/home/flavorjones/code/oss/nokogiri/ports/x86-linux/libxslt/1.1.42/lib/libxslt-plugins"
149
116
  #endif
150
117
 
151
118
  /**