You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

851 lines
57 KiB

4 years ago
  1. # --- BEGIN: GENERATED CONSTANTS ---
  2. # This section is generated by the script 'update-error-constants.py'.
  3. cdef extern from "libxml/xmlerror.h":
  4. ctypedef enum xmlErrorLevel:
  5. XML_ERR_NONE = 0
  6. XML_ERR_WARNING = 1 # A simple warning
  7. XML_ERR_ERROR = 2 # A recoverable error
  8. XML_ERR_FATAL = 3 # A fatal error
  9. ctypedef enum xmlErrorDomain:
  10. XML_FROM_NONE = 0
  11. XML_FROM_PARSER = 1 # The XML parser
  12. XML_FROM_TREE = 2 # The tree module
  13. XML_FROM_NAMESPACE = 3 # The XML Namespace module
  14. XML_FROM_DTD = 4 # The XML DTD validation with parser contex
  15. XML_FROM_HTML = 5 # The HTML parser
  16. XML_FROM_MEMORY = 6 # The memory allocator
  17. XML_FROM_OUTPUT = 7 # The serialization code
  18. XML_FROM_IO = 8 # The Input/Output stack
  19. XML_FROM_FTP = 9 # The FTP module
  20. XML_FROM_HTTP = 10 # The HTTP module
  21. XML_FROM_XINCLUDE = 11 # The XInclude processing
  22. XML_FROM_XPATH = 12 # The XPath module
  23. XML_FROM_XPOINTER = 13 # The XPointer module
  24. XML_FROM_REGEXP = 14 # The regular expressions module
  25. XML_FROM_DATATYPE = 15 # The W3C XML Schemas Datatype module
  26. XML_FROM_SCHEMASP = 16 # The W3C XML Schemas parser module
  27. XML_FROM_SCHEMASV = 17 # The W3C XML Schemas validation module
  28. XML_FROM_RELAXNGP = 18 # The Relax-NG parser module
  29. XML_FROM_RELAXNGV = 19 # The Relax-NG validator module
  30. XML_FROM_CATALOG = 20 # The Catalog module
  31. XML_FROM_C14N = 21 # The Canonicalization module
  32. XML_FROM_XSLT = 22 # The XSLT engine from libxslt
  33. XML_FROM_VALID = 23 # The XML DTD validation with valid context
  34. XML_FROM_CHECK = 24 # The error checking module
  35. XML_FROM_WRITER = 25 # The xmlwriter module
  36. XML_FROM_MODULE = 26 # The dynamically loaded module modul
  37. XML_FROM_I18N = 27 # The module handling character conversion
  38. XML_FROM_SCHEMATRONV = 28 # The Schematron validator module
  39. XML_FROM_BUFFER = 29 # The buffers module
  40. XML_FROM_URI = 30 # The URI module
  41. ctypedef enum xmlParserErrors:
  42. XML_ERR_OK = 0
  43. XML_ERR_INTERNAL_ERROR = 1
  44. XML_ERR_NO_MEMORY = 2
  45. XML_ERR_DOCUMENT_START = 3
  46. XML_ERR_DOCUMENT_EMPTY = 4
  47. XML_ERR_DOCUMENT_END = 5
  48. XML_ERR_INVALID_HEX_CHARREF = 6
  49. XML_ERR_INVALID_DEC_CHARREF = 7
  50. XML_ERR_INVALID_CHARREF = 8
  51. XML_ERR_INVALID_CHAR = 9
  52. XML_ERR_CHARREF_AT_EOF = 10
  53. XML_ERR_CHARREF_IN_PROLOG = 11
  54. XML_ERR_CHARREF_IN_EPILOG = 12
  55. XML_ERR_CHARREF_IN_DTD = 13
  56. XML_ERR_ENTITYREF_AT_EOF = 14
  57. XML_ERR_ENTITYREF_IN_PROLOG = 15
  58. XML_ERR_ENTITYREF_IN_EPILOG = 16
  59. XML_ERR_ENTITYREF_IN_DTD = 17
  60. XML_ERR_PEREF_AT_EOF = 18
  61. XML_ERR_PEREF_IN_PROLOG = 19
  62. XML_ERR_PEREF_IN_EPILOG = 20
  63. XML_ERR_PEREF_IN_INT_SUBSET = 21
  64. XML_ERR_ENTITYREF_NO_NAME = 22
  65. XML_ERR_ENTITYREF_SEMICOL_MISSING = 23
  66. XML_ERR_PEREF_NO_NAME = 24
  67. XML_ERR_PEREF_SEMICOL_MISSING = 25
  68. XML_ERR_UNDECLARED_ENTITY = 26
  69. XML_WAR_UNDECLARED_ENTITY = 27
  70. XML_ERR_UNPARSED_ENTITY = 28
  71. XML_ERR_ENTITY_IS_EXTERNAL = 29
  72. XML_ERR_ENTITY_IS_PARAMETER = 30
  73. XML_ERR_UNKNOWN_ENCODING = 31
  74. XML_ERR_UNSUPPORTED_ENCODING = 32
  75. XML_ERR_STRING_NOT_STARTED = 33
  76. XML_ERR_STRING_NOT_CLOSED = 34
  77. XML_ERR_NS_DECL_ERROR = 35
  78. XML_ERR_ENTITY_NOT_STARTED = 36
  79. XML_ERR_ENTITY_NOT_FINISHED = 37
  80. XML_ERR_LT_IN_ATTRIBUTE = 38
  81. XML_ERR_ATTRIBUTE_NOT_STARTED = 39
  82. XML_ERR_ATTRIBUTE_NOT_FINISHED = 40
  83. XML_ERR_ATTRIBUTE_WITHOUT_VALUE = 41
  84. XML_ERR_ATTRIBUTE_REDEFINED = 42
  85. XML_ERR_LITERAL_NOT_STARTED = 43
  86. XML_ERR_LITERAL_NOT_FINISHED = 44
  87. XML_ERR_COMMENT_NOT_FINISHED = 45
  88. XML_ERR_PI_NOT_STARTED = 46
  89. XML_ERR_PI_NOT_FINISHED = 47
  90. XML_ERR_NOTATION_NOT_STARTED = 48
  91. XML_ERR_NOTATION_NOT_FINISHED = 49
  92. XML_ERR_ATTLIST_NOT_STARTED = 50
  93. XML_ERR_ATTLIST_NOT_FINISHED = 51
  94. XML_ERR_MIXED_NOT_STARTED = 52
  95. XML_ERR_MIXED_NOT_FINISHED = 53
  96. XML_ERR_ELEMCONTENT_NOT_STARTED = 54
  97. XML_ERR_ELEMCONTENT_NOT_FINISHED = 55
  98. XML_ERR_XMLDECL_NOT_STARTED = 56
  99. XML_ERR_XMLDECL_NOT_FINISHED = 57
  100. XML_ERR_CONDSEC_NOT_STARTED = 58
  101. XML_ERR_CONDSEC_NOT_FINISHED = 59
  102. XML_ERR_EXT_SUBSET_NOT_FINISHED = 60
  103. XML_ERR_DOCTYPE_NOT_FINISHED = 61
  104. XML_ERR_MISPLACED_CDATA_END = 62
  105. XML_ERR_CDATA_NOT_FINISHED = 63
  106. XML_ERR_RESERVED_XML_NAME = 64
  107. XML_ERR_SPACE_REQUIRED = 65
  108. XML_ERR_SEPARATOR_REQUIRED = 66
  109. XML_ERR_NMTOKEN_REQUIRED = 67
  110. XML_ERR_NAME_REQUIRED = 68
  111. XML_ERR_PCDATA_REQUIRED = 69
  112. XML_ERR_URI_REQUIRED = 70
  113. XML_ERR_PUBID_REQUIRED = 71
  114. XML_ERR_LT_REQUIRED = 72
  115. XML_ERR_GT_REQUIRED = 73
  116. XML_ERR_LTSLASH_REQUIRED = 74
  117. XML_ERR_EQUAL_REQUIRED = 75
  118. XML_ERR_TAG_NAME_MISMATCH = 76
  119. XML_ERR_TAG_NOT_FINISHED = 77
  120. XML_ERR_STANDALONE_VALUE = 78
  121. XML_ERR_ENCODING_NAME = 79
  122. XML_ERR_HYPHEN_IN_COMMENT = 80
  123. XML_ERR_INVALID_ENCODING = 81
  124. XML_ERR_EXT_ENTITY_STANDALONE = 82
  125. XML_ERR_CONDSEC_INVALID = 83
  126. XML_ERR_VALUE_REQUIRED = 84
  127. XML_ERR_NOT_WELL_BALANCED = 85
  128. XML_ERR_EXTRA_CONTENT = 86
  129. XML_ERR_ENTITY_CHAR_ERROR = 87
  130. XML_ERR_ENTITY_PE_INTERNAL = 88
  131. XML_ERR_ENTITY_LOOP = 89
  132. XML_ERR_ENTITY_BOUNDARY = 90
  133. XML_ERR_INVALID_URI = 91
  134. XML_ERR_URI_FRAGMENT = 92
  135. XML_WAR_CATALOG_PI = 93
  136. XML_ERR_NO_DTD = 94
  137. XML_ERR_CONDSEC_INVALID_KEYWORD = 95
  138. XML_ERR_VERSION_MISSING = 96
  139. XML_WAR_UNKNOWN_VERSION = 97
  140. XML_WAR_LANG_VALUE = 98
  141. XML_WAR_NS_URI = 99
  142. XML_WAR_NS_URI_RELATIVE = 100
  143. XML_ERR_MISSING_ENCODING = 101
  144. XML_WAR_SPACE_VALUE = 102
  145. XML_ERR_NOT_STANDALONE = 103
  146. XML_ERR_ENTITY_PROCESSING = 104
  147. XML_ERR_NOTATION_PROCESSING = 105
  148. XML_WAR_NS_COLUMN = 106
  149. XML_WAR_ENTITY_REDEFINED = 107
  150. XML_ERR_UNKNOWN_VERSION = 108
  151. XML_ERR_VERSION_MISMATCH = 109
  152. XML_ERR_NAME_TOO_LONG = 110
  153. XML_ERR_USER_STOP = 111
  154. XML_NS_ERR_XML_NAMESPACE = 200
  155. XML_NS_ERR_UNDEFINED_NAMESPACE = 201
  156. XML_NS_ERR_QNAME = 202
  157. XML_NS_ERR_ATTRIBUTE_REDEFINED = 203
  158. XML_NS_ERR_EMPTY = 204
  159. XML_NS_ERR_COLON = 205
  160. XML_DTD_ATTRIBUTE_DEFAULT = 500
  161. XML_DTD_ATTRIBUTE_REDEFINED = 501
  162. XML_DTD_ATTRIBUTE_VALUE = 502
  163. XML_DTD_CONTENT_ERROR = 503
  164. XML_DTD_CONTENT_MODEL = 504
  165. XML_DTD_CONTENT_NOT_DETERMINIST = 505
  166. XML_DTD_DIFFERENT_PREFIX = 506
  167. XML_DTD_ELEM_DEFAULT_NAMESPACE = 507
  168. XML_DTD_ELEM_NAMESPACE = 508
  169. XML_DTD_ELEM_REDEFINED = 509
  170. XML_DTD_EMPTY_NOTATION = 510
  171. XML_DTD_ENTITY_TYPE = 511
  172. XML_DTD_ID_FIXED = 512
  173. XML_DTD_ID_REDEFINED = 513
  174. XML_DTD_ID_SUBSET = 514
  175. XML_DTD_INVALID_CHILD = 515
  176. XML_DTD_INVALID_DEFAULT = 516
  177. XML_DTD_LOAD_ERROR = 517
  178. XML_DTD_MISSING_ATTRIBUTE = 518
  179. XML_DTD_MIXED_CORRUPT = 519
  180. XML_DTD_MULTIPLE_ID = 520
  181. XML_DTD_NO_DOC = 521
  182. XML_DTD_NO_DTD = 522
  183. XML_DTD_NO_ELEM_NAME = 523
  184. XML_DTD_NO_PREFIX = 524
  185. XML_DTD_NO_ROOT = 525
  186. XML_DTD_NOTATION_REDEFINED = 526
  187. XML_DTD_NOTATION_VALUE = 527
  188. XML_DTD_NOT_EMPTY = 528
  189. XML_DTD_NOT_PCDATA = 529
  190. XML_DTD_NOT_STANDALONE = 530
  191. XML_DTD_ROOT_NAME = 531
  192. XML_DTD_STANDALONE_WHITE_SPACE = 532
  193. XML_DTD_UNKNOWN_ATTRIBUTE = 533
  194. XML_DTD_UNKNOWN_ELEM = 534
  195. XML_DTD_UNKNOWN_ENTITY = 535
  196. XML_DTD_UNKNOWN_ID = 536
  197. XML_DTD_UNKNOWN_NOTATION = 537
  198. XML_DTD_STANDALONE_DEFAULTED = 538
  199. XML_DTD_XMLID_VALUE = 539
  200. XML_DTD_XMLID_TYPE = 540
  201. XML_DTD_DUP_TOKEN = 541
  202. XML_HTML_STRUCURE_ERROR = 800
  203. XML_HTML_UNKNOWN_TAG = 801
  204. XML_RNGP_ANYNAME_ATTR_ANCESTOR = 1000
  205. XML_RNGP_ATTR_CONFLICT = 1001
  206. XML_RNGP_ATTRIBUTE_CHILDREN = 1002
  207. XML_RNGP_ATTRIBUTE_CONTENT = 1003
  208. XML_RNGP_ATTRIBUTE_EMPTY = 1004
  209. XML_RNGP_ATTRIBUTE_NOOP = 1005
  210. XML_RNGP_CHOICE_CONTENT = 1006
  211. XML_RNGP_CHOICE_EMPTY = 1007
  212. XML_RNGP_CREATE_FAILURE = 1008
  213. XML_RNGP_DATA_CONTENT = 1009
  214. XML_RNGP_DEF_CHOICE_AND_INTERLEAVE = 1010
  215. XML_RNGP_DEFINE_CREATE_FAILED = 1011
  216. XML_RNGP_DEFINE_EMPTY = 1012
  217. XML_RNGP_DEFINE_MISSING = 1013
  218. XML_RNGP_DEFINE_NAME_MISSING = 1014
  219. XML_RNGP_ELEM_CONTENT_EMPTY = 1015
  220. XML_RNGP_ELEM_CONTENT_ERROR = 1016
  221. XML_RNGP_ELEMENT_EMPTY = 1017
  222. XML_RNGP_ELEMENT_CONTENT = 1018
  223. XML_RNGP_ELEMENT_NAME = 1019
  224. XML_RNGP_ELEMENT_NO_CONTENT = 1020
  225. XML_RNGP_ELEM_TEXT_CONFLICT = 1021
  226. XML_RNGP_EMPTY = 1022
  227. XML_RNGP_EMPTY_CONSTRUCT = 1023
  228. XML_RNGP_EMPTY_CONTENT = 1024
  229. XML_RNGP_EMPTY_NOT_EMPTY = 1025
  230. XML_RNGP_ERROR_TYPE_LIB = 1026
  231. XML_RNGP_EXCEPT_EMPTY = 1027
  232. XML_RNGP_EXCEPT_MISSING = 1028
  233. XML_RNGP_EXCEPT_MULTIPLE = 1029
  234. XML_RNGP_EXCEPT_NO_CONTENT = 1030
  235. XML_RNGP_EXTERNALREF_EMTPY = 1031
  236. XML_RNGP_EXTERNAL_REF_FAILURE = 1032
  237. XML_RNGP_EXTERNALREF_RECURSE = 1033
  238. XML_RNGP_FORBIDDEN_ATTRIBUTE = 1034
  239. XML_RNGP_FOREIGN_ELEMENT = 1035
  240. XML_RNGP_GRAMMAR_CONTENT = 1036
  241. XML_RNGP_GRAMMAR_EMPTY = 1037
  242. XML_RNGP_GRAMMAR_MISSING = 1038
  243. XML_RNGP_GRAMMAR_NO_START = 1039
  244. XML_RNGP_GROUP_ATTR_CONFLICT = 1040
  245. XML_RNGP_HREF_ERROR = 1041
  246. XML_RNGP_INCLUDE_EMPTY = 1042
  247. XML_RNGP_INCLUDE_FAILURE = 1043
  248. XML_RNGP_INCLUDE_RECURSE = 1044
  249. XML_RNGP_INTERLEAVE_ADD = 1045
  250. XML_RNGP_INTERLEAVE_CREATE_FAILED = 1046
  251. XML_RNGP_INTERLEAVE_EMPTY = 1047
  252. XML_RNGP_INTERLEAVE_NO_CONTENT = 1048
  253. XML_RNGP_INVALID_DEFINE_NAME = 1049
  254. XML_RNGP_INVALID_URI = 1050
  255. XML_RNGP_INVALID_VALUE = 1051
  256. XML_RNGP_MISSING_HREF = 1052
  257. XML_RNGP_NAME_MISSING = 1053
  258. XML_RNGP_NEED_COMBINE = 1054
  259. XML_RNGP_NOTALLOWED_NOT_EMPTY = 1055
  260. XML_RNGP_NSNAME_ATTR_ANCESTOR = 1056
  261. XML_RNGP_NSNAME_NO_NS = 1057
  262. XML_RNGP_PARAM_FORBIDDEN = 1058
  263. XML_RNGP_PARAM_NAME_MISSING = 1059
  264. XML_RNGP_PARENTREF_CREATE_FAILED = 1060
  265. XML_RNGP_PARENTREF_NAME_INVALID = 1061
  266. XML_RNGP_PARENTREF_NO_NAME = 1062
  267. XML_RNGP_PARENTREF_NO_PARENT = 1063
  268. XML_RNGP_PARENTREF_NOT_EMPTY = 1064
  269. XML_RNGP_PARSE_ERROR = 1065
  270. XML_RNGP_PAT_ANYNAME_EXCEPT_ANYNAME = 1066
  271. XML_RNGP_PAT_ATTR_ATTR = 1067
  272. XML_RNGP_PAT_ATTR_ELEM = 1068
  273. XML_RNGP_PAT_DATA_EXCEPT_ATTR = 1069
  274. XML_RNGP_PAT_DATA_EXCEPT_ELEM = 1070
  275. XML_RNGP_PAT_DATA_EXCEPT_EMPTY = 1071
  276. XML_RNGP_PAT_DATA_EXCEPT_GROUP = 1072
  277. XML_RNGP_PAT_DATA_EXCEPT_INTERLEAVE = 1073
  278. XML_RNGP_PAT_DATA_EXCEPT_LIST = 1074
  279. XML_RNGP_PAT_DATA_EXCEPT_ONEMORE = 1075
  280. XML_RNGP_PAT_DATA_EXCEPT_REF = 1076
  281. XML_RNGP_PAT_DATA_EXCEPT_TEXT = 1077
  282. XML_RNGP_PAT_LIST_ATTR = 1078
  283. XML_RNGP_PAT_LIST_ELEM = 1079
  284. XML_RNGP_PAT_LIST_INTERLEAVE = 1080
  285. XML_RNGP_PAT_LIST_LIST = 1081
  286. XML_RNGP_PAT_LIST_REF = 1082
  287. XML_RNGP_PAT_LIST_TEXT = 1083
  288. XML_RNGP_PAT_NSNAME_EXCEPT_ANYNAME = 1084
  289. XML_RNGP_PAT_NSNAME_EXCEPT_NSNAME = 1085
  290. XML_RNGP_PAT_ONEMORE_GROUP_ATTR = 1086
  291. XML_RNGP_PAT_ONEMORE_INTERLEAVE_ATTR = 1087
  292. XML_RNGP_PAT_START_ATTR = 1088
  293. XML_RNGP_PAT_START_DATA = 1089
  294. XML_RNGP_PAT_START_EMPTY = 1090
  295. XML_RNGP_PAT_START_GROUP = 1091
  296. XML_RNGP_PAT_START_INTERLEAVE = 1092
  297. XML_RNGP_PAT_START_LIST = 1093
  298. XML_RNGP_PAT_START_ONEMORE = 1094
  299. XML_RNGP_PAT_START_TEXT = 1095
  300. XML_RNGP_PAT_START_VALUE = 1096
  301. XML_RNGP_PREFIX_UNDEFINED = 1097
  302. XML_RNGP_REF_CREATE_FAILED = 1098
  303. XML_RNGP_REF_CYCLE = 1099
  304. XML_RNGP_REF_NAME_INVALID = 1100
  305. XML_RNGP_REF_NO_DEF = 1101
  306. XML_RNGP_REF_NO_NAME = 1102
  307. XML_RNGP_REF_NOT_EMPTY = 1103
  308. XML_RNGP_START_CHOICE_AND_INTERLEAVE = 1104
  309. XML_RNGP_START_CONTENT = 1105
  310. XML_RNGP_START_EMPTY = 1106
  311. XML_RNGP_START_MISSING = 1107
  312. XML_RNGP_TEXT_EXPECTED = 1108
  313. XML_RNGP_TEXT_HAS_CHILD = 1109
  314. XML_RNGP_TYPE_MISSING = 1110
  315. XML_RNGP_TYPE_NOT_FOUND = 1111
  316. XML_RNGP_TYPE_VALUE = 1112
  317. XML_RNGP_UNKNOWN_ATTRIBUTE = 1113
  318. XML_RNGP_UNKNOWN_COMBINE = 1114
  319. XML_RNGP_UNKNOWN_CONSTRUCT = 1115
  320. XML_RNGP_UNKNOWN_TYPE_LIB = 1116
  321. XML_RNGP_URI_FRAGMENT = 1117
  322. XML_RNGP_URI_NOT_ABSOLUTE = 1118
  323. XML_RNGP_VALUE_EMPTY = 1119
  324. XML_RNGP_VALUE_NO_CONTENT = 1120
  325. XML_RNGP_XMLNS_NAME = 1121
  326. XML_RNGP_XML_NS = 1122
  327. XML_XPATH_EXPRESSION_OK = 1200
  328. XML_XPATH_NUMBER_ERROR = 1201
  329. XML_XPATH_UNFINISHED_LITERAL_ERROR = 1202
  330. XML_XPATH_START_LITERAL_ERROR = 1203
  331. XML_XPATH_VARIABLE_REF_ERROR = 1204
  332. XML_XPATH_UNDEF_VARIABLE_ERROR = 1205
  333. XML_XPATH_INVALID_PREDICATE_ERROR = 1206
  334. XML_XPATH_EXPR_ERROR = 1207
  335. XML_XPATH_UNCLOSED_ERROR = 1208
  336. XML_XPATH_UNKNOWN_FUNC_ERROR = 1209
  337. XML_XPATH_INVALID_OPERAND = 1210
  338. XML_XPATH_INVALID_TYPE = 1211
  339. XML_XPATH_INVALID_ARITY = 1212
  340. XML_XPATH_INVALID_CTXT_SIZE = 1213
  341. XML_XPATH_INVALID_CTXT_POSITION = 1214
  342. XML_XPATH_MEMORY_ERROR = 1215
  343. XML_XPTR_SYNTAX_ERROR = 1216
  344. XML_XPTR_RESOURCE_ERROR = 1217
  345. XML_XPTR_SUB_RESOURCE_ERROR = 1218
  346. XML_XPATH_UNDEF_PREFIX_ERROR = 1219
  347. XML_XPATH_ENCODING_ERROR = 1220
  348. XML_XPATH_INVALID_CHAR_ERROR = 1221
  349. XML_TREE_INVALID_HEX = 1300
  350. XML_TREE_INVALID_DEC = 1301
  351. XML_TREE_UNTERMINATED_ENTITY = 1302
  352. XML_TREE_NOT_UTF8 = 1303
  353. XML_SAVE_NOT_UTF8 = 1400
  354. XML_SAVE_CHAR_INVALID = 1401
  355. XML_SAVE_NO_DOCTYPE = 1402
  356. XML_SAVE_UNKNOWN_ENCODING = 1403
  357. XML_REGEXP_COMPILE_ERROR = 1450
  358. XML_IO_UNKNOWN = 1500
  359. XML_IO_EACCES = 1501
  360. XML_IO_EAGAIN = 1502
  361. XML_IO_EBADF = 1503
  362. XML_IO_EBADMSG = 1504
  363. XML_IO_EBUSY = 1505
  364. XML_IO_ECANCELED = 1506
  365. XML_IO_ECHILD = 1507
  366. XML_IO_EDEADLK = 1508
  367. XML_IO_EDOM = 1509
  368. XML_IO_EEXIST = 1510
  369. XML_IO_EFAULT = 1511
  370. XML_IO_EFBIG = 1512
  371. XML_IO_EINPROGRESS = 1513
  372. XML_IO_EINTR = 1514
  373. XML_IO_EINVAL = 1515
  374. XML_IO_EIO = 1516
  375. XML_IO_EISDIR = 1517
  376. XML_IO_EMFILE = 1518
  377. XML_IO_EMLINK = 1519
  378. XML_IO_EMSGSIZE = 1520
  379. XML_IO_ENAMETOOLONG = 1521
  380. XML_IO_ENFILE = 1522
  381. XML_IO_ENODEV = 1523
  382. XML_IO_ENOENT = 1524
  383. XML_IO_ENOEXEC = 1525
  384. XML_IO_ENOLCK = 1526
  385. XML_IO_ENOMEM = 1527
  386. XML_IO_ENOSPC = 1528
  387. XML_IO_ENOSYS = 1529
  388. XML_IO_ENOTDIR = 1530
  389. XML_IO_ENOTEMPTY = 1531
  390. XML_IO_ENOTSUP = 1532
  391. XML_IO_ENOTTY = 1533
  392. XML_IO_ENXIO = 1534
  393. XML_IO_EPERM = 1535
  394. XML_IO_EPIPE = 1536
  395. XML_IO_ERANGE = 1537
  396. XML_IO_EROFS = 1538
  397. XML_IO_ESPIPE = 1539
  398. XML_IO_ESRCH = 1540
  399. XML_IO_ETIMEDOUT = 1541
  400. XML_IO_EXDEV = 1542
  401. XML_IO_NETWORK_ATTEMPT = 1543
  402. XML_IO_ENCODER = 1544
  403. XML_IO_FLUSH = 1545
  404. XML_IO_WRITE = 1546
  405. XML_IO_NO_INPUT = 1547
  406. XML_IO_BUFFER_FULL = 1548
  407. XML_IO_LOAD_ERROR = 1549
  408. XML_IO_ENOTSOCK = 1550
  409. XML_IO_EISCONN = 1551
  410. XML_IO_ECONNREFUSED = 1552
  411. XML_IO_ENETUNREACH = 1553
  412. XML_IO_EADDRINUSE = 1554
  413. XML_IO_EALREADY = 1555
  414. XML_IO_EAFNOSUPPORT = 1556
  415. XML_XINCLUDE_RECURSION = 1600
  416. XML_XINCLUDE_PARSE_VALUE = 1601
  417. XML_XINCLUDE_ENTITY_DEF_MISMATCH = 1602
  418. XML_XINCLUDE_NO_HREF = 1603
  419. XML_XINCLUDE_NO_FALLBACK = 1604
  420. XML_XINCLUDE_HREF_URI = 1605
  421. XML_XINCLUDE_TEXT_FRAGMENT = 1606
  422. XML_XINCLUDE_TEXT_DOCUMENT = 1607
  423. XML_XINCLUDE_INVALID_CHAR = 1608
  424. XML_XINCLUDE_BUILD_FAILED = 1609
  425. XML_XINCLUDE_UNKNOWN_ENCODING = 1610
  426. XML_XINCLUDE_MULTIPLE_ROOT = 1611
  427. XML_XINCLUDE_XPTR_FAILED = 1612
  428. XML_XINCLUDE_XPTR_RESULT = 1613
  429. XML_XINCLUDE_INCLUDE_IN_INCLUDE = 1614
  430. XML_XINCLUDE_FALLBACKS_IN_INCLUDE = 1615
  431. XML_XINCLUDE_FALLBACK_NOT_IN_INCLUDE = 1616
  432. XML_XINCLUDE_DEPRECATED_NS = 1617
  433. XML_XINCLUDE_FRAGMENT_ID = 1618
  434. XML_CATALOG_MISSING_ATTR = 1650
  435. XML_CATALOG_ENTRY_BROKEN = 1651
  436. XML_CATALOG_PREFER_VALUE = 1652
  437. XML_CATALOG_NOT_CATALOG = 1653
  438. XML_CATALOG_RECURSION = 1654
  439. XML_SCHEMAP_PREFIX_UNDEFINED = 1700
  440. XML_SCHEMAP_ATTRFORMDEFAULT_VALUE = 1701
  441. XML_SCHEMAP_ATTRGRP_NONAME_NOREF = 1702
  442. XML_SCHEMAP_ATTR_NONAME_NOREF = 1703
  443. XML_SCHEMAP_COMPLEXTYPE_NONAME_NOREF = 1704
  444. XML_SCHEMAP_ELEMFORMDEFAULT_VALUE = 1705
  445. XML_SCHEMAP_ELEM_NONAME_NOREF = 1706
  446. XML_SCHEMAP_EXTENSION_NO_BASE = 1707
  447. XML_SCHEMAP_FACET_NO_VALUE = 1708
  448. XML_SCHEMAP_FAILED_BUILD_IMPORT = 1709
  449. XML_SCHEMAP_GROUP_NONAME_NOREF = 1710
  450. XML_SCHEMAP_IMPORT_NAMESPACE_NOT_URI = 1711
  451. XML_SCHEMAP_IMPORT_REDEFINE_NSNAME = 1712
  452. XML_SCHEMAP_IMPORT_SCHEMA_NOT_URI = 1713
  453. XML_SCHEMAP_INVALID_BOOLEAN = 1714
  454. XML_SCHEMAP_INVALID_ENUM = 1715
  455. XML_SCHEMAP_INVALID_FACET = 1716
  456. XML_SCHEMAP_INVALID_FACET_VALUE = 1717
  457. XML_SCHEMAP_INVALID_MAXOCCURS = 1718
  458. XML_SCHEMAP_INVALID_MINOCCURS = 1719
  459. XML_SCHEMAP_INVALID_REF_AND_SUBTYPE = 1720
  460. XML_SCHEMAP_INVALID_WHITE_SPACE = 1721
  461. XML_SCHEMAP_NOATTR_NOREF = 1722
  462. XML_SCHEMAP_NOTATION_NO_NAME = 1723
  463. XML_SCHEMAP_NOTYPE_NOREF = 1724
  464. XML_SCHEMAP_REF_AND_SUBTYPE = 1725
  465. XML_SCHEMAP_RESTRICTION_NONAME_NOREF = 1726
  466. XML_SCHEMAP_SIMPLETYPE_NONAME = 1727
  467. XML_SCHEMAP_TYPE_AND_SUBTYPE = 1728
  468. XML_SCHEMAP_UNKNOWN_ALL_CHILD = 1729
  469. XML_SCHEMAP_UNKNOWN_ANYATTRIBUTE_CHILD = 1730
  470. XML_SCHEMAP_UNKNOWN_ATTR_CHILD = 1731
  471. XML_SCHEMAP_UNKNOWN_ATTRGRP_CHILD = 1732
  472. XML_SCHEMAP_UNKNOWN_ATTRIBUTE_GROUP = 1733
  473. XML_SCHEMAP_UNKNOWN_BASE_TYPE = 1734
  474. XML_SCHEMAP_UNKNOWN_CHOICE_CHILD = 1735
  475. XML_SCHEMAP_UNKNOWN_COMPLEXCONTENT_CHILD = 1736
  476. XML_SCHEMAP_UNKNOWN_COMPLEXTYPE_CHILD = 1737
  477. XML_SCHEMAP_UNKNOWN_ELEM_CHILD = 1738
  478. XML_SCHEMAP_UNKNOWN_EXTENSION_CHILD = 1739
  479. XML_SCHEMAP_UNKNOWN_FACET_CHILD = 1740
  480. XML_SCHEMAP_UNKNOWN_FACET_TYPE = 1741
  481. XML_SCHEMAP_UNKNOWN_GROUP_CHILD = 1742
  482. XML_SCHEMAP_UNKNOWN_IMPORT_CHILD = 1743
  483. XML_SCHEMAP_UNKNOWN_LIST_CHILD = 1744
  484. XML_SCHEMAP_UNKNOWN_NOTATION_CHILD = 1745
  485. XML_SCHEMAP_UNKNOWN_PROCESSCONTENT_CHILD = 1746
  486. XML_SCHEMAP_UNKNOWN_REF = 1747
  487. XML_SCHEMAP_UNKNOWN_RESTRICTION_CHILD = 1748
  488. XML_SCHEMAP_UNKNOWN_SCHEMAS_CHILD = 1749
  489. XML_SCHEMAP_UNKNOWN_SEQUENCE_CHILD = 1750
  490. XML_SCHEMAP_UNKNOWN_SIMPLECONTENT_CHILD = 1751
  491. XML_SCHEMAP_UNKNOWN_SIMPLETYPE_CHILD = 1752
  492. XML_SCHEMAP_UNKNOWN_TYPE = 1753
  493. XML_SCHEMAP_UNKNOWN_UNION_CHILD = 1754
  494. XML_SCHEMAP_ELEM_DEFAULT_FIXED = 1755
  495. XML_SCHEMAP_REGEXP_INVALID = 1756
  496. XML_SCHEMAP_FAILED_LOAD = 1757
  497. XML_SCHEMAP_NOTHING_TO_PARSE = 1758
  498. XML_SCHEMAP_NOROOT = 1759
  499. XML_SCHEMAP_REDEFINED_GROUP = 1760
  500. XML_SCHEMAP_REDEFINED_TYPE = 1761
  501. XML_SCHEMAP_REDEFINED_ELEMENT = 1762
  502. XML_SCHEMAP_REDEFINED_ATTRGROUP = 1763
  503. XML_SCHEMAP_REDEFINED_ATTR = 1764
  504. XML_SCHEMAP_REDEFINED_NOTATION = 1765
  505. XML_SCHEMAP_FAILED_PARSE = 1766
  506. XML_SCHEMAP_UNKNOWN_PREFIX = 1767
  507. XML_SCHEMAP_DEF_AND_PREFIX = 1768
  508. XML_SCHEMAP_UNKNOWN_INCLUDE_CHILD = 1769
  509. XML_SCHEMAP_INCLUDE_SCHEMA_NOT_URI = 1770
  510. XML_SCHEMAP_INCLUDE_SCHEMA_NO_URI = 1771
  511. XML_SCHEMAP_NOT_SCHEMA = 1772
  512. XML_SCHEMAP_UNKNOWN_MEMBER_TYPE = 1773
  513. XML_SCHEMAP_INVALID_ATTR_USE = 1774
  514. XML_SCHEMAP_RECURSIVE = 1775
  515. XML_SCHEMAP_SUPERNUMEROUS_LIST_ITEM_TYPE = 1776
  516. XML_SCHEMAP_INVALID_ATTR_COMBINATION = 1777
  517. XML_SCHEMAP_INVALID_ATTR_INLINE_COMBINATION = 1778
  518. XML_SCHEMAP_MISSING_SIMPLETYPE_CHILD = 1779
  519. XML_SCHEMAP_INVALID_ATTR_NAME = 1780
  520. XML_SCHEMAP_REF_AND_CONTENT = 1781
  521. XML_SCHEMAP_CT_PROPS_CORRECT_1 = 1782
  522. XML_SCHEMAP_CT_PROPS_CORRECT_2 = 1783
  523. XML_SCHEMAP_CT_PROPS_CORRECT_3 = 1784
  524. XML_SCHEMAP_CT_PROPS_CORRECT_4 = 1785
  525. XML_SCHEMAP_CT_PROPS_CORRECT_5 = 1786
  526. XML_SCHEMAP_DERIVATION_OK_RESTRICTION_1 = 1787
  527. XML_SCHEMAP_DERIVATION_OK_RESTRICTION_2_1_1 = 1788
  528. XML_SCHEMAP_DERIVATION_OK_RESTRICTION_2_1_2 = 1789
  529. XML_SCHEMAP_DERIVATION_OK_RESTRICTION_2_2 = 1790
  530. XML_SCHEMAP_DERIVATION_OK_RESTRICTION_3 = 1791
  531. XML_SCHEMAP_WILDCARD_INVALID_NS_MEMBER = 1792
  532. XML_SCHEMAP_INTERSECTION_NOT_EXPRESSIBLE = 1793
  533. XML_SCHEMAP_UNION_NOT_EXPRESSIBLE = 1794
  534. XML_SCHEMAP_SRC_IMPORT_3_1 = 1795
  535. XML_SCHEMAP_SRC_IMPORT_3_2 = 1796
  536. XML_SCHEMAP_DERIVATION_OK_RESTRICTION_4_1 = 1797
  537. XML_SCHEMAP_DERIVATION_OK_RESTRICTION_4_2 = 1798
  538. XML_SCHEMAP_DERIVATION_OK_RESTRICTION_4_3 = 1799
  539. XML_SCHEMAP_COS_CT_EXTENDS_1_3 = 1800
  540. XML_SCHEMAV_NOROOT = 1801
  541. XML_SCHEMAV_UNDECLAREDELEM = 1802
  542. XML_SCHEMAV_NOTTOPLEVEL = 1803
  543. XML_SCHEMAV_MISSING = 1804
  544. XML_SCHEMAV_WRONGELEM = 1805
  545. XML_SCHEMAV_NOTYPE = 1806
  546. XML_SCHEMAV_NOROLLBACK = 1807
  547. XML_SCHEMAV_ISABSTRACT = 1808
  548. XML_SCHEMAV_NOTEMPTY = 1809
  549. XML_SCHEMAV_ELEMCONT = 1810
  550. XML_SCHEMAV_HAVEDEFAULT = 1811
  551. XML_SCHEMAV_NOTNILLABLE = 1812
  552. XML_SCHEMAV_EXTRACONTENT = 1813
  553. XML_SCHEMAV_INVALIDATTR = 1814
  554. XML_SCHEMAV_INVALIDELEM = 1815
  555. XML_SCHEMAV_NOTDETERMINIST = 1816
  556. XML_SCHEMAV_CONSTRUCT = 1817
  557. XML_SCHEMAV_INTERNAL = 1818
  558. XML_SCHEMAV_NOTSIMPLE = 1819
  559. XML_SCHEMAV_ATTRUNKNOWN = 1820
  560. XML_SCHEMAV_ATTRINVALID = 1821
  561. XML_SCHEMAV_VALUE = 1822
  562. XML_SCHEMAV_FACET = 1823
  563. XML_SCHEMAV_CVC_DATATYPE_VALID_1_2_1 = 1824
  564. XML_SCHEMAV_CVC_DATATYPE_VALID_1_2_2 = 1825
  565. XML_SCHEMAV_CVC_DATATYPE_VALID_1_2_3 = 1826
  566. XML_SCHEMAV_CVC_TYPE_3_1_1 = 1827
  567. XML_SCHEMAV_CVC_TYPE_3_1_2 = 1828
  568. XML_SCHEMAV_CVC_FACET_VALID = 1829
  569. XML_SCHEMAV_CVC_LENGTH_VALID = 1830
  570. XML_SCHEMAV_CVC_MINLENGTH_VALID = 1831
  571. XML_SCHEMAV_CVC_MAXLENGTH_VALID = 1832
  572. XML_SCHEMAV_CVC_MININCLUSIVE_VALID = 1833
  573. XML_SCHEMAV_CVC_MAXINCLUSIVE_VALID = 1834
  574. XML_SCHEMAV_CVC_MINEXCLUSIVE_VALID = 1835
  575. XML_SCHEMAV_CVC_MAXEXCLUSIVE_VALID = 1836
  576. XML_SCHEMAV_CVC_TOTALDIGITS_VALID = 1837
  577. XML_SCHEMAV_CVC_FRACTIONDIGITS_VALID = 1838
  578. XML_SCHEMAV_CVC_PATTERN_VALID = 1839
  579. XML_SCHEMAV_CVC_ENUMERATION_VALID = 1840
  580. XML_SCHEMAV_CVC_COMPLEX_TYPE_2_1 = 1841
  581. XML_SCHEMAV_CVC_COMPLEX_TYPE_2_2 = 1842
  582. XML_SCHEMAV_CVC_COMPLEX_TYPE_2_3 = 1843
  583. XML_SCHEMAV_CVC_COMPLEX_TYPE_2_4 = 1844
  584. XML_SCHEMAV_CVC_ELT_1 = 1845
  585. XML_SCHEMAV_CVC_ELT_2 = 1846
  586. XML_SCHEMAV_CVC_ELT_3_1 = 1847
  587. XML_SCHEMAV_CVC_ELT_3_2_1 = 1848
  588. XML_SCHEMAV_CVC_ELT_3_2_2 = 1849
  589. XML_SCHEMAV_CVC_ELT_4_1 = 1850
  590. XML_SCHEMAV_CVC_ELT_4_2 = 1851
  591. XML_SCHEMAV_CVC_ELT_4_3 = 1852
  592. XML_SCHEMAV_CVC_ELT_5_1_1 = 1853
  593. XML_SCHEMAV_CVC_ELT_5_1_2 = 1854
  594. XML_SCHEMAV_CVC_ELT_5_2_1 = 1855
  595. XML_SCHEMAV_CVC_ELT_5_2_2_1 = 1856
  596. XML_SCHEMAV_CVC_ELT_5_2_2_2_1 = 1857
  597. XML_SCHEMAV_CVC_ELT_5_2_2_2_2 = 1858
  598. XML_SCHEMAV_CVC_ELT_6 = 1859
  599. XML_SCHEMAV_CVC_ELT_7 = 1860
  600. XML_SCHEMAV_CVC_ATTRIBUTE_1 = 1861
  601. XML_SCHEMAV_CVC_ATTRIBUTE_2 = 1862
  602. XML_SCHEMAV_CVC_ATTRIBUTE_3 = 1863
  603. XML_SCHEMAV_CVC_ATTRIBUTE_4 = 1864
  604. XML_SCHEMAV_CVC_COMPLEX_TYPE_3_1 = 1865
  605. XML_SCHEMAV_CVC_COMPLEX_TYPE_3_2_1 = 1866
  606. XML_SCHEMAV_CVC_COMPLEX_TYPE_3_2_2 = 1867
  607. XML_SCHEMAV_CVC_COMPLEX_TYPE_4 = 1868
  608. XML_SCHEMAV_CVC_COMPLEX_TYPE_5_1 = 1869
  609. XML_SCHEMAV_CVC_COMPLEX_TYPE_5_2 = 1870
  610. XML_SCHEMAV_ELEMENT_CONTENT = 1871
  611. XML_SCHEMAV_DOCUMENT_ELEMENT_MISSING = 1872
  612. XML_SCHEMAV_CVC_COMPLEX_TYPE_1 = 1873
  613. XML_SCHEMAV_CVC_AU = 1874
  614. XML_SCHEMAV_CVC_TYPE_1 = 1875
  615. XML_SCHEMAV_CVC_TYPE_2 = 1876
  616. XML_SCHEMAV_CVC_IDC = 1877
  617. XML_SCHEMAV_CVC_WILDCARD = 1878
  618. XML_SCHEMAV_MISC = 1879
  619. XML_XPTR_UNKNOWN_SCHEME = 1900
  620. XML_XPTR_CHILDSEQ_START = 1901
  621. XML_XPTR_EVAL_FAILED = 1902
  622. XML_XPTR_EXTRA_OBJECTS = 1903
  623. XML_C14N_CREATE_CTXT = 1950
  624. XML_C14N_REQUIRES_UTF8 = 1951
  625. XML_C14N_CREATE_STACK = 1952
  626. XML_C14N_INVALID_NODE = 1953
  627. XML_C14N_UNKNOW_NODE = 1954
  628. XML_C14N_RELATIVE_NAMESPACE = 1955
  629. XML_FTP_PASV_ANSWER = 2000
  630. XML_FTP_EPSV_ANSWER = 2001
  631. XML_FTP_ACCNT = 2002
  632. XML_FTP_URL_SYNTAX = 2003
  633. XML_HTTP_URL_SYNTAX = 2020
  634. XML_HTTP_USE_IP = 2021
  635. XML_HTTP_UNKNOWN_HOST = 2022
  636. XML_SCHEMAP_SRC_SIMPLE_TYPE_1 = 3000
  637. XML_SCHEMAP_SRC_SIMPLE_TYPE_2 = 3001
  638. XML_SCHEMAP_SRC_SIMPLE_TYPE_3 = 3002
  639. XML_SCHEMAP_SRC_SIMPLE_TYPE_4 = 3003
  640. XML_SCHEMAP_SRC_RESOLVE = 3004
  641. XML_SCHEMAP_SRC_RESTRICTION_BASE_OR_SIMPLETYPE = 3005
  642. XML_SCHEMAP_SRC_LIST_ITEMTYPE_OR_SIMPLETYPE = 3006
  643. XML_SCHEMAP_SRC_UNION_MEMBERTYPES_OR_SIMPLETYPES = 3007
  644. XML_SCHEMAP_ST_PROPS_CORRECT_1 = 3008
  645. XML_SCHEMAP_ST_PROPS_CORRECT_2 = 3009
  646. XML_SCHEMAP_ST_PROPS_CORRECT_3 = 3010
  647. XML_SCHEMAP_COS_ST_RESTRICTS_1_1 = 3011
  648. XML_SCHEMAP_COS_ST_RESTRICTS_1_2 = 3012
  649. XML_SCHEMAP_COS_ST_RESTRICTS_1_3_1 = 3013
  650. XML_SCHEMAP_COS_ST_RESTRICTS_1_3_2 = 3014
  651. XML_SCHEMAP_COS_ST_RESTRICTS_2_1 = 3015
  652. XML_SCHEMAP_COS_ST_RESTRICTS_2_3_1_1 = 3016
  653. XML_SCHEMAP_COS_ST_RESTRICTS_2_3_1_2 = 3017
  654. XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_1 = 3018
  655. XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_2 = 3019
  656. XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_3 = 3020
  657. XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_4 = 3021
  658. XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_5 = 3022
  659. XML_SCHEMAP_COS_ST_RESTRICTS_3_1 = 3023
  660. XML_SCHEMAP_COS_ST_RESTRICTS_3_3_1 = 3024
  661. XML_SCHEMAP_COS_ST_RESTRICTS_3_3_1_2 = 3025
  662. XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_2 = 3026
  663. XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_1 = 3027
  664. XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_3 = 3028
  665. XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_4 = 3029
  666. XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_5 = 3030
  667. XML_SCHEMAP_COS_ST_DERIVED_OK_2_1 = 3031
  668. XML_SCHEMAP_COS_ST_DERIVED_OK_2_2 = 3032
  669. XML_SCHEMAP_S4S_ELEM_NOT_ALLOWED = 3033
  670. XML_SCHEMAP_S4S_ELEM_MISSING = 3034
  671. XML_SCHEMAP_S4S_ATTR_NOT_ALLOWED = 3035
  672. XML_SCHEMAP_S4S_ATTR_MISSING = 3036
  673. XML_SCHEMAP_S4S_ATTR_INVALID_VALUE = 3037
  674. XML_SCHEMAP_SRC_ELEMENT_1 = 3038
  675. XML_SCHEMAP_SRC_ELEMENT_2_1 = 3039
  676. XML_SCHEMAP_SRC_ELEMENT_2_2 = 3040
  677. XML_SCHEMAP_SRC_ELEMENT_3 = 3041
  678. XML_SCHEMAP_P_PROPS_CORRECT_1 = 3042
  679. XML_SCHEMAP_P_PROPS_CORRECT_2_1 = 3043
  680. XML_SCHEMAP_P_PROPS_CORRECT_2_2 = 3044
  681. XML_SCHEMAP_E_PROPS_CORRECT_2 = 3045
  682. XML_SCHEMAP_E_PROPS_CORRECT_3 = 3046
  683. XML_SCHEMAP_E_PROPS_CORRECT_4 = 3047
  684. XML_SCHEMAP_E_PROPS_CORRECT_5 = 3048
  685. XML_SCHEMAP_E_PROPS_CORRECT_6 = 3049
  686. XML_SCHEMAP_SRC_INCLUDE = 3050
  687. XML_SCHEMAP_SRC_ATTRIBUTE_1 = 3051
  688. XML_SCHEMAP_SRC_ATTRIBUTE_2 = 3052
  689. XML_SCHEMAP_SRC_ATTRIBUTE_3_1 = 3053
  690. XML_SCHEMAP_SRC_ATTRIBUTE_3_2 = 3054
  691. XML_SCHEMAP_SRC_ATTRIBUTE_4 = 3055
  692. XML_SCHEMAP_NO_XMLNS = 3056
  693. XML_SCHEMAP_NO_XSI = 3057
  694. XML_SCHEMAP_COS_VALID_DEFAULT_1 = 3058
  695. XML_SCHEMAP_COS_VALID_DEFAULT_2_1 = 3059
  696. XML_SCHEMAP_COS_VALID_DEFAULT_2_2_1 = 3060
  697. XML_SCHEMAP_COS_VALID_DEFAULT_2_2_2 = 3061
  698. XML_SCHEMAP_CVC_SIMPLE_TYPE = 3062
  699. XML_SCHEMAP_COS_CT_EXTENDS_1_1 = 3063
  700. XML_SCHEMAP_SRC_IMPORT_1_1 = 3064
  701. XML_SCHEMAP_SRC_IMPORT_1_2 = 3065
  702. XML_SCHEMAP_SRC_IMPORT_2 = 3066
  703. XML_SCHEMAP_SRC_IMPORT_2_1 = 3067
  704. XML_SCHEMAP_SRC_IMPORT_2_2 = 3068
  705. XML_SCHEMAP_INTERNAL = 3069 # 3069 non-W3C
  706. XML_SCHEMAP_NOT_DETERMINISTIC = 3070 # 3070 non-W3C
  707. XML_SCHEMAP_SRC_ATTRIBUTE_GROUP_1 = 3071
  708. XML_SCHEMAP_SRC_ATTRIBUTE_GROUP_2 = 3072
  709. XML_SCHEMAP_SRC_ATTRIBUTE_GROUP_3 = 3073
  710. XML_SCHEMAP_MG_PROPS_CORRECT_1 = 3074
  711. XML_SCHEMAP_MG_PROPS_CORRECT_2 = 3075
  712. XML_SCHEMAP_SRC_CT_1 = 3076
  713. XML_SCHEMAP_DERIVATION_OK_RESTRICTION_2_1_3 = 3077
  714. XML_SCHEMAP_AU_PROPS_CORRECT_2 = 3078
  715. XML_SCHEMAP_A_PROPS_CORRECT_2 = 3079
  716. XML_SCHEMAP_C_PROPS_CORRECT = 3080
  717. XML_SCHEMAP_SRC_REDEFINE = 3081
  718. XML_SCHEMAP_SRC_IMPORT = 3082
  719. XML_SCHEMAP_WARN_SKIP_SCHEMA = 3083
  720. XML_SCHEMAP_WARN_UNLOCATED_SCHEMA = 3084
  721. XML_SCHEMAP_WARN_ATTR_REDECL_PROH = 3085
  722. XML_SCHEMAP_WARN_ATTR_POINTLESS_PROH = 3086 # 3085
  723. XML_SCHEMAP_AG_PROPS_CORRECT = 3087 # 3086
  724. XML_SCHEMAP_COS_CT_EXTENDS_1_2 = 3088 # 3087
  725. XML_SCHEMAP_AU_PROPS_CORRECT = 3089 # 3088
  726. XML_SCHEMAP_A_PROPS_CORRECT_3 = 3090 # 3089
  727. XML_SCHEMAP_COS_ALL_LIMITED = 3091 # 3090
  728. XML_SCHEMATRONV_ASSERT = 4000
  729. XML_SCHEMATRONV_REPORT = 4001
  730. XML_MODULE_OPEN = 4900
  731. XML_MODULE_CLOSE = 4901
  732. XML_CHECK_FOUND_ELEMENT = 5000
  733. XML_CHECK_FOUND_ATTRIBUTE = 5001
  734. XML_CHECK_FOUND_TEXT = 5002
  735. XML_CHECK_FOUND_CDATA = 5003
  736. XML_CHECK_FOUND_ENTITYREF = 5004
  737. XML_CHECK_FOUND_ENTITY = 5005
  738. XML_CHECK_FOUND_PI = 5006
  739. XML_CHECK_FOUND_COMMENT = 5007
  740. XML_CHECK_FOUND_DOCTYPE = 5008
  741. XML_CHECK_FOUND_FRAGMENT = 5009
  742. XML_CHECK_FOUND_NOTATION = 5010
  743. XML_CHECK_UNKNOWN_NODE = 5011
  744. XML_CHECK_ENTITY_TYPE = 5012
  745. XML_CHECK_NO_PARENT = 5013
  746. XML_CHECK_NO_DOC = 5014
  747. XML_CHECK_NO_NAME = 5015
  748. XML_CHECK_NO_ELEM = 5016
  749. XML_CHECK_WRONG_DOC = 5017
  750. XML_CHECK_NO_PREV = 5018
  751. XML_CHECK_WRONG_PREV = 5019
  752. XML_CHECK_NO_NEXT = 5020
  753. XML_CHECK_WRONG_NEXT = 5021
  754. XML_CHECK_NOT_DTD = 5022
  755. XML_CHECK_NOT_ATTR = 5023
  756. XML_CHECK_NOT_ATTR_DECL = 5024
  757. XML_CHECK_NOT_ELEM_DECL = 5025
  758. XML_CHECK_NOT_ENTITY_DECL = 5026
  759. XML_CHECK_NOT_NS_DECL = 5027
  760. XML_CHECK_NO_HREF = 5028
  761. XML_CHECK_WRONG_PARENT = 5029
  762. XML_CHECK_NS_SCOPE = 5030
  763. XML_CHECK_NS_ANCESTOR = 5031
  764. XML_CHECK_NOT_UTF8 = 5032
  765. XML_CHECK_NO_DICT = 5033
  766. XML_CHECK_NOT_NCNAME = 5034
  767. XML_CHECK_OUTSIDE_DICT = 5035
  768. XML_CHECK_WRONG_NAME = 5036
  769. XML_CHECK_NAME_NOT_NULL = 5037
  770. XML_I18N_NO_NAME = 6000
  771. XML_I18N_NO_HANDLER = 6001
  772. XML_I18N_EXCESS_HANDLER = 6002
  773. XML_I18N_CONV_FAILED = 6003
  774. XML_I18N_NO_OUTPUT = 6004
  775. XML_BUF_OVERFLOW = 7000
  776. ctypedef enum xmlRelaxNGValidErr:
  777. XML_RELAXNG_OK = 0
  778. XML_RELAXNG_ERR_MEMORY = 1
  779. XML_RELAXNG_ERR_TYPE = 2
  780. XML_RELAXNG_ERR_TYPEVAL = 3
  781. XML_RELAXNG_ERR_DUPID = 4
  782. XML_RELAXNG_ERR_TYPECMP = 5
  783. XML_RELAXNG_ERR_NOSTATE = 6
  784. XML_RELAXNG_ERR_NODEFINE = 7
  785. XML_RELAXNG_ERR_LISTEXTRA = 8
  786. XML_RELAXNG_ERR_LISTEMPTY = 9
  787. XML_RELAXNG_ERR_INTERNODATA = 10
  788. XML_RELAXNG_ERR_INTERSEQ = 11
  789. XML_RELAXNG_ERR_INTEREXTRA = 12
  790. XML_RELAXNG_ERR_ELEMNAME = 13
  791. XML_RELAXNG_ERR_ATTRNAME = 14
  792. XML_RELAXNG_ERR_ELEMNONS = 15
  793. XML_RELAXNG_ERR_ATTRNONS = 16
  794. XML_RELAXNG_ERR_ELEMWRONGNS = 17
  795. XML_RELAXNG_ERR_ATTRWRONGNS = 18
  796. XML_RELAXNG_ERR_ELEMEXTRANS = 19
  797. XML_RELAXNG_ERR_ATTREXTRANS = 20
  798. XML_RELAXNG_ERR_ELEMNOTEMPTY = 21
  799. XML_RELAXNG_ERR_NOELEM = 22
  800. XML_RELAXNG_ERR_NOTELEM = 23
  801. XML_RELAXNG_ERR_ATTRVALID = 24
  802. XML_RELAXNG_ERR_CONTENTVALID = 25
  803. XML_RELAXNG_ERR_EXTRACONTENT = 26
  804. XML_RELAXNG_ERR_INVALIDATTR = 27
  805. XML_RELAXNG_ERR_DATAELEM = 28
  806. XML_RELAXNG_ERR_VALELEM = 29
  807. XML_RELAXNG_ERR_LISTELEM = 30
  808. XML_RELAXNG_ERR_DATATYPE = 31
  809. XML_RELAXNG_ERR_VALUE = 32
  810. XML_RELAXNG_ERR_LIST = 33
  811. XML_RELAXNG_ERR_NOGRAMMAR = 34
  812. XML_RELAXNG_ERR_EXTRADATA = 35
  813. XML_RELAXNG_ERR_LACKDATA = 36
  814. XML_RELAXNG_ERR_INTERNAL = 37
  815. XML_RELAXNG_ERR_ELEMWRONG = 38
  816. XML_RELAXNG_ERR_TEXTWRONG = 39
  817. # --- END: GENERATED CONSTANTS ---
  818. cdef extern from "libxml/xmlerror.h":
  819. ctypedef struct xmlError:
  820. int domain
  821. int code
  822. char* message
  823. xmlErrorLevel level
  824. char* file
  825. char* str1
  826. char* str2
  827. char* str3
  828. int line
  829. int int1
  830. int int2
  831. void* node
  832. ctypedef void (*xmlGenericErrorFunc)(void* ctxt, char* msg, ...) nogil
  833. ctypedef void (*xmlStructuredErrorFunc)(void* userData,
  834. xmlError* error) nogil
  835. cdef void xmlSetGenericErrorFunc(
  836. void* ctxt, xmlGenericErrorFunc func) nogil
  837. cdef void xmlSetStructuredErrorFunc(
  838. void* ctxt, xmlStructuredErrorFunc func) nogil
  839. cdef extern from "libxml/globals.h":
  840. cdef xmlStructuredErrorFunc xmlStructuredError
  841. cdef void* xmlStructuredErrorContext