nokolexbor 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (486) hide show
  1. checksums.yaml +7 -0
  2. data/ext/nokolexbor/config.h +186 -0
  3. data/ext/nokolexbor/extconf.rb +131 -0
  4. data/ext/nokolexbor/libxml/HTMLparser.h +320 -0
  5. data/ext/nokolexbor/libxml/SAX2.h +173 -0
  6. data/ext/nokolexbor/libxml/chvalid.h +230 -0
  7. data/ext/nokolexbor/libxml/debugXML.h +217 -0
  8. data/ext/nokolexbor/libxml/dict.h +81 -0
  9. data/ext/nokolexbor/libxml/encoding.h +232 -0
  10. data/ext/nokolexbor/libxml/entities.h +153 -0
  11. data/ext/nokolexbor/libxml/globals.h +529 -0
  12. data/ext/nokolexbor/libxml/hash.h +236 -0
  13. data/ext/nokolexbor/libxml/list.h +137 -0
  14. data/ext/nokolexbor/libxml/parser.h +1264 -0
  15. data/ext/nokolexbor/libxml/parserInternals.h +641 -0
  16. data/ext/nokolexbor/libxml/pattern.h +100 -0
  17. data/ext/nokolexbor/libxml/threads.h +94 -0
  18. data/ext/nokolexbor/libxml/tree.h +1315 -0
  19. data/ext/nokolexbor/libxml/uri.h +94 -0
  20. data/ext/nokolexbor/libxml/valid.h +448 -0
  21. data/ext/nokolexbor/libxml/xmlIO.h +369 -0
  22. data/ext/nokolexbor/libxml/xmlautomata.h +146 -0
  23. data/ext/nokolexbor/libxml/xmlerror.h +919 -0
  24. data/ext/nokolexbor/libxml/xmlexports.h +79 -0
  25. data/ext/nokolexbor/libxml/xmlmemory.h +226 -0
  26. data/ext/nokolexbor/libxml/xmlregexp.h +222 -0
  27. data/ext/nokolexbor/libxml/xmlstring.h +140 -0
  28. data/ext/nokolexbor/libxml/xmlversion.h +526 -0
  29. data/ext/nokolexbor/libxml/xpath.h +575 -0
  30. data/ext/nokolexbor/libxml/xpathInternals.h +632 -0
  31. data/ext/nokolexbor/libxml/xpointer.h +137 -0
  32. data/ext/nokolexbor/libxml.h +76 -0
  33. data/ext/nokolexbor/memory.c +39 -0
  34. data/ext/nokolexbor/nl_document.c +51 -0
  35. data/ext/nokolexbor/nl_node.c +790 -0
  36. data/ext/nokolexbor/nl_node_set.c +368 -0
  37. data/ext/nokolexbor/nl_xpath_context.c +200 -0
  38. data/ext/nokolexbor/nokolexbor.c +63 -0
  39. data/ext/nokolexbor/nokolexbor.h +37 -0
  40. data/ext/nokolexbor/private/buf.h +70 -0
  41. data/ext/nokolexbor/private/dict.h +11 -0
  42. data/ext/nokolexbor/private/enc.h +17 -0
  43. data/ext/nokolexbor/private/error.h +21 -0
  44. data/ext/nokolexbor/private/globals.h +9 -0
  45. data/ext/nokolexbor/private/memory.h +9 -0
  46. data/ext/nokolexbor/private/parser.h +27 -0
  47. data/ext/nokolexbor/private/string.h +9 -0
  48. data/ext/nokolexbor/private/threads.h +50 -0
  49. data/ext/nokolexbor/private/tree.h +18 -0
  50. data/ext/nokolexbor/private/xpath.h +7 -0
  51. data/ext/nokolexbor/timsort.h +601 -0
  52. data/ext/nokolexbor/xml_SAX2.c +80 -0
  53. data/ext/nokolexbor/xml_buf.c +363 -0
  54. data/ext/nokolexbor/xml_chvalid.c +334 -0
  55. data/ext/nokolexbor/xml_dict.c +1264 -0
  56. data/ext/nokolexbor/xml_encoding.c +124 -0
  57. data/ext/nokolexbor/xml_error.c +134 -0
  58. data/ext/nokolexbor/xml_globals.c +1085 -0
  59. data/ext/nokolexbor/xml_hash.c +1141 -0
  60. data/ext/nokolexbor/xml_memory.c +203 -0
  61. data/ext/nokolexbor/xml_parser.c +127 -0
  62. data/ext/nokolexbor/xml_parserInternals.c +338 -0
  63. data/ext/nokolexbor/xml_pattern.c +2375 -0
  64. data/ext/nokolexbor/xml_string.c +1051 -0
  65. data/ext/nokolexbor/xml_threads.c +881 -0
  66. data/ext/nokolexbor/xml_tree.c +148 -0
  67. data/ext/nokolexbor/xml_xpath.c +14743 -0
  68. data/lib/nokolexbor/attribute.rb +18 -0
  69. data/lib/nokolexbor/document.rb +6 -0
  70. data/lib/nokolexbor/node.rb +264 -0
  71. data/lib/nokolexbor/node_set.rb +124 -0
  72. data/lib/nokolexbor/version.rb +5 -0
  73. data/lib/nokolexbor/xpath_context.rb +14 -0
  74. data/lib/nokolexbor.rb +17 -0
  75. data/patches/0001-lexbor-support-text-pseudo-element.patch +137 -0
  76. data/patches/0002-lexbor-match-id-class-case-sensitive.patch +22 -0
  77. data/patches/0003-lexbor-attach-template-content-to-self.patch +13 -0
  78. data/vendor/lexbor/CMakeLists.txt +331 -0
  79. data/vendor/lexbor/config.cmake +890 -0
  80. data/vendor/lexbor/feature.cmake +134 -0
  81. data/vendor/lexbor/source/lexbor/core/array.c +208 -0
  82. data/vendor/lexbor/source/lexbor/core/array.h +100 -0
  83. data/vendor/lexbor/source/lexbor/core/array_obj.c +216 -0
  84. data/vendor/lexbor/source/lexbor/core/array_obj.h +134 -0
  85. data/vendor/lexbor/source/lexbor/core/avl.c +442 -0
  86. data/vendor/lexbor/source/lexbor/core/avl.h +82 -0
  87. data/vendor/lexbor/source/lexbor/core/base.h +86 -0
  88. data/vendor/lexbor/source/lexbor/core/bst.c +468 -0
  89. data/vendor/lexbor/source/lexbor/core/bst.h +108 -0
  90. data/vendor/lexbor/source/lexbor/core/bst_map.c +238 -0
  91. data/vendor/lexbor/source/lexbor/core/bst_map.h +87 -0
  92. data/vendor/lexbor/source/lexbor/core/config.cmake +12 -0
  93. data/vendor/lexbor/source/lexbor/core/conv.c +203 -0
  94. data/vendor/lexbor/source/lexbor/core/conv.h +53 -0
  95. data/vendor/lexbor/source/lexbor/core/core.h +35 -0
  96. data/vendor/lexbor/source/lexbor/core/def.h +57 -0
  97. data/vendor/lexbor/source/lexbor/core/diyfp.c +153 -0
  98. data/vendor/lexbor/source/lexbor/core/diyfp.h +258 -0
  99. data/vendor/lexbor/source/lexbor/core/dobject.c +187 -0
  100. data/vendor/lexbor/source/lexbor/core/dobject.h +92 -0
  101. data/vendor/lexbor/source/lexbor/core/dtoa.c +404 -0
  102. data/vendor/lexbor/source/lexbor/core/dtoa.h +28 -0
  103. data/vendor/lexbor/source/lexbor/core/fs.h +60 -0
  104. data/vendor/lexbor/source/lexbor/core/hash.c +476 -0
  105. data/vendor/lexbor/source/lexbor/core/hash.h +218 -0
  106. data/vendor/lexbor/source/lexbor/core/in.c +267 -0
  107. data/vendor/lexbor/source/lexbor/core/in.h +172 -0
  108. data/vendor/lexbor/source/lexbor/core/lexbor.h +35 -0
  109. data/vendor/lexbor/source/lexbor/core/mem.c +228 -0
  110. data/vendor/lexbor/source/lexbor/core/mem.h +141 -0
  111. data/vendor/lexbor/source/lexbor/core/mraw.c +428 -0
  112. data/vendor/lexbor/source/lexbor/core/mraw.h +114 -0
  113. data/vendor/lexbor/source/lexbor/core/perf.h +45 -0
  114. data/vendor/lexbor/source/lexbor/core/plog.c +73 -0
  115. data/vendor/lexbor/source/lexbor/core/plog.h +102 -0
  116. data/vendor/lexbor/source/lexbor/core/print.c +168 -0
  117. data/vendor/lexbor/source/lexbor/core/print.h +39 -0
  118. data/vendor/lexbor/source/lexbor/core/sbst.h +59 -0
  119. data/vendor/lexbor/source/lexbor/core/serialize.c +27 -0
  120. data/vendor/lexbor/source/lexbor/core/serialize.h +32 -0
  121. data/vendor/lexbor/source/lexbor/core/shs.c +118 -0
  122. data/vendor/lexbor/source/lexbor/core/shs.h +82 -0
  123. data/vendor/lexbor/source/lexbor/core/str.c +617 -0
  124. data/vendor/lexbor/source/lexbor/core/str.h +247 -0
  125. data/vendor/lexbor/source/lexbor/core/str_res.h +369 -0
  126. data/vendor/lexbor/source/lexbor/core/strtod.c +326 -0
  127. data/vendor/lexbor/source/lexbor/core/strtod.h +28 -0
  128. data/vendor/lexbor/source/lexbor/core/types.h +39 -0
  129. data/vendor/lexbor/source/lexbor/core/utils.c +43 -0
  130. data/vendor/lexbor/source/lexbor/core/utils.h +36 -0
  131. data/vendor/lexbor/source/lexbor/css/base.h +44 -0
  132. data/vendor/lexbor/source/lexbor/css/config.cmake +2 -0
  133. data/vendor/lexbor/source/lexbor/css/css.h +25 -0
  134. data/vendor/lexbor/source/lexbor/css/log.c +336 -0
  135. data/vendor/lexbor/source/lexbor/css/log.h +103 -0
  136. data/vendor/lexbor/source/lexbor/css/node.h +29 -0
  137. data/vendor/lexbor/source/lexbor/css/parser.c +473 -0
  138. data/vendor/lexbor/source/lexbor/css/parser.h +368 -0
  139. data/vendor/lexbor/source/lexbor/css/selectors/base.h +48 -0
  140. data/vendor/lexbor/source/lexbor/css/selectors/pseudo.c +91 -0
  141. data/vendor/lexbor/source/lexbor/css/selectors/pseudo.h +66 -0
  142. data/vendor/lexbor/source/lexbor/css/selectors/pseudo_const.h +109 -0
  143. data/vendor/lexbor/source/lexbor/css/selectors/pseudo_res.h +302 -0
  144. data/vendor/lexbor/source/lexbor/css/selectors/pseudo_state.c +279 -0
  145. data/vendor/lexbor/source/lexbor/css/selectors/pseudo_state.h +85 -0
  146. data/vendor/lexbor/source/lexbor/css/selectors/selector.c +927 -0
  147. data/vendor/lexbor/source/lexbor/css/selectors/selector.h +200 -0
  148. data/vendor/lexbor/source/lexbor/css/selectors/selectors.c +340 -0
  149. data/vendor/lexbor/source/lexbor/css/selectors/selectors.h +137 -0
  150. data/vendor/lexbor/source/lexbor/css/selectors/state.c +1718 -0
  151. data/vendor/lexbor/source/lexbor/css/selectors/state.h +79 -0
  152. data/vendor/lexbor/source/lexbor/css/stylesheet.h +37 -0
  153. data/vendor/lexbor/source/lexbor/css/syntax/anb.c +443 -0
  154. data/vendor/lexbor/source/lexbor/css/syntax/anb.h +45 -0
  155. data/vendor/lexbor/source/lexbor/css/syntax/base.h +33 -0
  156. data/vendor/lexbor/source/lexbor/css/syntax/parser.c +9 -0
  157. data/vendor/lexbor/source/lexbor/css/syntax/parser.h +25 -0
  158. data/vendor/lexbor/source/lexbor/css/syntax/res.h +48 -0
  159. data/vendor/lexbor/source/lexbor/css/syntax/state.c +2603 -0
  160. data/vendor/lexbor/source/lexbor/css/syntax/state.h +140 -0
  161. data/vendor/lexbor/source/lexbor/css/syntax/state_res.h +273 -0
  162. data/vendor/lexbor/source/lexbor/css/syntax/syntax.c +67 -0
  163. data/vendor/lexbor/source/lexbor/css/syntax/token.c +618 -0
  164. data/vendor/lexbor/source/lexbor/css/syntax/token.h +298 -0
  165. data/vendor/lexbor/source/lexbor/css/syntax/token_res.h +68 -0
  166. data/vendor/lexbor/source/lexbor/css/syntax/tokenizer/error.c +30 -0
  167. data/vendor/lexbor/source/lexbor/css/syntax/tokenizer/error.h +58 -0
  168. data/vendor/lexbor/source/lexbor/css/syntax/tokenizer.c +278 -0
  169. data/vendor/lexbor/source/lexbor/css/syntax/tokenizer.h +121 -0
  170. data/vendor/lexbor/source/lexbor/dom/base.h +32 -0
  171. data/vendor/lexbor/source/lexbor/dom/collection.c +97 -0
  172. data/vendor/lexbor/source/lexbor/dom/collection.h +112 -0
  173. data/vendor/lexbor/source/lexbor/dom/config.cmake +3 -0
  174. data/vendor/lexbor/source/lexbor/dom/dom.h +29 -0
  175. data/vendor/lexbor/source/lexbor/dom/exception.c +18 -0
  176. data/vendor/lexbor/source/lexbor/dom/exception.h +73 -0
  177. data/vendor/lexbor/source/lexbor/dom/interface.c +110 -0
  178. data/vendor/lexbor/source/lexbor/dom/interface.h +88 -0
  179. data/vendor/lexbor/source/lexbor/dom/interfaces/attr.c +445 -0
  180. data/vendor/lexbor/source/lexbor/dom/interfaces/attr.h +152 -0
  181. data/vendor/lexbor/source/lexbor/dom/interfaces/attr_const.h +62 -0
  182. data/vendor/lexbor/source/lexbor/dom/interfaces/attr_res.h +143 -0
  183. data/vendor/lexbor/source/lexbor/dom/interfaces/cdata_section.c +55 -0
  184. data/vendor/lexbor/source/lexbor/dom/interfaces/cdata_section.h +38 -0
  185. data/vendor/lexbor/source/lexbor/dom/interfaces/character_data.c +110 -0
  186. data/vendor/lexbor/source/lexbor/dom/interfaces/character_data.h +51 -0
  187. data/vendor/lexbor/source/lexbor/dom/interfaces/comment.c +64 -0
  188. data/vendor/lexbor/source/lexbor/dom/interfaces/comment.h +42 -0
  189. data/vendor/lexbor/source/lexbor/dom/interfaces/document.c +536 -0
  190. data/vendor/lexbor/source/lexbor/dom/interfaces/document.h +243 -0
  191. data/vendor/lexbor/source/lexbor/dom/interfaces/document_fragment.c +36 -0
  192. data/vendor/lexbor/source/lexbor/dom/interfaces/document_fragment.h +36 -0
  193. data/vendor/lexbor/source/lexbor/dom/interfaces/document_type.c +125 -0
  194. data/vendor/lexbor/source/lexbor/dom/interfaces/document_type.h +108 -0
  195. data/vendor/lexbor/source/lexbor/dom/interfaces/element.c +1411 -0
  196. data/vendor/lexbor/source/lexbor/dom/interfaces/element.h +319 -0
  197. data/vendor/lexbor/source/lexbor/dom/interfaces/event_target.c +32 -0
  198. data/vendor/lexbor/source/lexbor/dom/interfaces/event_target.h +34 -0
  199. data/vendor/lexbor/source/lexbor/dom/interfaces/node.c +661 -0
  200. data/vendor/lexbor/source/lexbor/dom/interfaces/node.h +192 -0
  201. data/vendor/lexbor/source/lexbor/dom/interfaces/processing_instruction.c +87 -0
  202. data/vendor/lexbor/source/lexbor/dom/interfaces/processing_instruction.h +66 -0
  203. data/vendor/lexbor/source/lexbor/dom/interfaces/shadow_root.c +36 -0
  204. data/vendor/lexbor/source/lexbor/dom/interfaces/shadow_root.h +44 -0
  205. data/vendor/lexbor/source/lexbor/dom/interfaces/text.c +63 -0
  206. data/vendor/lexbor/source/lexbor/dom/interfaces/text.h +42 -0
  207. data/vendor/lexbor/source/lexbor/encoding/base.h +218 -0
  208. data/vendor/lexbor/source/lexbor/encoding/big5.c +42839 -0
  209. data/vendor/lexbor/source/lexbor/encoding/config.cmake +12 -0
  210. data/vendor/lexbor/source/lexbor/encoding/const.h +65 -0
  211. data/vendor/lexbor/source/lexbor/encoding/decode.c +3193 -0
  212. data/vendor/lexbor/source/lexbor/encoding/decode.h +370 -0
  213. data/vendor/lexbor/source/lexbor/encoding/encode.c +1931 -0
  214. data/vendor/lexbor/source/lexbor/encoding/encode.h +377 -0
  215. data/vendor/lexbor/source/lexbor/encoding/encoding.c +252 -0
  216. data/vendor/lexbor/source/lexbor/encoding/encoding.h +475 -0
  217. data/vendor/lexbor/source/lexbor/encoding/euc_kr.c +53883 -0
  218. data/vendor/lexbor/source/lexbor/encoding/gb18030.c +47905 -0
  219. data/vendor/lexbor/source/lexbor/encoding/iso_2022_jp_katakana.c +159 -0
  220. data/vendor/lexbor/source/lexbor/encoding/jis0208.c +22477 -0
  221. data/vendor/lexbor/source/lexbor/encoding/jis0212.c +15787 -0
  222. data/vendor/lexbor/source/lexbor/encoding/multi.h +53 -0
  223. data/vendor/lexbor/source/lexbor/encoding/range.c +71 -0
  224. data/vendor/lexbor/source/lexbor/encoding/range.h +34 -0
  225. data/vendor/lexbor/source/lexbor/encoding/res.c +222 -0
  226. data/vendor/lexbor/source/lexbor/encoding/res.h +34 -0
  227. data/vendor/lexbor/source/lexbor/encoding/single.c +13748 -0
  228. data/vendor/lexbor/source/lexbor/encoding/single.h +116 -0
  229. data/vendor/lexbor/source/lexbor/html/base.h +44 -0
  230. data/vendor/lexbor/source/lexbor/html/config.cmake +3 -0
  231. data/vendor/lexbor/source/lexbor/html/encoding.c +574 -0
  232. data/vendor/lexbor/source/lexbor/html/encoding.h +106 -0
  233. data/vendor/lexbor/source/lexbor/html/html.h +107 -0
  234. data/vendor/lexbor/source/lexbor/html/interface.c +165 -0
  235. data/vendor/lexbor/source/lexbor/html/interface.h +186 -0
  236. data/vendor/lexbor/source/lexbor/html/interface_res.h +4449 -0
  237. data/vendor/lexbor/source/lexbor/html/interfaces/anchor_element.c +36 -0
  238. data/vendor/lexbor/source/lexbor/html/interfaces/anchor_element.h +34 -0
  239. data/vendor/lexbor/source/lexbor/html/interfaces/area_element.c +36 -0
  240. data/vendor/lexbor/source/lexbor/html/interfaces/area_element.h +34 -0
  241. data/vendor/lexbor/source/lexbor/html/interfaces/audio_element.c +36 -0
  242. data/vendor/lexbor/source/lexbor/html/interfaces/audio_element.h +34 -0
  243. data/vendor/lexbor/source/lexbor/html/interfaces/base_element.c +36 -0
  244. data/vendor/lexbor/source/lexbor/html/interfaces/base_element.h +34 -0
  245. data/vendor/lexbor/source/lexbor/html/interfaces/body_element.c +36 -0
  246. data/vendor/lexbor/source/lexbor/html/interfaces/body_element.h +34 -0
  247. data/vendor/lexbor/source/lexbor/html/interfaces/br_element.c +36 -0
  248. data/vendor/lexbor/source/lexbor/html/interfaces/br_element.h +34 -0
  249. data/vendor/lexbor/source/lexbor/html/interfaces/button_element.c +36 -0
  250. data/vendor/lexbor/source/lexbor/html/interfaces/button_element.h +34 -0
  251. data/vendor/lexbor/source/lexbor/html/interfaces/canvas_element.c +36 -0
  252. data/vendor/lexbor/source/lexbor/html/interfaces/canvas_element.h +34 -0
  253. data/vendor/lexbor/source/lexbor/html/interfaces/d_list_element.c +36 -0
  254. data/vendor/lexbor/source/lexbor/html/interfaces/d_list_element.h +34 -0
  255. data/vendor/lexbor/source/lexbor/html/interfaces/data_element.c +36 -0
  256. data/vendor/lexbor/source/lexbor/html/interfaces/data_element.h +34 -0
  257. data/vendor/lexbor/source/lexbor/html/interfaces/data_list_element.c +36 -0
  258. data/vendor/lexbor/source/lexbor/html/interfaces/data_list_element.h +34 -0
  259. data/vendor/lexbor/source/lexbor/html/interfaces/details_element.c +36 -0
  260. data/vendor/lexbor/source/lexbor/html/interfaces/details_element.h +34 -0
  261. data/vendor/lexbor/source/lexbor/html/interfaces/dialog_element.c +36 -0
  262. data/vendor/lexbor/source/lexbor/html/interfaces/dialog_element.h +34 -0
  263. data/vendor/lexbor/source/lexbor/html/interfaces/directory_element.c +36 -0
  264. data/vendor/lexbor/source/lexbor/html/interfaces/directory_element.h +34 -0
  265. data/vendor/lexbor/source/lexbor/html/interfaces/div_element.c +36 -0
  266. data/vendor/lexbor/source/lexbor/html/interfaces/div_element.h +34 -0
  267. data/vendor/lexbor/source/lexbor/html/interfaces/document.c +444 -0
  268. data/vendor/lexbor/source/lexbor/html/interfaces/document.h +256 -0
  269. data/vendor/lexbor/source/lexbor/html/interfaces/element.c +64 -0
  270. data/vendor/lexbor/source/lexbor/html/interfaces/element.h +54 -0
  271. data/vendor/lexbor/source/lexbor/html/interfaces/embed_element.c +36 -0
  272. data/vendor/lexbor/source/lexbor/html/interfaces/embed_element.h +34 -0
  273. data/vendor/lexbor/source/lexbor/html/interfaces/field_set_element.c +36 -0
  274. data/vendor/lexbor/source/lexbor/html/interfaces/field_set_element.h +34 -0
  275. data/vendor/lexbor/source/lexbor/html/interfaces/font_element.c +36 -0
  276. data/vendor/lexbor/source/lexbor/html/interfaces/font_element.h +34 -0
  277. data/vendor/lexbor/source/lexbor/html/interfaces/form_element.c +36 -0
  278. data/vendor/lexbor/source/lexbor/html/interfaces/form_element.h +34 -0
  279. data/vendor/lexbor/source/lexbor/html/interfaces/frame_element.c +36 -0
  280. data/vendor/lexbor/source/lexbor/html/interfaces/frame_element.h +34 -0
  281. data/vendor/lexbor/source/lexbor/html/interfaces/frame_set_element.c +36 -0
  282. data/vendor/lexbor/source/lexbor/html/interfaces/frame_set_element.h +34 -0
  283. data/vendor/lexbor/source/lexbor/html/interfaces/head_element.c +36 -0
  284. data/vendor/lexbor/source/lexbor/html/interfaces/head_element.h +34 -0
  285. data/vendor/lexbor/source/lexbor/html/interfaces/heading_element.c +36 -0
  286. data/vendor/lexbor/source/lexbor/html/interfaces/heading_element.h +34 -0
  287. data/vendor/lexbor/source/lexbor/html/interfaces/hr_element.c +36 -0
  288. data/vendor/lexbor/source/lexbor/html/interfaces/hr_element.h +34 -0
  289. data/vendor/lexbor/source/lexbor/html/interfaces/html_element.c +36 -0
  290. data/vendor/lexbor/source/lexbor/html/interfaces/html_element.h +34 -0
  291. data/vendor/lexbor/source/lexbor/html/interfaces/iframe_element.c +36 -0
  292. data/vendor/lexbor/source/lexbor/html/interfaces/iframe_element.h +34 -0
  293. data/vendor/lexbor/source/lexbor/html/interfaces/image_element.c +36 -0
  294. data/vendor/lexbor/source/lexbor/html/interfaces/image_element.h +34 -0
  295. data/vendor/lexbor/source/lexbor/html/interfaces/input_element.c +36 -0
  296. data/vendor/lexbor/source/lexbor/html/interfaces/input_element.h +34 -0
  297. data/vendor/lexbor/source/lexbor/html/interfaces/label_element.c +36 -0
  298. data/vendor/lexbor/source/lexbor/html/interfaces/label_element.h +34 -0
  299. data/vendor/lexbor/source/lexbor/html/interfaces/legend_element.c +36 -0
  300. data/vendor/lexbor/source/lexbor/html/interfaces/legend_element.h +34 -0
  301. data/vendor/lexbor/source/lexbor/html/interfaces/li_element.c +36 -0
  302. data/vendor/lexbor/source/lexbor/html/interfaces/li_element.h +34 -0
  303. data/vendor/lexbor/source/lexbor/html/interfaces/link_element.c +36 -0
  304. data/vendor/lexbor/source/lexbor/html/interfaces/link_element.h +34 -0
  305. data/vendor/lexbor/source/lexbor/html/interfaces/map_element.c +36 -0
  306. data/vendor/lexbor/source/lexbor/html/interfaces/map_element.h +34 -0
  307. data/vendor/lexbor/source/lexbor/html/interfaces/marquee_element.c +36 -0
  308. data/vendor/lexbor/source/lexbor/html/interfaces/marquee_element.h +34 -0
  309. data/vendor/lexbor/source/lexbor/html/interfaces/media_element.c +36 -0
  310. data/vendor/lexbor/source/lexbor/html/interfaces/media_element.h +34 -0
  311. data/vendor/lexbor/source/lexbor/html/interfaces/menu_element.c +36 -0
  312. data/vendor/lexbor/source/lexbor/html/interfaces/menu_element.h +34 -0
  313. data/vendor/lexbor/source/lexbor/html/interfaces/meta_element.c +36 -0
  314. data/vendor/lexbor/source/lexbor/html/interfaces/meta_element.h +34 -0
  315. data/vendor/lexbor/source/lexbor/html/interfaces/meter_element.c +36 -0
  316. data/vendor/lexbor/source/lexbor/html/interfaces/meter_element.h +34 -0
  317. data/vendor/lexbor/source/lexbor/html/interfaces/mod_element.c +36 -0
  318. data/vendor/lexbor/source/lexbor/html/interfaces/mod_element.h +34 -0
  319. data/vendor/lexbor/source/lexbor/html/interfaces/o_list_element.c +36 -0
  320. data/vendor/lexbor/source/lexbor/html/interfaces/o_list_element.h +34 -0
  321. data/vendor/lexbor/source/lexbor/html/interfaces/object_element.c +36 -0
  322. data/vendor/lexbor/source/lexbor/html/interfaces/object_element.h +34 -0
  323. data/vendor/lexbor/source/lexbor/html/interfaces/opt_group_element.c +36 -0
  324. data/vendor/lexbor/source/lexbor/html/interfaces/opt_group_element.h +34 -0
  325. data/vendor/lexbor/source/lexbor/html/interfaces/option_element.c +36 -0
  326. data/vendor/lexbor/source/lexbor/html/interfaces/option_element.h +34 -0
  327. data/vendor/lexbor/source/lexbor/html/interfaces/output_element.c +36 -0
  328. data/vendor/lexbor/source/lexbor/html/interfaces/output_element.h +34 -0
  329. data/vendor/lexbor/source/lexbor/html/interfaces/paragraph_element.c +36 -0
  330. data/vendor/lexbor/source/lexbor/html/interfaces/paragraph_element.h +34 -0
  331. data/vendor/lexbor/source/lexbor/html/interfaces/param_element.c +36 -0
  332. data/vendor/lexbor/source/lexbor/html/interfaces/param_element.h +34 -0
  333. data/vendor/lexbor/source/lexbor/html/interfaces/picture_element.c +36 -0
  334. data/vendor/lexbor/source/lexbor/html/interfaces/picture_element.h +34 -0
  335. data/vendor/lexbor/source/lexbor/html/interfaces/pre_element.c +36 -0
  336. data/vendor/lexbor/source/lexbor/html/interfaces/pre_element.h +34 -0
  337. data/vendor/lexbor/source/lexbor/html/interfaces/progress_element.c +36 -0
  338. data/vendor/lexbor/source/lexbor/html/interfaces/progress_element.h +34 -0
  339. data/vendor/lexbor/source/lexbor/html/interfaces/quote_element.c +36 -0
  340. data/vendor/lexbor/source/lexbor/html/interfaces/quote_element.h +34 -0
  341. data/vendor/lexbor/source/lexbor/html/interfaces/script_element.c +36 -0
  342. data/vendor/lexbor/source/lexbor/html/interfaces/script_element.h +34 -0
  343. data/vendor/lexbor/source/lexbor/html/interfaces/select_element.c +36 -0
  344. data/vendor/lexbor/source/lexbor/html/interfaces/select_element.h +34 -0
  345. data/vendor/lexbor/source/lexbor/html/interfaces/slot_element.c +36 -0
  346. data/vendor/lexbor/source/lexbor/html/interfaces/slot_element.h +34 -0
  347. data/vendor/lexbor/source/lexbor/html/interfaces/source_element.c +36 -0
  348. data/vendor/lexbor/source/lexbor/html/interfaces/source_element.h +34 -0
  349. data/vendor/lexbor/source/lexbor/html/interfaces/span_element.c +36 -0
  350. data/vendor/lexbor/source/lexbor/html/interfaces/span_element.h +34 -0
  351. data/vendor/lexbor/source/lexbor/html/interfaces/style_element.c +36 -0
  352. data/vendor/lexbor/source/lexbor/html/interfaces/style_element.h +34 -0
  353. data/vendor/lexbor/source/lexbor/html/interfaces/table_caption_element.c +36 -0
  354. data/vendor/lexbor/source/lexbor/html/interfaces/table_caption_element.h +34 -0
  355. data/vendor/lexbor/source/lexbor/html/interfaces/table_cell_element.c +36 -0
  356. data/vendor/lexbor/source/lexbor/html/interfaces/table_cell_element.h +34 -0
  357. data/vendor/lexbor/source/lexbor/html/interfaces/table_col_element.c +36 -0
  358. data/vendor/lexbor/source/lexbor/html/interfaces/table_col_element.h +34 -0
  359. data/vendor/lexbor/source/lexbor/html/interfaces/table_element.c +36 -0
  360. data/vendor/lexbor/source/lexbor/html/interfaces/table_element.h +34 -0
  361. data/vendor/lexbor/source/lexbor/html/interfaces/table_row_element.c +36 -0
  362. data/vendor/lexbor/source/lexbor/html/interfaces/table_row_element.h +34 -0
  363. data/vendor/lexbor/source/lexbor/html/interfaces/table_section_element.c +36 -0
  364. data/vendor/lexbor/source/lexbor/html/interfaces/table_section_element.h +34 -0
  365. data/vendor/lexbor/source/lexbor/html/interfaces/template_element.c +46 -0
  366. data/vendor/lexbor/source/lexbor/html/interfaces/template_element.h +38 -0
  367. data/vendor/lexbor/source/lexbor/html/interfaces/text_area_element.c +36 -0
  368. data/vendor/lexbor/source/lexbor/html/interfaces/text_area_element.h +34 -0
  369. data/vendor/lexbor/source/lexbor/html/interfaces/time_element.c +36 -0
  370. data/vendor/lexbor/source/lexbor/html/interfaces/time_element.h +34 -0
  371. data/vendor/lexbor/source/lexbor/html/interfaces/title_element.c +133 -0
  372. data/vendor/lexbor/source/lexbor/html/interfaces/title_element.h +42 -0
  373. data/vendor/lexbor/source/lexbor/html/interfaces/track_element.c +36 -0
  374. data/vendor/lexbor/source/lexbor/html/interfaces/track_element.h +34 -0
  375. data/vendor/lexbor/source/lexbor/html/interfaces/u_list_element.c +36 -0
  376. data/vendor/lexbor/source/lexbor/html/interfaces/u_list_element.h +34 -0
  377. data/vendor/lexbor/source/lexbor/html/interfaces/unknown_element.c +36 -0
  378. data/vendor/lexbor/source/lexbor/html/interfaces/unknown_element.h +34 -0
  379. data/vendor/lexbor/source/lexbor/html/interfaces/video_element.c +36 -0
  380. data/vendor/lexbor/source/lexbor/html/interfaces/video_element.h +34 -0
  381. data/vendor/lexbor/source/lexbor/html/interfaces/window.c +36 -0
  382. data/vendor/lexbor/source/lexbor/html/interfaces/window.h +34 -0
  383. data/vendor/lexbor/source/lexbor/html/node.c +14 -0
  384. data/vendor/lexbor/source/lexbor/html/node.h +67 -0
  385. data/vendor/lexbor/source/lexbor/html/parser.c +469 -0
  386. data/vendor/lexbor/source/lexbor/html/parser.h +170 -0
  387. data/vendor/lexbor/source/lexbor/html/serialize.c +1510 -0
  388. data/vendor/lexbor/source/lexbor/html/serialize.h +93 -0
  389. data/vendor/lexbor/source/lexbor/html/tag.h +103 -0
  390. data/vendor/lexbor/source/lexbor/html/tag_res.h +2262 -0
  391. data/vendor/lexbor/source/lexbor/html/token.c +386 -0
  392. data/vendor/lexbor/source/lexbor/html/token.h +130 -0
  393. data/vendor/lexbor/source/lexbor/html/token_attr.c +44 -0
  394. data/vendor/lexbor/source/lexbor/html/token_attr.h +67 -0
  395. data/vendor/lexbor/source/lexbor/html/tokenizer/error.c +28 -0
  396. data/vendor/lexbor/source/lexbor/html/tokenizer/error.h +141 -0
  397. data/vendor/lexbor/source/lexbor/html/tokenizer/res.h +4956 -0
  398. data/vendor/lexbor/source/lexbor/html/tokenizer/state.c +2171 -0
  399. data/vendor/lexbor/source/lexbor/html/tokenizer/state.h +225 -0
  400. data/vendor/lexbor/source/lexbor/html/tokenizer/state_comment.c +489 -0
  401. data/vendor/lexbor/source/lexbor/html/tokenizer/state_comment.h +27 -0
  402. data/vendor/lexbor/source/lexbor/html/tokenizer/state_doctype.c +1654 -0
  403. data/vendor/lexbor/source/lexbor/html/tokenizer/state_doctype.h +27 -0
  404. data/vendor/lexbor/source/lexbor/html/tokenizer/state_rawtext.c +303 -0
  405. data/vendor/lexbor/source/lexbor/html/tokenizer/state_rawtext.h +32 -0
  406. data/vendor/lexbor/source/lexbor/html/tokenizer/state_rcdata.c +311 -0
  407. data/vendor/lexbor/source/lexbor/html/tokenizer/state_rcdata.h +32 -0
  408. data/vendor/lexbor/source/lexbor/html/tokenizer/state_script.c +1209 -0
  409. data/vendor/lexbor/source/lexbor/html/tokenizer/state_script.h +32 -0
  410. data/vendor/lexbor/source/lexbor/html/tokenizer.c +499 -0
  411. data/vendor/lexbor/source/lexbor/html/tokenizer.h +343 -0
  412. data/vendor/lexbor/source/lexbor/html/tree/active_formatting.c +241 -0
  413. data/vendor/lexbor/source/lexbor/html/tree/active_formatting.h +117 -0
  414. data/vendor/lexbor/source/lexbor/html/tree/error.c +26 -0
  415. data/vendor/lexbor/source/lexbor/html/tree/error.h +114 -0
  416. data/vendor/lexbor/source/lexbor/html/tree/insertion_mode/after_after_body.c +62 -0
  417. data/vendor/lexbor/source/lexbor/html/tree/insertion_mode/after_after_frameset.c +63 -0
  418. data/vendor/lexbor/source/lexbor/html/tree/insertion_mode/after_body.c +82 -0
  419. data/vendor/lexbor/source/lexbor/html/tree/insertion_mode/after_frameset.c +88 -0
  420. data/vendor/lexbor/source/lexbor/html/tree/insertion_mode/after_head.c +222 -0
  421. data/vendor/lexbor/source/lexbor/html/tree/insertion_mode/before_head.c +144 -0
  422. data/vendor/lexbor/source/lexbor/html/tree/insertion_mode/before_html.c +166 -0
  423. data/vendor/lexbor/source/lexbor/html/tree/insertion_mode/foreign_content.c +358 -0
  424. data/vendor/lexbor/source/lexbor/html/tree/insertion_mode/in_body.c +1974 -0
  425. data/vendor/lexbor/source/lexbor/html/tree/insertion_mode/in_caption.c +158 -0
  426. data/vendor/lexbor/source/lexbor/html/tree/insertion_mode/in_cell.c +187 -0
  427. data/vendor/lexbor/source/lexbor/html/tree/insertion_mode/in_column_group.c +194 -0
  428. data/vendor/lexbor/source/lexbor/html/tree/insertion_mode/in_frameset.c +149 -0
  429. data/vendor/lexbor/source/lexbor/html/tree/insertion_mode/in_head.c +374 -0
  430. data/vendor/lexbor/source/lexbor/html/tree/insertion_mode/in_head_noscript.c +121 -0
  431. data/vendor/lexbor/source/lexbor/html/tree/insertion_mode/in_row.c +211 -0
  432. data/vendor/lexbor/source/lexbor/html/tree/insertion_mode/in_select.c +341 -0
  433. data/vendor/lexbor/source/lexbor/html/tree/insertion_mode/in_select_in_table.c +115 -0
  434. data/vendor/lexbor/source/lexbor/html/tree/insertion_mode/in_table.c +451 -0
  435. data/vendor/lexbor/source/lexbor/html/tree/insertion_mode/in_table_body.c +208 -0
  436. data/vendor/lexbor/source/lexbor/html/tree/insertion_mode/in_table_text.c +127 -0
  437. data/vendor/lexbor/source/lexbor/html/tree/insertion_mode/in_template.c +189 -0
  438. data/vendor/lexbor/source/lexbor/html/tree/insertion_mode/initial.c +411 -0
  439. data/vendor/lexbor/source/lexbor/html/tree/insertion_mode/text.c +61 -0
  440. data/vendor/lexbor/source/lexbor/html/tree/insertion_mode.h +135 -0
  441. data/vendor/lexbor/source/lexbor/html/tree/open_elements.c +251 -0
  442. data/vendor/lexbor/source/lexbor/html/tree/open_elements.h +105 -0
  443. data/vendor/lexbor/source/lexbor/html/tree/template_insertion.c +10 -0
  444. data/vendor/lexbor/source/lexbor/html/tree/template_insertion.h +100 -0
  445. data/vendor/lexbor/source/lexbor/html/tree.c +1726 -0
  446. data/vendor/lexbor/source/lexbor/html/tree.h +431 -0
  447. data/vendor/lexbor/source/lexbor/html/tree_res.h +111 -0
  448. data/vendor/lexbor/source/lexbor/ns/base.h +32 -0
  449. data/vendor/lexbor/source/lexbor/ns/config.cmake +2 -0
  450. data/vendor/lexbor/source/lexbor/ns/const.h +37 -0
  451. data/vendor/lexbor/source/lexbor/ns/ns.c +154 -0
  452. data/vendor/lexbor/source/lexbor/ns/ns.h +66 -0
  453. data/vendor/lexbor/source/lexbor/ns/res.h +97 -0
  454. data/vendor/lexbor/source/lexbor/ports/posix/config.cmake +11 -0
  455. data/vendor/lexbor/source/lexbor/ports/posix/lexbor/core/fs.c +236 -0
  456. data/vendor/lexbor/source/lexbor/ports/posix/lexbor/core/memory.c +33 -0
  457. data/vendor/lexbor/source/lexbor/ports/posix/lexbor/core/perf.c +158 -0
  458. data/vendor/lexbor/source/lexbor/ports/windows_nt/config.cmake +18 -0
  459. data/vendor/lexbor/source/lexbor/ports/windows_nt/lexbor/core/fs.c +239 -0
  460. data/vendor/lexbor/source/lexbor/ports/windows_nt/lexbor/core/memory.c +33 -0
  461. data/vendor/lexbor/source/lexbor/ports/windows_nt/lexbor/core/perf.c +81 -0
  462. data/vendor/lexbor/source/lexbor/selectors/base.h +30 -0
  463. data/vendor/lexbor/source/lexbor/selectors/config.cmake +2 -0
  464. data/vendor/lexbor/source/lexbor/selectors/selectors.c +1591 -0
  465. data/vendor/lexbor/source/lexbor/selectors/selectors.h +71 -0
  466. data/vendor/lexbor/source/lexbor/tag/base.h +32 -0
  467. data/vendor/lexbor/source/lexbor/tag/config.cmake +2 -0
  468. data/vendor/lexbor/source/lexbor/tag/const.h +225 -0
  469. data/vendor/lexbor/source/lexbor/tag/res.h +562 -0
  470. data/vendor/lexbor/source/lexbor/tag/tag.c +144 -0
  471. data/vendor/lexbor/source/lexbor/tag/tag.h +123 -0
  472. data/vendor/lexbor/source/lexbor/utils/base.h +32 -0
  473. data/vendor/lexbor/source/lexbor/utils/config.cmake +2 -0
  474. data/vendor/lexbor/source/lexbor/utils/http.c +534 -0
  475. data/vendor/lexbor/source/lexbor/utils/http.h +90 -0
  476. data/vendor/lexbor/source/lexbor/utils/utils.h +15 -0
  477. data/vendor/lexbor/source/lexbor/utils/warc.c +817 -0
  478. data/vendor/lexbor/source/lexbor/utils/warc.h +126 -0
  479. data/vendor/lexbor/utils/lexbor/css/selectors/pseudo.py +231 -0
  480. data/vendor/lexbor/utils/lexbor/css/selectors/tmp/const.h +21 -0
  481. data/vendor/lexbor/utils/lexbor/css/selectors/tmp/res.h +26 -0
  482. data/vendor/lexbor/utils/lexbor/css/syntax/definitions.py +49 -0
  483. data/vendor/lexbor/utils/lexbor/css/syntax/token_res.py +54 -0
  484. data/vendor/lexbor/utils/lexbor/css/syntax/tokenizer_code_map.py +36 -0
  485. data/vendor/lexbor/version +1 -0
  486. metadata +542 -0
@@ -0,0 +1,919 @@
1
+ /*
2
+ * Summary: error handling
3
+ * Description: the API used to report errors
4
+ *
5
+ * Copy: See Copyright for the status of this software.
6
+ *
7
+ * Author: Daniel Veillard
8
+ */
9
+
10
+ #include "parser.h"
11
+
12
+ #ifndef __XML_ERROR_H__
13
+ #define __XML_ERROR_H__
14
+
15
+ #ifdef __cplusplus
16
+ extern "C" {
17
+ #endif
18
+
19
+ /**
20
+ * xmlErrorLevel:
21
+ *
22
+ * Indicates the level of an error
23
+ */
24
+ typedef enum {
25
+ XML_ERR_NONE = 0,
26
+ XML_ERR_WARNING = 1, /* A simple warning */
27
+ XML_ERR_ERROR = 2, /* A recoverable error */
28
+ XML_ERR_FATAL = 3 /* A fatal error */
29
+ } xmlErrorLevel;
30
+
31
+ /**
32
+ * xmlErrorDomain:
33
+ *
34
+ * Indicates where an error may have come from
35
+ */
36
+ typedef enum {
37
+ XML_FROM_NONE = 0,
38
+ XML_FROM_PARSER, /* The XML parser */
39
+ XML_FROM_TREE, /* The tree module */
40
+ XML_FROM_NAMESPACE, /* The XML Namespace module */
41
+ XML_FROM_DTD, /* The XML DTD validation with parser context*/
42
+ XML_FROM_HTML, /* The HTML parser */
43
+ XML_FROM_MEMORY, /* The memory allocator */
44
+ XML_FROM_OUTPUT, /* The serialization code */
45
+ XML_FROM_IO, /* The Input/Output stack */
46
+ XML_FROM_FTP, /* The FTP module */
47
+ XML_FROM_HTTP, /* The HTTP module */
48
+ XML_FROM_XINCLUDE, /* The XInclude processing */
49
+ XML_FROM_XPATH, /* The XPath module */
50
+ XML_FROM_XPOINTER, /* The XPointer module */
51
+ XML_FROM_REGEXP, /* The regular expressions module */
52
+ XML_FROM_DATATYPE, /* The W3C XML Schemas Datatype module */
53
+ XML_FROM_SCHEMASP, /* The W3C XML Schemas parser module */
54
+ XML_FROM_SCHEMASV, /* The W3C XML Schemas validation module */
55
+ XML_FROM_RELAXNGP, /* The Relax-NG parser module */
56
+ XML_FROM_RELAXNGV, /* The Relax-NG validator module */
57
+ XML_FROM_CATALOG, /* The Catalog module */
58
+ XML_FROM_C14N, /* The Canonicalization module */
59
+ XML_FROM_XSLT, /* The XSLT engine from libxslt */
60
+ XML_FROM_VALID, /* The XML DTD validation with valid context */
61
+ XML_FROM_CHECK, /* The error checking module */
62
+ XML_FROM_WRITER, /* The xmlwriter module */
63
+ XML_FROM_MODULE, /* The dynamically loaded module module*/
64
+ XML_FROM_I18N, /* The module handling character conversion */
65
+ XML_FROM_SCHEMATRONV,/* The Schematron validator module */
66
+ XML_FROM_BUFFER, /* The buffers module */
67
+ XML_FROM_URI /* The URI module */
68
+ } xmlErrorDomain;
69
+
70
+ /**
71
+ * xmlError:
72
+ *
73
+ * An XML Error instance.
74
+ */
75
+
76
+ typedef struct _xmlError xmlError;
77
+ typedef xmlError *xmlErrorPtr;
78
+ struct _xmlError {
79
+ int domain; /* What part of the library raised this error */
80
+ int code; /* The error code, e.g. an xmlParserError */
81
+ char *message;/* human-readable informative error message */
82
+ xmlErrorLevel level;/* how consequent is the error */
83
+ char *file; /* the filename */
84
+ int line; /* the line number if available */
85
+ char *str1; /* extra string information */
86
+ char *str2; /* extra string information */
87
+ char *str3; /* extra string information */
88
+ int int1; /* extra number information */
89
+ int int2; /* error column # or 0 if N/A (todo: rename field when we would brk ABI) */
90
+ void *ctxt; /* the parser context if available */
91
+ void *node; /* the node in the tree */
92
+ };
93
+
94
+ /**
95
+ * xmlParserError:
96
+ *
97
+ * This is an error that the XML (or HTML) parser can generate
98
+ */
99
+ typedef enum {
100
+ XML_ERR_OK = 0,
101
+ XML_ERR_INTERNAL_ERROR, /* 1 */
102
+ XML_ERR_NO_MEMORY, /* 2 */
103
+ XML_ERR_DOCUMENT_START, /* 3 */
104
+ XML_ERR_DOCUMENT_EMPTY, /* 4 */
105
+ XML_ERR_DOCUMENT_END, /* 5 */
106
+ XML_ERR_INVALID_HEX_CHARREF, /* 6 */
107
+ XML_ERR_INVALID_DEC_CHARREF, /* 7 */
108
+ XML_ERR_INVALID_CHARREF, /* 8 */
109
+ XML_ERR_INVALID_CHAR, /* 9 */
110
+ XML_ERR_CHARREF_AT_EOF, /* 10 */
111
+ XML_ERR_CHARREF_IN_PROLOG, /* 11 */
112
+ XML_ERR_CHARREF_IN_EPILOG, /* 12 */
113
+ XML_ERR_CHARREF_IN_DTD, /* 13 */
114
+ XML_ERR_ENTITYREF_AT_EOF, /* 14 */
115
+ XML_ERR_ENTITYREF_IN_PROLOG, /* 15 */
116
+ XML_ERR_ENTITYREF_IN_EPILOG, /* 16 */
117
+ XML_ERR_ENTITYREF_IN_DTD, /* 17 */
118
+ XML_ERR_PEREF_AT_EOF, /* 18 */
119
+ XML_ERR_PEREF_IN_PROLOG, /* 19 */
120
+ XML_ERR_PEREF_IN_EPILOG, /* 20 */
121
+ XML_ERR_PEREF_IN_INT_SUBSET, /* 21 */
122
+ XML_ERR_ENTITYREF_NO_NAME, /* 22 */
123
+ XML_ERR_ENTITYREF_SEMICOL_MISSING, /* 23 */
124
+ XML_ERR_PEREF_NO_NAME, /* 24 */
125
+ XML_ERR_PEREF_SEMICOL_MISSING, /* 25 */
126
+ XML_ERR_UNDECLARED_ENTITY, /* 26 */
127
+ XML_WAR_UNDECLARED_ENTITY, /* 27 */
128
+ XML_ERR_UNPARSED_ENTITY, /* 28 */
129
+ XML_ERR_ENTITY_IS_EXTERNAL, /* 29 */
130
+ XML_ERR_ENTITY_IS_PARAMETER, /* 30 */
131
+ XML_ERR_UNKNOWN_ENCODING, /* 31 */
132
+ XML_ERR_UNSUPPORTED_ENCODING, /* 32 */
133
+ XML_ERR_STRING_NOT_STARTED, /* 33 */
134
+ XML_ERR_STRING_NOT_CLOSED, /* 34 */
135
+ XML_ERR_NS_DECL_ERROR, /* 35 */
136
+ XML_ERR_ENTITY_NOT_STARTED, /* 36 */
137
+ XML_ERR_ENTITY_NOT_FINISHED, /* 37 */
138
+ XML_ERR_LT_IN_ATTRIBUTE, /* 38 */
139
+ XML_ERR_ATTRIBUTE_NOT_STARTED, /* 39 */
140
+ XML_ERR_ATTRIBUTE_NOT_FINISHED, /* 40 */
141
+ XML_ERR_ATTRIBUTE_WITHOUT_VALUE, /* 41 */
142
+ XML_ERR_ATTRIBUTE_REDEFINED, /* 42 */
143
+ XML_ERR_LITERAL_NOT_STARTED, /* 43 */
144
+ XML_ERR_LITERAL_NOT_FINISHED, /* 44 */
145
+ XML_ERR_COMMENT_NOT_FINISHED, /* 45 */
146
+ XML_ERR_PI_NOT_STARTED, /* 46 */
147
+ XML_ERR_PI_NOT_FINISHED, /* 47 */
148
+ XML_ERR_NOTATION_NOT_STARTED, /* 48 */
149
+ XML_ERR_NOTATION_NOT_FINISHED, /* 49 */
150
+ XML_ERR_ATTLIST_NOT_STARTED, /* 50 */
151
+ XML_ERR_ATTLIST_NOT_FINISHED, /* 51 */
152
+ XML_ERR_MIXED_NOT_STARTED, /* 52 */
153
+ XML_ERR_MIXED_NOT_FINISHED, /* 53 */
154
+ XML_ERR_ELEMCONTENT_NOT_STARTED, /* 54 */
155
+ XML_ERR_ELEMCONTENT_NOT_FINISHED, /* 55 */
156
+ XML_ERR_XMLDECL_NOT_STARTED, /* 56 */
157
+ XML_ERR_XMLDECL_NOT_FINISHED, /* 57 */
158
+ XML_ERR_CONDSEC_NOT_STARTED, /* 58 */
159
+ XML_ERR_CONDSEC_NOT_FINISHED, /* 59 */
160
+ XML_ERR_EXT_SUBSET_NOT_FINISHED, /* 60 */
161
+ XML_ERR_DOCTYPE_NOT_FINISHED, /* 61 */
162
+ XML_ERR_MISPLACED_CDATA_END, /* 62 */
163
+ XML_ERR_CDATA_NOT_FINISHED, /* 63 */
164
+ XML_ERR_RESERVED_XML_NAME, /* 64 */
165
+ XML_ERR_SPACE_REQUIRED, /* 65 */
166
+ XML_ERR_SEPARATOR_REQUIRED, /* 66 */
167
+ XML_ERR_NMTOKEN_REQUIRED, /* 67 */
168
+ XML_ERR_NAME_REQUIRED, /* 68 */
169
+ XML_ERR_PCDATA_REQUIRED, /* 69 */
170
+ XML_ERR_URI_REQUIRED, /* 70 */
171
+ XML_ERR_PUBID_REQUIRED, /* 71 */
172
+ XML_ERR_LT_REQUIRED, /* 72 */
173
+ XML_ERR_GT_REQUIRED, /* 73 */
174
+ XML_ERR_LTSLASH_REQUIRED, /* 74 */
175
+ XML_ERR_EQUAL_REQUIRED, /* 75 */
176
+ XML_ERR_TAG_NAME_MISMATCH, /* 76 */
177
+ XML_ERR_TAG_NOT_FINISHED, /* 77 */
178
+ XML_ERR_STANDALONE_VALUE, /* 78 */
179
+ XML_ERR_ENCODING_NAME, /* 79 */
180
+ XML_ERR_HYPHEN_IN_COMMENT, /* 80 */
181
+ XML_ERR_INVALID_ENCODING, /* 81 */
182
+ XML_ERR_EXT_ENTITY_STANDALONE, /* 82 */
183
+ XML_ERR_CONDSEC_INVALID, /* 83 */
184
+ XML_ERR_VALUE_REQUIRED, /* 84 */
185
+ XML_ERR_NOT_WELL_BALANCED, /* 85 */
186
+ XML_ERR_EXTRA_CONTENT, /* 86 */
187
+ XML_ERR_ENTITY_CHAR_ERROR, /* 87 */
188
+ XML_ERR_ENTITY_PE_INTERNAL, /* 88 */
189
+ XML_ERR_ENTITY_LOOP, /* 89 */
190
+ XML_ERR_ENTITY_BOUNDARY, /* 90 */
191
+ XML_ERR_INVALID_URI, /* 91 */
192
+ XML_ERR_URI_FRAGMENT, /* 92 */
193
+ XML_WAR_CATALOG_PI, /* 93 */
194
+ XML_ERR_NO_DTD, /* 94 */
195
+ XML_ERR_CONDSEC_INVALID_KEYWORD, /* 95 */
196
+ XML_ERR_VERSION_MISSING, /* 96 */
197
+ XML_WAR_UNKNOWN_VERSION, /* 97 */
198
+ XML_WAR_LANG_VALUE, /* 98 */
199
+ XML_WAR_NS_URI, /* 99 */
200
+ XML_WAR_NS_URI_RELATIVE, /* 100 */
201
+ XML_ERR_MISSING_ENCODING, /* 101 */
202
+ XML_WAR_SPACE_VALUE, /* 102 */
203
+ XML_ERR_NOT_STANDALONE, /* 103 */
204
+ XML_ERR_ENTITY_PROCESSING, /* 104 */
205
+ XML_ERR_NOTATION_PROCESSING, /* 105 */
206
+ XML_WAR_NS_COLUMN, /* 106 */
207
+ XML_WAR_ENTITY_REDEFINED, /* 107 */
208
+ XML_ERR_UNKNOWN_VERSION, /* 108 */
209
+ XML_ERR_VERSION_MISMATCH, /* 109 */
210
+ XML_ERR_NAME_TOO_LONG, /* 110 */
211
+ XML_ERR_USER_STOP, /* 111 */
212
+ XML_ERR_COMMENT_ABRUPTLY_ENDED, /* 112 */
213
+ XML_NS_ERR_XML_NAMESPACE = 200,
214
+ XML_NS_ERR_UNDEFINED_NAMESPACE, /* 201 */
215
+ XML_NS_ERR_QNAME, /* 202 */
216
+ XML_NS_ERR_ATTRIBUTE_REDEFINED, /* 203 */
217
+ XML_NS_ERR_EMPTY, /* 204 */
218
+ XML_NS_ERR_COLON, /* 205 */
219
+ XML_DTD_ATTRIBUTE_DEFAULT = 500,
220
+ XML_DTD_ATTRIBUTE_REDEFINED, /* 501 */
221
+ XML_DTD_ATTRIBUTE_VALUE, /* 502 */
222
+ XML_DTD_CONTENT_ERROR, /* 503 */
223
+ XML_DTD_CONTENT_MODEL, /* 504 */
224
+ XML_DTD_CONTENT_NOT_DETERMINIST, /* 505 */
225
+ XML_DTD_DIFFERENT_PREFIX, /* 506 */
226
+ XML_DTD_ELEM_DEFAULT_NAMESPACE, /* 507 */
227
+ XML_DTD_ELEM_NAMESPACE, /* 508 */
228
+ XML_DTD_ELEM_REDEFINED, /* 509 */
229
+ XML_DTD_EMPTY_NOTATION, /* 510 */
230
+ XML_DTD_ENTITY_TYPE, /* 511 */
231
+ XML_DTD_ID_FIXED, /* 512 */
232
+ XML_DTD_ID_REDEFINED, /* 513 */
233
+ XML_DTD_ID_SUBSET, /* 514 */
234
+ XML_DTD_INVALID_CHILD, /* 515 */
235
+ XML_DTD_INVALID_DEFAULT, /* 516 */
236
+ XML_DTD_LOAD_ERROR, /* 517 */
237
+ XML_DTD_MISSING_ATTRIBUTE, /* 518 */
238
+ XML_DTD_MIXED_CORRUPT, /* 519 */
239
+ XML_DTD_MULTIPLE_ID, /* 520 */
240
+ XML_DTD_NO_DOC, /* 521 */
241
+ XML_DTD_NO_DTD, /* 522 */
242
+ XML_DTD_NO_ELEM_NAME, /* 523 */
243
+ XML_DTD_NO_PREFIX, /* 524 */
244
+ XML_DTD_NO_ROOT, /* 525 */
245
+ XML_DTD_NOTATION_REDEFINED, /* 526 */
246
+ XML_DTD_NOTATION_VALUE, /* 527 */
247
+ XML_DTD_NOT_EMPTY, /* 528 */
248
+ XML_DTD_NOT_PCDATA, /* 529 */
249
+ XML_DTD_NOT_STANDALONE, /* 530 */
250
+ XML_DTD_ROOT_NAME, /* 531 */
251
+ XML_DTD_STANDALONE_WHITE_SPACE, /* 532 */
252
+ XML_DTD_UNKNOWN_ATTRIBUTE, /* 533 */
253
+ XML_DTD_UNKNOWN_ELEM, /* 534 */
254
+ XML_DTD_UNKNOWN_ENTITY, /* 535 */
255
+ XML_DTD_UNKNOWN_ID, /* 536 */
256
+ XML_DTD_UNKNOWN_NOTATION, /* 537 */
257
+ XML_DTD_STANDALONE_DEFAULTED, /* 538 */
258
+ XML_DTD_XMLID_VALUE, /* 539 */
259
+ XML_DTD_XMLID_TYPE, /* 540 */
260
+ XML_DTD_DUP_TOKEN, /* 541 */
261
+ XML_HTML_STRUCURE_ERROR = 800,
262
+ XML_HTML_UNKNOWN_TAG, /* 801 */
263
+ XML_HTML_INCORRECTLY_OPENED_COMMENT, /* 802 */
264
+ XML_RNGP_ANYNAME_ATTR_ANCESTOR = 1000,
265
+ XML_RNGP_ATTR_CONFLICT, /* 1001 */
266
+ XML_RNGP_ATTRIBUTE_CHILDREN, /* 1002 */
267
+ XML_RNGP_ATTRIBUTE_CONTENT, /* 1003 */
268
+ XML_RNGP_ATTRIBUTE_EMPTY, /* 1004 */
269
+ XML_RNGP_ATTRIBUTE_NOOP, /* 1005 */
270
+ XML_RNGP_CHOICE_CONTENT, /* 1006 */
271
+ XML_RNGP_CHOICE_EMPTY, /* 1007 */
272
+ XML_RNGP_CREATE_FAILURE, /* 1008 */
273
+ XML_RNGP_DATA_CONTENT, /* 1009 */
274
+ XML_RNGP_DEF_CHOICE_AND_INTERLEAVE, /* 1010 */
275
+ XML_RNGP_DEFINE_CREATE_FAILED, /* 1011 */
276
+ XML_RNGP_DEFINE_EMPTY, /* 1012 */
277
+ XML_RNGP_DEFINE_MISSING, /* 1013 */
278
+ XML_RNGP_DEFINE_NAME_MISSING, /* 1014 */
279
+ XML_RNGP_ELEM_CONTENT_EMPTY, /* 1015 */
280
+ XML_RNGP_ELEM_CONTENT_ERROR, /* 1016 */
281
+ XML_RNGP_ELEMENT_EMPTY, /* 1017 */
282
+ XML_RNGP_ELEMENT_CONTENT, /* 1018 */
283
+ XML_RNGP_ELEMENT_NAME, /* 1019 */
284
+ XML_RNGP_ELEMENT_NO_CONTENT, /* 1020 */
285
+ XML_RNGP_ELEM_TEXT_CONFLICT, /* 1021 */
286
+ XML_RNGP_EMPTY, /* 1022 */
287
+ XML_RNGP_EMPTY_CONSTRUCT, /* 1023 */
288
+ XML_RNGP_EMPTY_CONTENT, /* 1024 */
289
+ XML_RNGP_EMPTY_NOT_EMPTY, /* 1025 */
290
+ XML_RNGP_ERROR_TYPE_LIB, /* 1026 */
291
+ XML_RNGP_EXCEPT_EMPTY, /* 1027 */
292
+ XML_RNGP_EXCEPT_MISSING, /* 1028 */
293
+ XML_RNGP_EXCEPT_MULTIPLE, /* 1029 */
294
+ XML_RNGP_EXCEPT_NO_CONTENT, /* 1030 */
295
+ XML_RNGP_EXTERNALREF_EMTPY, /* 1031 */
296
+ XML_RNGP_EXTERNAL_REF_FAILURE, /* 1032 */
297
+ XML_RNGP_EXTERNALREF_RECURSE, /* 1033 */
298
+ XML_RNGP_FORBIDDEN_ATTRIBUTE, /* 1034 */
299
+ XML_RNGP_FOREIGN_ELEMENT, /* 1035 */
300
+ XML_RNGP_GRAMMAR_CONTENT, /* 1036 */
301
+ XML_RNGP_GRAMMAR_EMPTY, /* 1037 */
302
+ XML_RNGP_GRAMMAR_MISSING, /* 1038 */
303
+ XML_RNGP_GRAMMAR_NO_START, /* 1039 */
304
+ XML_RNGP_GROUP_ATTR_CONFLICT, /* 1040 */
305
+ XML_RNGP_HREF_ERROR, /* 1041 */
306
+ XML_RNGP_INCLUDE_EMPTY, /* 1042 */
307
+ XML_RNGP_INCLUDE_FAILURE, /* 1043 */
308
+ XML_RNGP_INCLUDE_RECURSE, /* 1044 */
309
+ XML_RNGP_INTERLEAVE_ADD, /* 1045 */
310
+ XML_RNGP_INTERLEAVE_CREATE_FAILED, /* 1046 */
311
+ XML_RNGP_INTERLEAVE_EMPTY, /* 1047 */
312
+ XML_RNGP_INTERLEAVE_NO_CONTENT, /* 1048 */
313
+ XML_RNGP_INVALID_DEFINE_NAME, /* 1049 */
314
+ XML_RNGP_INVALID_URI, /* 1050 */
315
+ XML_RNGP_INVALID_VALUE, /* 1051 */
316
+ XML_RNGP_MISSING_HREF, /* 1052 */
317
+ XML_RNGP_NAME_MISSING, /* 1053 */
318
+ XML_RNGP_NEED_COMBINE, /* 1054 */
319
+ XML_RNGP_NOTALLOWED_NOT_EMPTY, /* 1055 */
320
+ XML_RNGP_NSNAME_ATTR_ANCESTOR, /* 1056 */
321
+ XML_RNGP_NSNAME_NO_NS, /* 1057 */
322
+ XML_RNGP_PARAM_FORBIDDEN, /* 1058 */
323
+ XML_RNGP_PARAM_NAME_MISSING, /* 1059 */
324
+ XML_RNGP_PARENTREF_CREATE_FAILED, /* 1060 */
325
+ XML_RNGP_PARENTREF_NAME_INVALID, /* 1061 */
326
+ XML_RNGP_PARENTREF_NO_NAME, /* 1062 */
327
+ XML_RNGP_PARENTREF_NO_PARENT, /* 1063 */
328
+ XML_RNGP_PARENTREF_NOT_EMPTY, /* 1064 */
329
+ XML_RNGP_PARSE_ERROR, /* 1065 */
330
+ XML_RNGP_PAT_ANYNAME_EXCEPT_ANYNAME, /* 1066 */
331
+ XML_RNGP_PAT_ATTR_ATTR, /* 1067 */
332
+ XML_RNGP_PAT_ATTR_ELEM, /* 1068 */
333
+ XML_RNGP_PAT_DATA_EXCEPT_ATTR, /* 1069 */
334
+ XML_RNGP_PAT_DATA_EXCEPT_ELEM, /* 1070 */
335
+ XML_RNGP_PAT_DATA_EXCEPT_EMPTY, /* 1071 */
336
+ XML_RNGP_PAT_DATA_EXCEPT_GROUP, /* 1072 */
337
+ XML_RNGP_PAT_DATA_EXCEPT_INTERLEAVE, /* 1073 */
338
+ XML_RNGP_PAT_DATA_EXCEPT_LIST, /* 1074 */
339
+ XML_RNGP_PAT_DATA_EXCEPT_ONEMORE, /* 1075 */
340
+ XML_RNGP_PAT_DATA_EXCEPT_REF, /* 1076 */
341
+ XML_RNGP_PAT_DATA_EXCEPT_TEXT, /* 1077 */
342
+ XML_RNGP_PAT_LIST_ATTR, /* 1078 */
343
+ XML_RNGP_PAT_LIST_ELEM, /* 1079 */
344
+ XML_RNGP_PAT_LIST_INTERLEAVE, /* 1080 */
345
+ XML_RNGP_PAT_LIST_LIST, /* 1081 */
346
+ XML_RNGP_PAT_LIST_REF, /* 1082 */
347
+ XML_RNGP_PAT_LIST_TEXT, /* 1083 */
348
+ XML_RNGP_PAT_NSNAME_EXCEPT_ANYNAME, /* 1084 */
349
+ XML_RNGP_PAT_NSNAME_EXCEPT_NSNAME, /* 1085 */
350
+ XML_RNGP_PAT_ONEMORE_GROUP_ATTR, /* 1086 */
351
+ XML_RNGP_PAT_ONEMORE_INTERLEAVE_ATTR, /* 1087 */
352
+ XML_RNGP_PAT_START_ATTR, /* 1088 */
353
+ XML_RNGP_PAT_START_DATA, /* 1089 */
354
+ XML_RNGP_PAT_START_EMPTY, /* 1090 */
355
+ XML_RNGP_PAT_START_GROUP, /* 1091 */
356
+ XML_RNGP_PAT_START_INTERLEAVE, /* 1092 */
357
+ XML_RNGP_PAT_START_LIST, /* 1093 */
358
+ XML_RNGP_PAT_START_ONEMORE, /* 1094 */
359
+ XML_RNGP_PAT_START_TEXT, /* 1095 */
360
+ XML_RNGP_PAT_START_VALUE, /* 1096 */
361
+ XML_RNGP_PREFIX_UNDEFINED, /* 1097 */
362
+ XML_RNGP_REF_CREATE_FAILED, /* 1098 */
363
+ XML_RNGP_REF_CYCLE, /* 1099 */
364
+ XML_RNGP_REF_NAME_INVALID, /* 1100 */
365
+ XML_RNGP_REF_NO_DEF, /* 1101 */
366
+ XML_RNGP_REF_NO_NAME, /* 1102 */
367
+ XML_RNGP_REF_NOT_EMPTY, /* 1103 */
368
+ XML_RNGP_START_CHOICE_AND_INTERLEAVE, /* 1104 */
369
+ XML_RNGP_START_CONTENT, /* 1105 */
370
+ XML_RNGP_START_EMPTY, /* 1106 */
371
+ XML_RNGP_START_MISSING, /* 1107 */
372
+ XML_RNGP_TEXT_EXPECTED, /* 1108 */
373
+ XML_RNGP_TEXT_HAS_CHILD, /* 1109 */
374
+ XML_RNGP_TYPE_MISSING, /* 1110 */
375
+ XML_RNGP_TYPE_NOT_FOUND, /* 1111 */
376
+ XML_RNGP_TYPE_VALUE, /* 1112 */
377
+ XML_RNGP_UNKNOWN_ATTRIBUTE, /* 1113 */
378
+ XML_RNGP_UNKNOWN_COMBINE, /* 1114 */
379
+ XML_RNGP_UNKNOWN_CONSTRUCT, /* 1115 */
380
+ XML_RNGP_UNKNOWN_TYPE_LIB, /* 1116 */
381
+ XML_RNGP_URI_FRAGMENT, /* 1117 */
382
+ XML_RNGP_URI_NOT_ABSOLUTE, /* 1118 */
383
+ XML_RNGP_VALUE_EMPTY, /* 1119 */
384
+ XML_RNGP_VALUE_NO_CONTENT, /* 1120 */
385
+ XML_RNGP_XMLNS_NAME, /* 1121 */
386
+ XML_RNGP_XML_NS, /* 1122 */
387
+ XML_XPATH_EXPRESSION_OK = 1200,
388
+ XML_XPATH_NUMBER_ERROR, /* 1201 */
389
+ XML_XPATH_UNFINISHED_LITERAL_ERROR, /* 1202 */
390
+ XML_XPATH_START_LITERAL_ERROR, /* 1203 */
391
+ XML_XPATH_VARIABLE_REF_ERROR, /* 1204 */
392
+ XML_XPATH_UNDEF_VARIABLE_ERROR, /* 1205 */
393
+ XML_XPATH_INVALID_PREDICATE_ERROR, /* 1206 */
394
+ XML_XPATH_EXPR_ERROR, /* 1207 */
395
+ XML_XPATH_UNCLOSED_ERROR, /* 1208 */
396
+ XML_XPATH_UNKNOWN_FUNC_ERROR, /* 1209 */
397
+ XML_XPATH_INVALID_OPERAND, /* 1210 */
398
+ XML_XPATH_INVALID_TYPE, /* 1211 */
399
+ XML_XPATH_INVALID_ARITY, /* 1212 */
400
+ XML_XPATH_INVALID_CTXT_SIZE, /* 1213 */
401
+ XML_XPATH_INVALID_CTXT_POSITION, /* 1214 */
402
+ XML_XPATH_MEMORY_ERROR, /* 1215 */
403
+ XML_XPTR_SYNTAX_ERROR, /* 1216 */
404
+ XML_XPTR_RESOURCE_ERROR, /* 1217 */
405
+ XML_XPTR_SUB_RESOURCE_ERROR, /* 1218 */
406
+ XML_XPATH_UNDEF_PREFIX_ERROR, /* 1219 */
407
+ XML_XPATH_ENCODING_ERROR, /* 1220 */
408
+ XML_XPATH_INVALID_CHAR_ERROR, /* 1221 */
409
+ XML_TREE_INVALID_HEX = 1300,
410
+ XML_TREE_INVALID_DEC, /* 1301 */
411
+ XML_TREE_UNTERMINATED_ENTITY, /* 1302 */
412
+ XML_TREE_NOT_UTF8, /* 1303 */
413
+ XML_SAVE_NOT_UTF8 = 1400,
414
+ XML_SAVE_CHAR_INVALID, /* 1401 */
415
+ XML_SAVE_NO_DOCTYPE, /* 1402 */
416
+ XML_SAVE_UNKNOWN_ENCODING, /* 1403 */
417
+ XML_REGEXP_COMPILE_ERROR = 1450,
418
+ XML_IO_UNKNOWN = 1500,
419
+ XML_IO_EACCES, /* 1501 */
420
+ XML_IO_EAGAIN, /* 1502 */
421
+ XML_IO_EBADF, /* 1503 */
422
+ XML_IO_EBADMSG, /* 1504 */
423
+ XML_IO_EBUSY, /* 1505 */
424
+ XML_IO_ECANCELED, /* 1506 */
425
+ XML_IO_ECHILD, /* 1507 */
426
+ XML_IO_EDEADLK, /* 1508 */
427
+ XML_IO_EDOM, /* 1509 */
428
+ XML_IO_EEXIST, /* 1510 */
429
+ XML_IO_EFAULT, /* 1511 */
430
+ XML_IO_EFBIG, /* 1512 */
431
+ XML_IO_EINPROGRESS, /* 1513 */
432
+ XML_IO_EINTR, /* 1514 */
433
+ XML_IO_EINVAL, /* 1515 */
434
+ XML_IO_EIO, /* 1516 */
435
+ XML_IO_EISDIR, /* 1517 */
436
+ XML_IO_EMFILE, /* 1518 */
437
+ XML_IO_EMLINK, /* 1519 */
438
+ XML_IO_EMSGSIZE, /* 1520 */
439
+ XML_IO_ENAMETOOLONG, /* 1521 */
440
+ XML_IO_ENFILE, /* 1522 */
441
+ XML_IO_ENODEV, /* 1523 */
442
+ XML_IO_ENOENT, /* 1524 */
443
+ XML_IO_ENOEXEC, /* 1525 */
444
+ XML_IO_ENOLCK, /* 1526 */
445
+ XML_IO_ENOMEM, /* 1527 */
446
+ XML_IO_ENOSPC, /* 1528 */
447
+ XML_IO_ENOSYS, /* 1529 */
448
+ XML_IO_ENOTDIR, /* 1530 */
449
+ XML_IO_ENOTEMPTY, /* 1531 */
450
+ XML_IO_ENOTSUP, /* 1532 */
451
+ XML_IO_ENOTTY, /* 1533 */
452
+ XML_IO_ENXIO, /* 1534 */
453
+ XML_IO_EPERM, /* 1535 */
454
+ XML_IO_EPIPE, /* 1536 */
455
+ XML_IO_ERANGE, /* 1537 */
456
+ XML_IO_EROFS, /* 1538 */
457
+ XML_IO_ESPIPE, /* 1539 */
458
+ XML_IO_ESRCH, /* 1540 */
459
+ XML_IO_ETIMEDOUT, /* 1541 */
460
+ XML_IO_EXDEV, /* 1542 */
461
+ XML_IO_NETWORK_ATTEMPT, /* 1543 */
462
+ XML_IO_ENCODER, /* 1544 */
463
+ XML_IO_FLUSH, /* 1545 */
464
+ XML_IO_WRITE, /* 1546 */
465
+ XML_IO_NO_INPUT, /* 1547 */
466
+ XML_IO_BUFFER_FULL, /* 1548 */
467
+ XML_IO_LOAD_ERROR, /* 1549 */
468
+ XML_IO_ENOTSOCK, /* 1550 */
469
+ XML_IO_EISCONN, /* 1551 */
470
+ XML_IO_ECONNREFUSED, /* 1552 */
471
+ XML_IO_ENETUNREACH, /* 1553 */
472
+ XML_IO_EADDRINUSE, /* 1554 */
473
+ XML_IO_EALREADY, /* 1555 */
474
+ XML_IO_EAFNOSUPPORT, /* 1556 */
475
+ XML_XINCLUDE_RECURSION=1600,
476
+ XML_XINCLUDE_PARSE_VALUE, /* 1601 */
477
+ XML_XINCLUDE_ENTITY_DEF_MISMATCH, /* 1602 */
478
+ XML_XINCLUDE_NO_HREF, /* 1603 */
479
+ XML_XINCLUDE_NO_FALLBACK, /* 1604 */
480
+ XML_XINCLUDE_HREF_URI, /* 1605 */
481
+ XML_XINCLUDE_TEXT_FRAGMENT, /* 1606 */
482
+ XML_XINCLUDE_TEXT_DOCUMENT, /* 1607 */
483
+ XML_XINCLUDE_INVALID_CHAR, /* 1608 */
484
+ XML_XINCLUDE_BUILD_FAILED, /* 1609 */
485
+ XML_XINCLUDE_UNKNOWN_ENCODING, /* 1610 */
486
+ XML_XINCLUDE_MULTIPLE_ROOT, /* 1611 */
487
+ XML_XINCLUDE_XPTR_FAILED, /* 1612 */
488
+ XML_XINCLUDE_XPTR_RESULT, /* 1613 */
489
+ XML_XINCLUDE_INCLUDE_IN_INCLUDE, /* 1614 */
490
+ XML_XINCLUDE_FALLBACKS_IN_INCLUDE, /* 1615 */
491
+ XML_XINCLUDE_FALLBACK_NOT_IN_INCLUDE, /* 1616 */
492
+ XML_XINCLUDE_DEPRECATED_NS, /* 1617 */
493
+ XML_XINCLUDE_FRAGMENT_ID, /* 1618 */
494
+ XML_CATALOG_MISSING_ATTR = 1650,
495
+ XML_CATALOG_ENTRY_BROKEN, /* 1651 */
496
+ XML_CATALOG_PREFER_VALUE, /* 1652 */
497
+ XML_CATALOG_NOT_CATALOG, /* 1653 */
498
+ XML_CATALOG_RECURSION, /* 1654 */
499
+ XML_SCHEMAP_PREFIX_UNDEFINED = 1700,
500
+ XML_SCHEMAP_ATTRFORMDEFAULT_VALUE, /* 1701 */
501
+ XML_SCHEMAP_ATTRGRP_NONAME_NOREF, /* 1702 */
502
+ XML_SCHEMAP_ATTR_NONAME_NOREF, /* 1703 */
503
+ XML_SCHEMAP_COMPLEXTYPE_NONAME_NOREF, /* 1704 */
504
+ XML_SCHEMAP_ELEMFORMDEFAULT_VALUE, /* 1705 */
505
+ XML_SCHEMAP_ELEM_NONAME_NOREF, /* 1706 */
506
+ XML_SCHEMAP_EXTENSION_NO_BASE, /* 1707 */
507
+ XML_SCHEMAP_FACET_NO_VALUE, /* 1708 */
508
+ XML_SCHEMAP_FAILED_BUILD_IMPORT, /* 1709 */
509
+ XML_SCHEMAP_GROUP_NONAME_NOREF, /* 1710 */
510
+ XML_SCHEMAP_IMPORT_NAMESPACE_NOT_URI, /* 1711 */
511
+ XML_SCHEMAP_IMPORT_REDEFINE_NSNAME, /* 1712 */
512
+ XML_SCHEMAP_IMPORT_SCHEMA_NOT_URI, /* 1713 */
513
+ XML_SCHEMAP_INVALID_BOOLEAN, /* 1714 */
514
+ XML_SCHEMAP_INVALID_ENUM, /* 1715 */
515
+ XML_SCHEMAP_INVALID_FACET, /* 1716 */
516
+ XML_SCHEMAP_INVALID_FACET_VALUE, /* 1717 */
517
+ XML_SCHEMAP_INVALID_MAXOCCURS, /* 1718 */
518
+ XML_SCHEMAP_INVALID_MINOCCURS, /* 1719 */
519
+ XML_SCHEMAP_INVALID_REF_AND_SUBTYPE, /* 1720 */
520
+ XML_SCHEMAP_INVALID_WHITE_SPACE, /* 1721 */
521
+ XML_SCHEMAP_NOATTR_NOREF, /* 1722 */
522
+ XML_SCHEMAP_NOTATION_NO_NAME, /* 1723 */
523
+ XML_SCHEMAP_NOTYPE_NOREF, /* 1724 */
524
+ XML_SCHEMAP_REF_AND_SUBTYPE, /* 1725 */
525
+ XML_SCHEMAP_RESTRICTION_NONAME_NOREF, /* 1726 */
526
+ XML_SCHEMAP_SIMPLETYPE_NONAME, /* 1727 */
527
+ XML_SCHEMAP_TYPE_AND_SUBTYPE, /* 1728 */
528
+ XML_SCHEMAP_UNKNOWN_ALL_CHILD, /* 1729 */
529
+ XML_SCHEMAP_UNKNOWN_ANYATTRIBUTE_CHILD, /* 1730 */
530
+ XML_SCHEMAP_UNKNOWN_ATTR_CHILD, /* 1731 */
531
+ XML_SCHEMAP_UNKNOWN_ATTRGRP_CHILD, /* 1732 */
532
+ XML_SCHEMAP_UNKNOWN_ATTRIBUTE_GROUP, /* 1733 */
533
+ XML_SCHEMAP_UNKNOWN_BASE_TYPE, /* 1734 */
534
+ XML_SCHEMAP_UNKNOWN_CHOICE_CHILD, /* 1735 */
535
+ XML_SCHEMAP_UNKNOWN_COMPLEXCONTENT_CHILD, /* 1736 */
536
+ XML_SCHEMAP_UNKNOWN_COMPLEXTYPE_CHILD, /* 1737 */
537
+ XML_SCHEMAP_UNKNOWN_ELEM_CHILD, /* 1738 */
538
+ XML_SCHEMAP_UNKNOWN_EXTENSION_CHILD, /* 1739 */
539
+ XML_SCHEMAP_UNKNOWN_FACET_CHILD, /* 1740 */
540
+ XML_SCHEMAP_UNKNOWN_FACET_TYPE, /* 1741 */
541
+ XML_SCHEMAP_UNKNOWN_GROUP_CHILD, /* 1742 */
542
+ XML_SCHEMAP_UNKNOWN_IMPORT_CHILD, /* 1743 */
543
+ XML_SCHEMAP_UNKNOWN_LIST_CHILD, /* 1744 */
544
+ XML_SCHEMAP_UNKNOWN_NOTATION_CHILD, /* 1745 */
545
+ XML_SCHEMAP_UNKNOWN_PROCESSCONTENT_CHILD, /* 1746 */
546
+ XML_SCHEMAP_UNKNOWN_REF, /* 1747 */
547
+ XML_SCHEMAP_UNKNOWN_RESTRICTION_CHILD, /* 1748 */
548
+ XML_SCHEMAP_UNKNOWN_SCHEMAS_CHILD, /* 1749 */
549
+ XML_SCHEMAP_UNKNOWN_SEQUENCE_CHILD, /* 1750 */
550
+ XML_SCHEMAP_UNKNOWN_SIMPLECONTENT_CHILD, /* 1751 */
551
+ XML_SCHEMAP_UNKNOWN_SIMPLETYPE_CHILD, /* 1752 */
552
+ XML_SCHEMAP_UNKNOWN_TYPE, /* 1753 */
553
+ XML_SCHEMAP_UNKNOWN_UNION_CHILD, /* 1754 */
554
+ XML_SCHEMAP_ELEM_DEFAULT_FIXED, /* 1755 */
555
+ XML_SCHEMAP_REGEXP_INVALID, /* 1756 */
556
+ XML_SCHEMAP_FAILED_LOAD, /* 1757 */
557
+ XML_SCHEMAP_NOTHING_TO_PARSE, /* 1758 */
558
+ XML_SCHEMAP_NOROOT, /* 1759 */
559
+ XML_SCHEMAP_REDEFINED_GROUP, /* 1760 */
560
+ XML_SCHEMAP_REDEFINED_TYPE, /* 1761 */
561
+ XML_SCHEMAP_REDEFINED_ELEMENT, /* 1762 */
562
+ XML_SCHEMAP_REDEFINED_ATTRGROUP, /* 1763 */
563
+ XML_SCHEMAP_REDEFINED_ATTR, /* 1764 */
564
+ XML_SCHEMAP_REDEFINED_NOTATION, /* 1765 */
565
+ XML_SCHEMAP_FAILED_PARSE, /* 1766 */
566
+ XML_SCHEMAP_UNKNOWN_PREFIX, /* 1767 */
567
+ XML_SCHEMAP_DEF_AND_PREFIX, /* 1768 */
568
+ XML_SCHEMAP_UNKNOWN_INCLUDE_CHILD, /* 1769 */
569
+ XML_SCHEMAP_INCLUDE_SCHEMA_NOT_URI, /* 1770 */
570
+ XML_SCHEMAP_INCLUDE_SCHEMA_NO_URI, /* 1771 */
571
+ XML_SCHEMAP_NOT_SCHEMA, /* 1772 */
572
+ XML_SCHEMAP_UNKNOWN_MEMBER_TYPE, /* 1773 */
573
+ XML_SCHEMAP_INVALID_ATTR_USE, /* 1774 */
574
+ XML_SCHEMAP_RECURSIVE, /* 1775 */
575
+ XML_SCHEMAP_SUPERNUMEROUS_LIST_ITEM_TYPE, /* 1776 */
576
+ XML_SCHEMAP_INVALID_ATTR_COMBINATION, /* 1777 */
577
+ XML_SCHEMAP_INVALID_ATTR_INLINE_COMBINATION, /* 1778 */
578
+ XML_SCHEMAP_MISSING_SIMPLETYPE_CHILD, /* 1779 */
579
+ XML_SCHEMAP_INVALID_ATTR_NAME, /* 1780 */
580
+ XML_SCHEMAP_REF_AND_CONTENT, /* 1781 */
581
+ XML_SCHEMAP_CT_PROPS_CORRECT_1, /* 1782 */
582
+ XML_SCHEMAP_CT_PROPS_CORRECT_2, /* 1783 */
583
+ XML_SCHEMAP_CT_PROPS_CORRECT_3, /* 1784 */
584
+ XML_SCHEMAP_CT_PROPS_CORRECT_4, /* 1785 */
585
+ XML_SCHEMAP_CT_PROPS_CORRECT_5, /* 1786 */
586
+ XML_SCHEMAP_DERIVATION_OK_RESTRICTION_1, /* 1787 */
587
+ XML_SCHEMAP_DERIVATION_OK_RESTRICTION_2_1_1, /* 1788 */
588
+ XML_SCHEMAP_DERIVATION_OK_RESTRICTION_2_1_2, /* 1789 */
589
+ XML_SCHEMAP_DERIVATION_OK_RESTRICTION_2_2, /* 1790 */
590
+ XML_SCHEMAP_DERIVATION_OK_RESTRICTION_3, /* 1791 */
591
+ XML_SCHEMAP_WILDCARD_INVALID_NS_MEMBER, /* 1792 */
592
+ XML_SCHEMAP_INTERSECTION_NOT_EXPRESSIBLE, /* 1793 */
593
+ XML_SCHEMAP_UNION_NOT_EXPRESSIBLE, /* 1794 */
594
+ XML_SCHEMAP_SRC_IMPORT_3_1, /* 1795 */
595
+ XML_SCHEMAP_SRC_IMPORT_3_2, /* 1796 */
596
+ XML_SCHEMAP_DERIVATION_OK_RESTRICTION_4_1, /* 1797 */
597
+ XML_SCHEMAP_DERIVATION_OK_RESTRICTION_4_2, /* 1798 */
598
+ XML_SCHEMAP_DERIVATION_OK_RESTRICTION_4_3, /* 1799 */
599
+ XML_SCHEMAP_COS_CT_EXTENDS_1_3, /* 1800 */
600
+ XML_SCHEMAV_NOROOT = 1801,
601
+ XML_SCHEMAV_UNDECLAREDELEM, /* 1802 */
602
+ XML_SCHEMAV_NOTTOPLEVEL, /* 1803 */
603
+ XML_SCHEMAV_MISSING, /* 1804 */
604
+ XML_SCHEMAV_WRONGELEM, /* 1805 */
605
+ XML_SCHEMAV_NOTYPE, /* 1806 */
606
+ XML_SCHEMAV_NOROLLBACK, /* 1807 */
607
+ XML_SCHEMAV_ISABSTRACT, /* 1808 */
608
+ XML_SCHEMAV_NOTEMPTY, /* 1809 */
609
+ XML_SCHEMAV_ELEMCONT, /* 1810 */
610
+ XML_SCHEMAV_HAVEDEFAULT, /* 1811 */
611
+ XML_SCHEMAV_NOTNILLABLE, /* 1812 */
612
+ XML_SCHEMAV_EXTRACONTENT, /* 1813 */
613
+ XML_SCHEMAV_INVALIDATTR, /* 1814 */
614
+ XML_SCHEMAV_INVALIDELEM, /* 1815 */
615
+ XML_SCHEMAV_NOTDETERMINIST, /* 1816 */
616
+ XML_SCHEMAV_CONSTRUCT, /* 1817 */
617
+ XML_SCHEMAV_INTERNAL, /* 1818 */
618
+ XML_SCHEMAV_NOTSIMPLE, /* 1819 */
619
+ XML_SCHEMAV_ATTRUNKNOWN, /* 1820 */
620
+ XML_SCHEMAV_ATTRINVALID, /* 1821 */
621
+ XML_SCHEMAV_VALUE, /* 1822 */
622
+ XML_SCHEMAV_FACET, /* 1823 */
623
+ XML_SCHEMAV_CVC_DATATYPE_VALID_1_2_1, /* 1824 */
624
+ XML_SCHEMAV_CVC_DATATYPE_VALID_1_2_2, /* 1825 */
625
+ XML_SCHEMAV_CVC_DATATYPE_VALID_1_2_3, /* 1826 */
626
+ XML_SCHEMAV_CVC_TYPE_3_1_1, /* 1827 */
627
+ XML_SCHEMAV_CVC_TYPE_3_1_2, /* 1828 */
628
+ XML_SCHEMAV_CVC_FACET_VALID, /* 1829 */
629
+ XML_SCHEMAV_CVC_LENGTH_VALID, /* 1830 */
630
+ XML_SCHEMAV_CVC_MINLENGTH_VALID, /* 1831 */
631
+ XML_SCHEMAV_CVC_MAXLENGTH_VALID, /* 1832 */
632
+ XML_SCHEMAV_CVC_MININCLUSIVE_VALID, /* 1833 */
633
+ XML_SCHEMAV_CVC_MAXINCLUSIVE_VALID, /* 1834 */
634
+ XML_SCHEMAV_CVC_MINEXCLUSIVE_VALID, /* 1835 */
635
+ XML_SCHEMAV_CVC_MAXEXCLUSIVE_VALID, /* 1836 */
636
+ XML_SCHEMAV_CVC_TOTALDIGITS_VALID, /* 1837 */
637
+ XML_SCHEMAV_CVC_FRACTIONDIGITS_VALID, /* 1838 */
638
+ XML_SCHEMAV_CVC_PATTERN_VALID, /* 1839 */
639
+ XML_SCHEMAV_CVC_ENUMERATION_VALID, /* 1840 */
640
+ XML_SCHEMAV_CVC_COMPLEX_TYPE_2_1, /* 1841 */
641
+ XML_SCHEMAV_CVC_COMPLEX_TYPE_2_2, /* 1842 */
642
+ XML_SCHEMAV_CVC_COMPLEX_TYPE_2_3, /* 1843 */
643
+ XML_SCHEMAV_CVC_COMPLEX_TYPE_2_4, /* 1844 */
644
+ XML_SCHEMAV_CVC_ELT_1, /* 1845 */
645
+ XML_SCHEMAV_CVC_ELT_2, /* 1846 */
646
+ XML_SCHEMAV_CVC_ELT_3_1, /* 1847 */
647
+ XML_SCHEMAV_CVC_ELT_3_2_1, /* 1848 */
648
+ XML_SCHEMAV_CVC_ELT_3_2_2, /* 1849 */
649
+ XML_SCHEMAV_CVC_ELT_4_1, /* 1850 */
650
+ XML_SCHEMAV_CVC_ELT_4_2, /* 1851 */
651
+ XML_SCHEMAV_CVC_ELT_4_3, /* 1852 */
652
+ XML_SCHEMAV_CVC_ELT_5_1_1, /* 1853 */
653
+ XML_SCHEMAV_CVC_ELT_5_1_2, /* 1854 */
654
+ XML_SCHEMAV_CVC_ELT_5_2_1, /* 1855 */
655
+ XML_SCHEMAV_CVC_ELT_5_2_2_1, /* 1856 */
656
+ XML_SCHEMAV_CVC_ELT_5_2_2_2_1, /* 1857 */
657
+ XML_SCHEMAV_CVC_ELT_5_2_2_2_2, /* 1858 */
658
+ XML_SCHEMAV_CVC_ELT_6, /* 1859 */
659
+ XML_SCHEMAV_CVC_ELT_7, /* 1860 */
660
+ XML_SCHEMAV_CVC_ATTRIBUTE_1, /* 1861 */
661
+ XML_SCHEMAV_CVC_ATTRIBUTE_2, /* 1862 */
662
+ XML_SCHEMAV_CVC_ATTRIBUTE_3, /* 1863 */
663
+ XML_SCHEMAV_CVC_ATTRIBUTE_4, /* 1864 */
664
+ XML_SCHEMAV_CVC_COMPLEX_TYPE_3_1, /* 1865 */
665
+ XML_SCHEMAV_CVC_COMPLEX_TYPE_3_2_1, /* 1866 */
666
+ XML_SCHEMAV_CVC_COMPLEX_TYPE_3_2_2, /* 1867 */
667
+ XML_SCHEMAV_CVC_COMPLEX_TYPE_4, /* 1868 */
668
+ XML_SCHEMAV_CVC_COMPLEX_TYPE_5_1, /* 1869 */
669
+ XML_SCHEMAV_CVC_COMPLEX_TYPE_5_2, /* 1870 */
670
+ XML_SCHEMAV_ELEMENT_CONTENT, /* 1871 */
671
+ XML_SCHEMAV_DOCUMENT_ELEMENT_MISSING, /* 1872 */
672
+ XML_SCHEMAV_CVC_COMPLEX_TYPE_1, /* 1873 */
673
+ XML_SCHEMAV_CVC_AU, /* 1874 */
674
+ XML_SCHEMAV_CVC_TYPE_1, /* 1875 */
675
+ XML_SCHEMAV_CVC_TYPE_2, /* 1876 */
676
+ XML_SCHEMAV_CVC_IDC, /* 1877 */
677
+ XML_SCHEMAV_CVC_WILDCARD, /* 1878 */
678
+ XML_SCHEMAV_MISC, /* 1879 */
679
+ XML_XPTR_UNKNOWN_SCHEME = 1900,
680
+ XML_XPTR_CHILDSEQ_START, /* 1901 */
681
+ XML_XPTR_EVAL_FAILED, /* 1902 */
682
+ XML_XPTR_EXTRA_OBJECTS, /* 1903 */
683
+ XML_C14N_CREATE_CTXT = 1950,
684
+ XML_C14N_REQUIRES_UTF8, /* 1951 */
685
+ XML_C14N_CREATE_STACK, /* 1952 */
686
+ XML_C14N_INVALID_NODE, /* 1953 */
687
+ XML_C14N_UNKNOW_NODE, /* 1954 */
688
+ XML_C14N_RELATIVE_NAMESPACE, /* 1955 */
689
+ XML_FTP_PASV_ANSWER = 2000,
690
+ XML_FTP_EPSV_ANSWER, /* 2001 */
691
+ XML_FTP_ACCNT, /* 2002 */
692
+ XML_FTP_URL_SYNTAX, /* 2003 */
693
+ XML_HTTP_URL_SYNTAX = 2020,
694
+ XML_HTTP_USE_IP, /* 2021 */
695
+ XML_HTTP_UNKNOWN_HOST, /* 2022 */
696
+ XML_SCHEMAP_SRC_SIMPLE_TYPE_1 = 3000,
697
+ XML_SCHEMAP_SRC_SIMPLE_TYPE_2, /* 3001 */
698
+ XML_SCHEMAP_SRC_SIMPLE_TYPE_3, /* 3002 */
699
+ XML_SCHEMAP_SRC_SIMPLE_TYPE_4, /* 3003 */
700
+ XML_SCHEMAP_SRC_RESOLVE, /* 3004 */
701
+ XML_SCHEMAP_SRC_RESTRICTION_BASE_OR_SIMPLETYPE, /* 3005 */
702
+ XML_SCHEMAP_SRC_LIST_ITEMTYPE_OR_SIMPLETYPE, /* 3006 */
703
+ XML_SCHEMAP_SRC_UNION_MEMBERTYPES_OR_SIMPLETYPES, /* 3007 */
704
+ XML_SCHEMAP_ST_PROPS_CORRECT_1, /* 3008 */
705
+ XML_SCHEMAP_ST_PROPS_CORRECT_2, /* 3009 */
706
+ XML_SCHEMAP_ST_PROPS_CORRECT_3, /* 3010 */
707
+ XML_SCHEMAP_COS_ST_RESTRICTS_1_1, /* 3011 */
708
+ XML_SCHEMAP_COS_ST_RESTRICTS_1_2, /* 3012 */
709
+ XML_SCHEMAP_COS_ST_RESTRICTS_1_3_1, /* 3013 */
710
+ XML_SCHEMAP_COS_ST_RESTRICTS_1_3_2, /* 3014 */
711
+ XML_SCHEMAP_COS_ST_RESTRICTS_2_1, /* 3015 */
712
+ XML_SCHEMAP_COS_ST_RESTRICTS_2_3_1_1, /* 3016 */
713
+ XML_SCHEMAP_COS_ST_RESTRICTS_2_3_1_2, /* 3017 */
714
+ XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_1, /* 3018 */
715
+ XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_2, /* 3019 */
716
+ XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_3, /* 3020 */
717
+ XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_4, /* 3021 */
718
+ XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_5, /* 3022 */
719
+ XML_SCHEMAP_COS_ST_RESTRICTS_3_1, /* 3023 */
720
+ XML_SCHEMAP_COS_ST_RESTRICTS_3_3_1, /* 3024 */
721
+ XML_SCHEMAP_COS_ST_RESTRICTS_3_3_1_2, /* 3025 */
722
+ XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_2, /* 3026 */
723
+ XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_1, /* 3027 */
724
+ XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_3, /* 3028 */
725
+ XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_4, /* 3029 */
726
+ XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_5, /* 3030 */
727
+ XML_SCHEMAP_COS_ST_DERIVED_OK_2_1, /* 3031 */
728
+ XML_SCHEMAP_COS_ST_DERIVED_OK_2_2, /* 3032 */
729
+ XML_SCHEMAP_S4S_ELEM_NOT_ALLOWED, /* 3033 */
730
+ XML_SCHEMAP_S4S_ELEM_MISSING, /* 3034 */
731
+ XML_SCHEMAP_S4S_ATTR_NOT_ALLOWED, /* 3035 */
732
+ XML_SCHEMAP_S4S_ATTR_MISSING, /* 3036 */
733
+ XML_SCHEMAP_S4S_ATTR_INVALID_VALUE, /* 3037 */
734
+ XML_SCHEMAP_SRC_ELEMENT_1, /* 3038 */
735
+ XML_SCHEMAP_SRC_ELEMENT_2_1, /* 3039 */
736
+ XML_SCHEMAP_SRC_ELEMENT_2_2, /* 3040 */
737
+ XML_SCHEMAP_SRC_ELEMENT_3, /* 3041 */
738
+ XML_SCHEMAP_P_PROPS_CORRECT_1, /* 3042 */
739
+ XML_SCHEMAP_P_PROPS_CORRECT_2_1, /* 3043 */
740
+ XML_SCHEMAP_P_PROPS_CORRECT_2_2, /* 3044 */
741
+ XML_SCHEMAP_E_PROPS_CORRECT_2, /* 3045 */
742
+ XML_SCHEMAP_E_PROPS_CORRECT_3, /* 3046 */
743
+ XML_SCHEMAP_E_PROPS_CORRECT_4, /* 3047 */
744
+ XML_SCHEMAP_E_PROPS_CORRECT_5, /* 3048 */
745
+ XML_SCHEMAP_E_PROPS_CORRECT_6, /* 3049 */
746
+ XML_SCHEMAP_SRC_INCLUDE, /* 3050 */
747
+ XML_SCHEMAP_SRC_ATTRIBUTE_1, /* 3051 */
748
+ XML_SCHEMAP_SRC_ATTRIBUTE_2, /* 3052 */
749
+ XML_SCHEMAP_SRC_ATTRIBUTE_3_1, /* 3053 */
750
+ XML_SCHEMAP_SRC_ATTRIBUTE_3_2, /* 3054 */
751
+ XML_SCHEMAP_SRC_ATTRIBUTE_4, /* 3055 */
752
+ XML_SCHEMAP_NO_XMLNS, /* 3056 */
753
+ XML_SCHEMAP_NO_XSI, /* 3057 */
754
+ XML_SCHEMAP_COS_VALID_DEFAULT_1, /* 3058 */
755
+ XML_SCHEMAP_COS_VALID_DEFAULT_2_1, /* 3059 */
756
+ XML_SCHEMAP_COS_VALID_DEFAULT_2_2_1, /* 3060 */
757
+ XML_SCHEMAP_COS_VALID_DEFAULT_2_2_2, /* 3061 */
758
+ XML_SCHEMAP_CVC_SIMPLE_TYPE, /* 3062 */
759
+ XML_SCHEMAP_COS_CT_EXTENDS_1_1, /* 3063 */
760
+ XML_SCHEMAP_SRC_IMPORT_1_1, /* 3064 */
761
+ XML_SCHEMAP_SRC_IMPORT_1_2, /* 3065 */
762
+ XML_SCHEMAP_SRC_IMPORT_2, /* 3066 */
763
+ XML_SCHEMAP_SRC_IMPORT_2_1, /* 3067 */
764
+ XML_SCHEMAP_SRC_IMPORT_2_2, /* 3068 */
765
+ XML_SCHEMAP_INTERNAL, /* 3069 non-W3C */
766
+ XML_SCHEMAP_NOT_DETERMINISTIC, /* 3070 non-W3C */
767
+ XML_SCHEMAP_SRC_ATTRIBUTE_GROUP_1, /* 3071 */
768
+ XML_SCHEMAP_SRC_ATTRIBUTE_GROUP_2, /* 3072 */
769
+ XML_SCHEMAP_SRC_ATTRIBUTE_GROUP_3, /* 3073 */
770
+ XML_SCHEMAP_MG_PROPS_CORRECT_1, /* 3074 */
771
+ XML_SCHEMAP_MG_PROPS_CORRECT_2, /* 3075 */
772
+ XML_SCHEMAP_SRC_CT_1, /* 3076 */
773
+ XML_SCHEMAP_DERIVATION_OK_RESTRICTION_2_1_3, /* 3077 */
774
+ XML_SCHEMAP_AU_PROPS_CORRECT_2, /* 3078 */
775
+ XML_SCHEMAP_A_PROPS_CORRECT_2, /* 3079 */
776
+ XML_SCHEMAP_C_PROPS_CORRECT, /* 3080 */
777
+ XML_SCHEMAP_SRC_REDEFINE, /* 3081 */
778
+ XML_SCHEMAP_SRC_IMPORT, /* 3082 */
779
+ XML_SCHEMAP_WARN_SKIP_SCHEMA, /* 3083 */
780
+ XML_SCHEMAP_WARN_UNLOCATED_SCHEMA, /* 3084 */
781
+ XML_SCHEMAP_WARN_ATTR_REDECL_PROH, /* 3085 */
782
+ XML_SCHEMAP_WARN_ATTR_POINTLESS_PROH, /* 3085 */
783
+ XML_SCHEMAP_AG_PROPS_CORRECT, /* 3086 */
784
+ XML_SCHEMAP_COS_CT_EXTENDS_1_2, /* 3087 */
785
+ XML_SCHEMAP_AU_PROPS_CORRECT, /* 3088 */
786
+ XML_SCHEMAP_A_PROPS_CORRECT_3, /* 3089 */
787
+ XML_SCHEMAP_COS_ALL_LIMITED, /* 3090 */
788
+ XML_SCHEMATRONV_ASSERT = 4000, /* 4000 */
789
+ XML_SCHEMATRONV_REPORT,
790
+ XML_MODULE_OPEN = 4900, /* 4900 */
791
+ XML_MODULE_CLOSE, /* 4901 */
792
+ XML_CHECK_FOUND_ELEMENT = 5000,
793
+ XML_CHECK_FOUND_ATTRIBUTE, /* 5001 */
794
+ XML_CHECK_FOUND_TEXT, /* 5002 */
795
+ XML_CHECK_FOUND_CDATA, /* 5003 */
796
+ XML_CHECK_FOUND_ENTITYREF, /* 5004 */
797
+ XML_CHECK_FOUND_ENTITY, /* 5005 */
798
+ XML_CHECK_FOUND_PI, /* 5006 */
799
+ XML_CHECK_FOUND_COMMENT, /* 5007 */
800
+ XML_CHECK_FOUND_DOCTYPE, /* 5008 */
801
+ XML_CHECK_FOUND_FRAGMENT, /* 5009 */
802
+ XML_CHECK_FOUND_NOTATION, /* 5010 */
803
+ XML_CHECK_UNKNOWN_NODE, /* 5011 */
804
+ XML_CHECK_ENTITY_TYPE, /* 5012 */
805
+ XML_CHECK_NO_PARENT, /* 5013 */
806
+ XML_CHECK_NO_DOC, /* 5014 */
807
+ XML_CHECK_NO_NAME, /* 5015 */
808
+ XML_CHECK_NO_ELEM, /* 5016 */
809
+ XML_CHECK_WRONG_DOC, /* 5017 */
810
+ XML_CHECK_NO_PREV, /* 5018 */
811
+ XML_CHECK_WRONG_PREV, /* 5019 */
812
+ XML_CHECK_NO_NEXT, /* 5020 */
813
+ XML_CHECK_WRONG_NEXT, /* 5021 */
814
+ XML_CHECK_NOT_DTD, /* 5022 */
815
+ XML_CHECK_NOT_ATTR, /* 5023 */
816
+ XML_CHECK_NOT_ATTR_DECL, /* 5024 */
817
+ XML_CHECK_NOT_ELEM_DECL, /* 5025 */
818
+ XML_CHECK_NOT_ENTITY_DECL, /* 5026 */
819
+ XML_CHECK_NOT_NS_DECL, /* 5027 */
820
+ XML_CHECK_NO_HREF, /* 5028 */
821
+ XML_CHECK_WRONG_PARENT,/* 5029 */
822
+ XML_CHECK_NS_SCOPE, /* 5030 */
823
+ XML_CHECK_NS_ANCESTOR, /* 5031 */
824
+ XML_CHECK_NOT_UTF8, /* 5032 */
825
+ XML_CHECK_NO_DICT, /* 5033 */
826
+ XML_CHECK_NOT_NCNAME, /* 5034 */
827
+ XML_CHECK_OUTSIDE_DICT, /* 5035 */
828
+ XML_CHECK_WRONG_NAME, /* 5036 */
829
+ XML_CHECK_NAME_NOT_NULL, /* 5037 */
830
+ XML_I18N_NO_NAME = 6000,
831
+ XML_I18N_NO_HANDLER, /* 6001 */
832
+ XML_I18N_EXCESS_HANDLER, /* 6002 */
833
+ XML_I18N_CONV_FAILED, /* 6003 */
834
+ XML_I18N_NO_OUTPUT, /* 6004 */
835
+ XML_BUF_OVERFLOW = 7000
836
+ } xmlParserErrors;
837
+
838
+ /**
839
+ * xmlGenericErrorFunc:
840
+ * @ctx: a parsing context
841
+ * @msg: the message
842
+ * @...: the extra arguments of the varargs to format the message
843
+ *
844
+ * Signature of the function to use when there is an error and
845
+ * no parsing or validity context available .
846
+ */
847
+ typedef void (XMLCDECL *xmlGenericErrorFunc) (void *ctx,
848
+ const char *msg,
849
+ ...) LIBXML_ATTR_FORMAT(2,3);
850
+ /**
851
+ * xmlStructuredErrorFunc:
852
+ * @userData: user provided data for the error callback
853
+ * @error: the error being raised.
854
+ *
855
+ * Signature of the function to use when there is an error and
856
+ * the module handles the new error reporting mechanism.
857
+ */
858
+ typedef void (XMLCALL *xmlStructuredErrorFunc) (void *userData, xmlErrorPtr error);
859
+
860
+ /*
861
+ * Use the following function to reset the two global variables
862
+ * xmlGenericError and xmlGenericErrorContext.
863
+ */
864
+ XMLPUBFUN void XMLCALL
865
+ xmlSetGenericErrorFunc (void *ctx,
866
+ xmlGenericErrorFunc handler);
867
+ XML_DEPRECATED
868
+ XMLPUBFUN void XMLCALL
869
+ initGenericErrorDefaultFunc (xmlGenericErrorFunc *handler);
870
+
871
+ XMLPUBFUN void XMLCALL
872
+ xmlSetStructuredErrorFunc (void *ctx,
873
+ xmlStructuredErrorFunc handler);
874
+ /*
875
+ * Default message routines used by SAX and Valid context for error
876
+ * and warning reporting.
877
+ */
878
+ XMLPUBFUN void XMLCDECL
879
+ xmlParserError (void *ctx,
880
+ const char *msg,
881
+ ...) LIBXML_ATTR_FORMAT(2,3);
882
+ XMLPUBFUN void XMLCDECL
883
+ xmlParserWarning (void *ctx,
884
+ const char *msg,
885
+ ...) LIBXML_ATTR_FORMAT(2,3);
886
+ XMLPUBFUN void XMLCDECL
887
+ xmlParserValidityError (void *ctx,
888
+ const char *msg,
889
+ ...) LIBXML_ATTR_FORMAT(2,3);
890
+ XMLPUBFUN void XMLCDECL
891
+ xmlParserValidityWarning (void *ctx,
892
+ const char *msg,
893
+ ...) LIBXML_ATTR_FORMAT(2,3);
894
+ XMLPUBFUN void XMLCALL
895
+ xmlParserPrintFileInfo (xmlParserInputPtr input);
896
+ XMLPUBFUN void XMLCALL
897
+ xmlParserPrintFileContext (xmlParserInputPtr input);
898
+
899
+ /*
900
+ * Extended error information routines
901
+ */
902
+ XMLPUBFUN xmlErrorPtr XMLCALL
903
+ xmlGetLastError (void);
904
+ XMLPUBFUN void XMLCALL
905
+ xmlResetLastError (void);
906
+ XMLPUBFUN xmlErrorPtr XMLCALL
907
+ xmlCtxtGetLastError (void *ctx);
908
+ XMLPUBFUN void XMLCALL
909
+ xmlCtxtResetLastError (void *ctx);
910
+ XMLPUBFUN void XMLCALL
911
+ xmlResetError (xmlErrorPtr err);
912
+ XMLPUBFUN int XMLCALL
913
+ xmlCopyError (xmlErrorPtr from,
914
+ xmlErrorPtr to);
915
+
916
+ #ifdef __cplusplus
917
+ }
918
+ #endif
919
+ #endif /* __XML_ERROR_H__ */