Eneboo - Documentación para desarrolladores
|
00001 /* 00002 * Summary: error handling 00003 * Description: the API used to report errors 00004 * 00005 * Copy: See Copyright for the status of this software. 00006 * 00007 * Author: Daniel Veillard 00008 */ 00009 00010 #include <libxml/parser.h> 00011 00012 #ifndef __XML_ERROR_H__ 00013 #define __XML_ERROR_H__ 00014 00015 #ifdef __cplusplus 00016 extern "C" { 00017 #endif 00018 00024 typedef enum { 00025 XML_ERR_NONE = 0, 00026 XML_ERR_WARNING = 1, /* A simple warning */ 00027 XML_ERR_ERROR = 2, /* A recoverable error */ 00028 XML_ERR_FATAL = 3 /* A fatal error */ 00029 } xmlErrorLevel; 00030 00036 typedef enum { 00037 XML_FROM_NONE = 0, 00038 XML_FROM_PARSER, /* The XML parser */ 00039 XML_FROM_TREE, /* The tree module */ 00040 XML_FROM_NAMESPACE, /* The XML Namespace module */ 00041 XML_FROM_DTD, /* The XML DTD validation with parser context*/ 00042 XML_FROM_HTML, /* The HTML parser */ 00043 XML_FROM_MEMORY, /* The memory allocator */ 00044 XML_FROM_OUTPUT, /* The serialization code */ 00045 XML_FROM_IO, /* The Input/Output stack */ 00046 XML_FROM_FTP, /* The FTP module */ 00047 XML_FROM_HTTP, /* The HTTP module */ 00048 XML_FROM_XINCLUDE, /* The XInclude processing */ 00049 XML_FROM_XPATH, /* The XPath module */ 00050 XML_FROM_XPOINTER, /* The XPointer module */ 00051 XML_FROM_REGEXP, /* The regular expressions module */ 00052 XML_FROM_DATATYPE, /* The W3C XML Schemas Datatype module */ 00053 XML_FROM_SCHEMASP, /* The W3C XML Schemas parser module */ 00054 XML_FROM_SCHEMASV, /* The W3C XML Schemas validation module */ 00055 XML_FROM_RELAXNGP, /* The Relax-NG parser module */ 00056 XML_FROM_RELAXNGV, /* The Relax-NG validator module */ 00057 XML_FROM_CATALOG, /* The Catalog module */ 00058 XML_FROM_C14N, /* The Canonicalization module */ 00059 XML_FROM_XSLT, /* The XSLT engine from libxslt */ 00060 XML_FROM_VALID, /* The XML DTD validation with valid context */ 00061 XML_FROM_CHECK, /* The error checking module */ 00062 XML_FROM_WRITER, /* The xmlwriter module */ 00063 XML_FROM_MODULE, /* The dynamically loaded module module*/ 00064 XML_FROM_I18N, /* The module handling character conversion */ 00065 XML_FROM_SCHEMATRONV /* The Schematron validator module */ 00066 } xmlErrorDomain; 00067 00074 typedef struct _xmlError xmlError; 00075 typedef xmlError *xmlErrorPtr; 00076 struct _xmlError { 00077 int domain; /* What part of the library raised this error */ 00078 int code; /* The error code, e.g. an xmlParserError */ 00079 char *message;/* human-readable informative error message */ 00080 xmlErrorLevel level;/* how consequent is the error */ 00081 char *file; /* the filename */ 00082 int line; /* the line number if available */ 00083 char *str1; /* extra string information */ 00084 char *str2; /* extra string information */ 00085 char *str3; /* extra string information */ 00086 int int1; /* extra number information */ 00087 int int2; /* column number of the error or 0 if N/A (todo: rename this field when we would break ABI) */ 00088 void *ctxt; /* the parser context if available */ 00089 void *node; /* the node in the tree */ 00090 }; 00091 00097 typedef enum { 00098 XML_ERR_OK = 0, 00099 XML_ERR_INTERNAL_ERROR, /* 1 */ 00100 XML_ERR_NO_MEMORY, /* 2 */ 00101 XML_ERR_DOCUMENT_START, /* 3 */ 00102 XML_ERR_DOCUMENT_EMPTY, /* 4 */ 00103 XML_ERR_DOCUMENT_END, /* 5 */ 00104 XML_ERR_INVALID_HEX_CHARREF, /* 6 */ 00105 XML_ERR_INVALID_DEC_CHARREF, /* 7 */ 00106 XML_ERR_INVALID_CHARREF, /* 8 */ 00107 XML_ERR_INVALID_CHAR, /* 9 */ 00108 XML_ERR_CHARREF_AT_EOF, /* 10 */ 00109 XML_ERR_CHARREF_IN_PROLOG, /* 11 */ 00110 XML_ERR_CHARREF_IN_EPILOG, /* 12 */ 00111 XML_ERR_CHARREF_IN_DTD, /* 13 */ 00112 XML_ERR_ENTITYREF_AT_EOF, /* 14 */ 00113 XML_ERR_ENTITYREF_IN_PROLOG, /* 15 */ 00114 XML_ERR_ENTITYREF_IN_EPILOG, /* 16 */ 00115 XML_ERR_ENTITYREF_IN_DTD, /* 17 */ 00116 XML_ERR_PEREF_AT_EOF, /* 18 */ 00117 XML_ERR_PEREF_IN_PROLOG, /* 19 */ 00118 XML_ERR_PEREF_IN_EPILOG, /* 20 */ 00119 XML_ERR_PEREF_IN_INT_SUBSET, /* 21 */ 00120 XML_ERR_ENTITYREF_NO_NAME, /* 22 */ 00121 XML_ERR_ENTITYREF_SEMICOL_MISSING, /* 23 */ 00122 XML_ERR_PEREF_NO_NAME, /* 24 */ 00123 XML_ERR_PEREF_SEMICOL_MISSING, /* 25 */ 00124 XML_ERR_UNDECLARED_ENTITY, /* 26 */ 00125 XML_WAR_UNDECLARED_ENTITY, /* 27 */ 00126 XML_ERR_UNPARSED_ENTITY, /* 28 */ 00127 XML_ERR_ENTITY_IS_EXTERNAL, /* 29 */ 00128 XML_ERR_ENTITY_IS_PARAMETER, /* 30 */ 00129 XML_ERR_UNKNOWN_ENCODING, /* 31 */ 00130 XML_ERR_UNSUPPORTED_ENCODING, /* 32 */ 00131 XML_ERR_STRING_NOT_STARTED, /* 33 */ 00132 XML_ERR_STRING_NOT_CLOSED, /* 34 */ 00133 XML_ERR_NS_DECL_ERROR, /* 35 */ 00134 XML_ERR_ENTITY_NOT_STARTED, /* 36 */ 00135 XML_ERR_ENTITY_NOT_FINISHED, /* 37 */ 00136 XML_ERR_LT_IN_ATTRIBUTE, /* 38 */ 00137 XML_ERR_ATTRIBUTE_NOT_STARTED, /* 39 */ 00138 XML_ERR_ATTRIBUTE_NOT_FINISHED, /* 40 */ 00139 XML_ERR_ATTRIBUTE_WITHOUT_VALUE, /* 41 */ 00140 XML_ERR_ATTRIBUTE_REDEFINED, /* 42 */ 00141 XML_ERR_LITERAL_NOT_STARTED, /* 43 */ 00142 XML_ERR_LITERAL_NOT_FINISHED, /* 44 */ 00143 XML_ERR_COMMENT_NOT_FINISHED, /* 45 */ 00144 XML_ERR_PI_NOT_STARTED, /* 46 */ 00145 XML_ERR_PI_NOT_FINISHED, /* 47 */ 00146 XML_ERR_NOTATION_NOT_STARTED, /* 48 */ 00147 XML_ERR_NOTATION_NOT_FINISHED, /* 49 */ 00148 XML_ERR_ATTLIST_NOT_STARTED, /* 50 */ 00149 XML_ERR_ATTLIST_NOT_FINISHED, /* 51 */ 00150 XML_ERR_MIXED_NOT_STARTED, /* 52 */ 00151 XML_ERR_MIXED_NOT_FINISHED, /* 53 */ 00152 XML_ERR_ELEMCONTENT_NOT_STARTED, /* 54 */ 00153 XML_ERR_ELEMCONTENT_NOT_FINISHED, /* 55 */ 00154 XML_ERR_XMLDECL_NOT_STARTED, /* 56 */ 00155 XML_ERR_XMLDECL_NOT_FINISHED, /* 57 */ 00156 XML_ERR_CONDSEC_NOT_STARTED, /* 58 */ 00157 XML_ERR_CONDSEC_NOT_FINISHED, /* 59 */ 00158 XML_ERR_EXT_SUBSET_NOT_FINISHED, /* 60 */ 00159 XML_ERR_DOCTYPE_NOT_FINISHED, /* 61 */ 00160 XML_ERR_MISPLACED_CDATA_END, /* 62 */ 00161 XML_ERR_CDATA_NOT_FINISHED, /* 63 */ 00162 XML_ERR_RESERVED_XML_NAME, /* 64 */ 00163 XML_ERR_SPACE_REQUIRED, /* 65 */ 00164 XML_ERR_SEPARATOR_REQUIRED, /* 66 */ 00165 XML_ERR_NMTOKEN_REQUIRED, /* 67 */ 00166 XML_ERR_NAME_REQUIRED, /* 68 */ 00167 XML_ERR_PCDATA_REQUIRED, /* 69 */ 00168 XML_ERR_URI_REQUIRED, /* 70 */ 00169 XML_ERR_PUBID_REQUIRED, /* 71 */ 00170 XML_ERR_LT_REQUIRED, /* 72 */ 00171 XML_ERR_GT_REQUIRED, /* 73 */ 00172 XML_ERR_LTSLASH_REQUIRED, /* 74 */ 00173 XML_ERR_EQUAL_REQUIRED, /* 75 */ 00174 XML_ERR_TAG_NAME_MISMATCH, /* 76 */ 00175 XML_ERR_TAG_NOT_FINISHED, /* 77 */ 00176 XML_ERR_STANDALONE_VALUE, /* 78 */ 00177 XML_ERR_ENCODING_NAME, /* 79 */ 00178 XML_ERR_HYPHEN_IN_COMMENT, /* 80 */ 00179 XML_ERR_INVALID_ENCODING, /* 81 */ 00180 XML_ERR_EXT_ENTITY_STANDALONE, /* 82 */ 00181 XML_ERR_CONDSEC_INVALID, /* 83 */ 00182 XML_ERR_VALUE_REQUIRED, /* 84 */ 00183 XML_ERR_NOT_WELL_BALANCED, /* 85 */ 00184 XML_ERR_EXTRA_CONTENT, /* 86 */ 00185 XML_ERR_ENTITY_CHAR_ERROR, /* 87 */ 00186 XML_ERR_ENTITY_PE_INTERNAL, /* 88 */ 00187 XML_ERR_ENTITY_LOOP, /* 89 */ 00188 XML_ERR_ENTITY_BOUNDARY, /* 90 */ 00189 XML_ERR_INVALID_URI, /* 91 */ 00190 XML_ERR_URI_FRAGMENT, /* 92 */ 00191 XML_WAR_CATALOG_PI, /* 93 */ 00192 XML_ERR_NO_DTD, /* 94 */ 00193 XML_ERR_CONDSEC_INVALID_KEYWORD, /* 95 */ 00194 XML_ERR_VERSION_MISSING, /* 96 */ 00195 XML_WAR_UNKNOWN_VERSION, /* 97 */ 00196 XML_WAR_LANG_VALUE, /* 98 */ 00197 XML_WAR_NS_URI, /* 99 */ 00198 XML_WAR_NS_URI_RELATIVE, /* 100 */ 00199 XML_ERR_MISSING_ENCODING, /* 101 */ 00200 XML_WAR_SPACE_VALUE, /* 102 */ 00201 XML_ERR_NOT_STANDALONE, /* 103 */ 00202 XML_ERR_ENTITY_PROCESSING, /* 104 */ 00203 XML_ERR_NOTATION_PROCESSING, /* 105 */ 00204 XML_WAR_NS_COLUMN, /* 106 */ 00205 XML_WAR_ENTITY_REDEFINED, /* 107 */ 00206 XML_ERR_UNKNOWN_VERSION, /* 108 */ 00207 XML_ERR_VERSION_MISMATCH, /* 109 */ 00208 XML_NS_ERR_XML_NAMESPACE = 200, 00209 XML_NS_ERR_UNDEFINED_NAMESPACE, /* 201 */ 00210 XML_NS_ERR_QNAME, /* 202 */ 00211 XML_NS_ERR_ATTRIBUTE_REDEFINED, /* 203 */ 00212 XML_NS_ERR_EMPTY, /* 204 */ 00213 XML_NS_ERR_COLON, /* 205 */ 00214 XML_DTD_ATTRIBUTE_DEFAULT = 500, 00215 XML_DTD_ATTRIBUTE_REDEFINED, /* 501 */ 00216 XML_DTD_ATTRIBUTE_VALUE, /* 502 */ 00217 XML_DTD_CONTENT_ERROR, /* 503 */ 00218 XML_DTD_CONTENT_MODEL, /* 504 */ 00219 XML_DTD_CONTENT_NOT_DETERMINIST, /* 505 */ 00220 XML_DTD_DIFFERENT_PREFIX, /* 506 */ 00221 XML_DTD_ELEM_DEFAULT_NAMESPACE, /* 507 */ 00222 XML_DTD_ELEM_NAMESPACE, /* 508 */ 00223 XML_DTD_ELEM_REDEFINED, /* 509 */ 00224 XML_DTD_EMPTY_NOTATION, /* 510 */ 00225 XML_DTD_ENTITY_TYPE, /* 511 */ 00226 XML_DTD_ID_FIXED, /* 512 */ 00227 XML_DTD_ID_REDEFINED, /* 513 */ 00228 XML_DTD_ID_SUBSET, /* 514 */ 00229 XML_DTD_INVALID_CHILD, /* 515 */ 00230 XML_DTD_INVALID_DEFAULT, /* 516 */ 00231 XML_DTD_LOAD_ERROR, /* 517 */ 00232 XML_DTD_MISSING_ATTRIBUTE, /* 518 */ 00233 XML_DTD_MIXED_CORRUPT, /* 519 */ 00234 XML_DTD_MULTIPLE_ID, /* 520 */ 00235 XML_DTD_NO_DOC, /* 521 */ 00236 XML_DTD_NO_DTD, /* 522 */ 00237 XML_DTD_NO_ELEM_NAME, /* 523 */ 00238 XML_DTD_NO_PREFIX, /* 524 */ 00239 XML_DTD_NO_ROOT, /* 525 */ 00240 XML_DTD_NOTATION_REDEFINED, /* 526 */ 00241 XML_DTD_NOTATION_VALUE, /* 527 */ 00242 XML_DTD_NOT_EMPTY, /* 528 */ 00243 XML_DTD_NOT_PCDATA, /* 529 */ 00244 XML_DTD_NOT_STANDALONE, /* 530 */ 00245 XML_DTD_ROOT_NAME, /* 531 */ 00246 XML_DTD_STANDALONE_WHITE_SPACE, /* 532 */ 00247 XML_DTD_UNKNOWN_ATTRIBUTE, /* 533 */ 00248 XML_DTD_UNKNOWN_ELEM, /* 534 */ 00249 XML_DTD_UNKNOWN_ENTITY, /* 535 */ 00250 XML_DTD_UNKNOWN_ID, /* 536 */ 00251 XML_DTD_UNKNOWN_NOTATION, /* 537 */ 00252 XML_DTD_STANDALONE_DEFAULTED, /* 538 */ 00253 XML_DTD_XMLID_VALUE, /* 539 */ 00254 XML_DTD_XMLID_TYPE, /* 540 */ 00255 XML_DTD_DUP_TOKEN, /* 541 */ 00256 XML_HTML_STRUCURE_ERROR = 800, 00257 XML_HTML_UNKNOWN_TAG, /* 801 */ 00258 XML_RNGP_ANYNAME_ATTR_ANCESTOR = 1000, 00259 XML_RNGP_ATTR_CONFLICT, /* 1001 */ 00260 XML_RNGP_ATTRIBUTE_CHILDREN, /* 1002 */ 00261 XML_RNGP_ATTRIBUTE_CONTENT, /* 1003 */ 00262 XML_RNGP_ATTRIBUTE_EMPTY, /* 1004 */ 00263 XML_RNGP_ATTRIBUTE_NOOP, /* 1005 */ 00264 XML_RNGP_CHOICE_CONTENT, /* 1006 */ 00265 XML_RNGP_CHOICE_EMPTY, /* 1007 */ 00266 XML_RNGP_CREATE_FAILURE, /* 1008 */ 00267 XML_RNGP_DATA_CONTENT, /* 1009 */ 00268 XML_RNGP_DEF_CHOICE_AND_INTERLEAVE, /* 1010 */ 00269 XML_RNGP_DEFINE_CREATE_FAILED, /* 1011 */ 00270 XML_RNGP_DEFINE_EMPTY, /* 1012 */ 00271 XML_RNGP_DEFINE_MISSING, /* 1013 */ 00272 XML_RNGP_DEFINE_NAME_MISSING, /* 1014 */ 00273 XML_RNGP_ELEM_CONTENT_EMPTY, /* 1015 */ 00274 XML_RNGP_ELEM_CONTENT_ERROR, /* 1016 */ 00275 XML_RNGP_ELEMENT_EMPTY, /* 1017 */ 00276 XML_RNGP_ELEMENT_CONTENT, /* 1018 */ 00277 XML_RNGP_ELEMENT_NAME, /* 1019 */ 00278 XML_RNGP_ELEMENT_NO_CONTENT, /* 1020 */ 00279 XML_RNGP_ELEM_TEXT_CONFLICT, /* 1021 */ 00280 XML_RNGP_EMPTY, /* 1022 */ 00281 XML_RNGP_EMPTY_CONSTRUCT, /* 1023 */ 00282 XML_RNGP_EMPTY_CONTENT, /* 1024 */ 00283 XML_RNGP_EMPTY_NOT_EMPTY, /* 1025 */ 00284 XML_RNGP_ERROR_TYPE_LIB, /* 1026 */ 00285 XML_RNGP_EXCEPT_EMPTY, /* 1027 */ 00286 XML_RNGP_EXCEPT_MISSING, /* 1028 */ 00287 XML_RNGP_EXCEPT_MULTIPLE, /* 1029 */ 00288 XML_RNGP_EXCEPT_NO_CONTENT, /* 1030 */ 00289 XML_RNGP_EXTERNALREF_EMTPY, /* 1031 */ 00290 XML_RNGP_EXTERNAL_REF_FAILURE, /* 1032 */ 00291 XML_RNGP_EXTERNALREF_RECURSE, /* 1033 */ 00292 XML_RNGP_FORBIDDEN_ATTRIBUTE, /* 1034 */ 00293 XML_RNGP_FOREIGN_ELEMENT, /* 1035 */ 00294 XML_RNGP_GRAMMAR_CONTENT, /* 1036 */ 00295 XML_RNGP_GRAMMAR_EMPTY, /* 1037 */ 00296 XML_RNGP_GRAMMAR_MISSING, /* 1038 */ 00297 XML_RNGP_GRAMMAR_NO_START, /* 1039 */ 00298 XML_RNGP_GROUP_ATTR_CONFLICT, /* 1040 */ 00299 XML_RNGP_HREF_ERROR, /* 1041 */ 00300 XML_RNGP_INCLUDE_EMPTY, /* 1042 */ 00301 XML_RNGP_INCLUDE_FAILURE, /* 1043 */ 00302 XML_RNGP_INCLUDE_RECURSE, /* 1044 */ 00303 XML_RNGP_INTERLEAVE_ADD, /* 1045 */ 00304 XML_RNGP_INTERLEAVE_CREATE_FAILED, /* 1046 */ 00305 XML_RNGP_INTERLEAVE_EMPTY, /* 1047 */ 00306 XML_RNGP_INTERLEAVE_NO_CONTENT, /* 1048 */ 00307 XML_RNGP_INVALID_DEFINE_NAME, /* 1049 */ 00308 XML_RNGP_INVALID_URI, /* 1050 */ 00309 XML_RNGP_INVALID_VALUE, /* 1051 */ 00310 XML_RNGP_MISSING_HREF, /* 1052 */ 00311 XML_RNGP_NAME_MISSING, /* 1053 */ 00312 XML_RNGP_NEED_COMBINE, /* 1054 */ 00313 XML_RNGP_NOTALLOWED_NOT_EMPTY, /* 1055 */ 00314 XML_RNGP_NSNAME_ATTR_ANCESTOR, /* 1056 */ 00315 XML_RNGP_NSNAME_NO_NS, /* 1057 */ 00316 XML_RNGP_PARAM_FORBIDDEN, /* 1058 */ 00317 XML_RNGP_PARAM_NAME_MISSING, /* 1059 */ 00318 XML_RNGP_PARENTREF_CREATE_FAILED, /* 1060 */ 00319 XML_RNGP_PARENTREF_NAME_INVALID, /* 1061 */ 00320 XML_RNGP_PARENTREF_NO_NAME, /* 1062 */ 00321 XML_RNGP_PARENTREF_NO_PARENT, /* 1063 */ 00322 XML_RNGP_PARENTREF_NOT_EMPTY, /* 1064 */ 00323 XML_RNGP_PARSE_ERROR, /* 1065 */ 00324 XML_RNGP_PAT_ANYNAME_EXCEPT_ANYNAME, /* 1066 */ 00325 XML_RNGP_PAT_ATTR_ATTR, /* 1067 */ 00326 XML_RNGP_PAT_ATTR_ELEM, /* 1068 */ 00327 XML_RNGP_PAT_DATA_EXCEPT_ATTR, /* 1069 */ 00328 XML_RNGP_PAT_DATA_EXCEPT_ELEM, /* 1070 */ 00329 XML_RNGP_PAT_DATA_EXCEPT_EMPTY, /* 1071 */ 00330 XML_RNGP_PAT_DATA_EXCEPT_GROUP, /* 1072 */ 00331 XML_RNGP_PAT_DATA_EXCEPT_INTERLEAVE, /* 1073 */ 00332 XML_RNGP_PAT_DATA_EXCEPT_LIST, /* 1074 */ 00333 XML_RNGP_PAT_DATA_EXCEPT_ONEMORE, /* 1075 */ 00334 XML_RNGP_PAT_DATA_EXCEPT_REF, /* 1076 */ 00335 XML_RNGP_PAT_DATA_EXCEPT_TEXT, /* 1077 */ 00336 XML_RNGP_PAT_LIST_ATTR, /* 1078 */ 00337 XML_RNGP_PAT_LIST_ELEM, /* 1079 */ 00338 XML_RNGP_PAT_LIST_INTERLEAVE, /* 1080 */ 00339 XML_RNGP_PAT_LIST_LIST, /* 1081 */ 00340 XML_RNGP_PAT_LIST_REF, /* 1082 */ 00341 XML_RNGP_PAT_LIST_TEXT, /* 1083 */ 00342 XML_RNGP_PAT_NSNAME_EXCEPT_ANYNAME, /* 1084 */ 00343 XML_RNGP_PAT_NSNAME_EXCEPT_NSNAME, /* 1085 */ 00344 XML_RNGP_PAT_ONEMORE_GROUP_ATTR, /* 1086 */ 00345 XML_RNGP_PAT_ONEMORE_INTERLEAVE_ATTR, /* 1087 */ 00346 XML_RNGP_PAT_START_ATTR, /* 1088 */ 00347 XML_RNGP_PAT_START_DATA, /* 1089 */ 00348 XML_RNGP_PAT_START_EMPTY, /* 1090 */ 00349 XML_RNGP_PAT_START_GROUP, /* 1091 */ 00350 XML_RNGP_PAT_START_INTERLEAVE, /* 1092 */ 00351 XML_RNGP_PAT_START_LIST, /* 1093 */ 00352 XML_RNGP_PAT_START_ONEMORE, /* 1094 */ 00353 XML_RNGP_PAT_START_TEXT, /* 1095 */ 00354 XML_RNGP_PAT_START_VALUE, /* 1096 */ 00355 XML_RNGP_PREFIX_UNDEFINED, /* 1097 */ 00356 XML_RNGP_REF_CREATE_FAILED, /* 1098 */ 00357 XML_RNGP_REF_CYCLE, /* 1099 */ 00358 XML_RNGP_REF_NAME_INVALID, /* 1100 */ 00359 XML_RNGP_REF_NO_DEF, /* 1101 */ 00360 XML_RNGP_REF_NO_NAME, /* 1102 */ 00361 XML_RNGP_REF_NOT_EMPTY, /* 1103 */ 00362 XML_RNGP_START_CHOICE_AND_INTERLEAVE, /* 1104 */ 00363 XML_RNGP_START_CONTENT, /* 1105 */ 00364 XML_RNGP_START_EMPTY, /* 1106 */ 00365 XML_RNGP_START_MISSING, /* 1107 */ 00366 XML_RNGP_TEXT_EXPECTED, /* 1108 */ 00367 XML_RNGP_TEXT_HAS_CHILD, /* 1109 */ 00368 XML_RNGP_TYPE_MISSING, /* 1110 */ 00369 XML_RNGP_TYPE_NOT_FOUND, /* 1111 */ 00370 XML_RNGP_TYPE_VALUE, /* 1112 */ 00371 XML_RNGP_UNKNOWN_ATTRIBUTE, /* 1113 */ 00372 XML_RNGP_UNKNOWN_COMBINE, /* 1114 */ 00373 XML_RNGP_UNKNOWN_CONSTRUCT, /* 1115 */ 00374 XML_RNGP_UNKNOWN_TYPE_LIB, /* 1116 */ 00375 XML_RNGP_URI_FRAGMENT, /* 1117 */ 00376 XML_RNGP_URI_NOT_ABSOLUTE, /* 1118 */ 00377 XML_RNGP_VALUE_EMPTY, /* 1119 */ 00378 XML_RNGP_VALUE_NO_CONTENT, /* 1120 */ 00379 XML_RNGP_XMLNS_NAME, /* 1121 */ 00380 XML_RNGP_XML_NS, /* 1122 */ 00381 XML_XPATH_EXPRESSION_OK = 1200, 00382 XML_XPATH_NUMBER_ERROR, /* 1201 */ 00383 XML_XPATH_UNFINISHED_LITERAL_ERROR, /* 1202 */ 00384 XML_XPATH_START_LITERAL_ERROR, /* 1203 */ 00385 XML_XPATH_VARIABLE_REF_ERROR, /* 1204 */ 00386 XML_XPATH_UNDEF_VARIABLE_ERROR, /* 1205 */ 00387 XML_XPATH_INVALID_PREDICATE_ERROR, /* 1206 */ 00388 XML_XPATH_EXPR_ERROR, /* 1207 */ 00389 XML_XPATH_UNCLOSED_ERROR, /* 1208 */ 00390 XML_XPATH_UNKNOWN_FUNC_ERROR, /* 1209 */ 00391 XML_XPATH_INVALID_OPERAND, /* 1210 */ 00392 XML_XPATH_INVALID_TYPE, /* 1211 */ 00393 XML_XPATH_INVALID_ARITY, /* 1212 */ 00394 XML_XPATH_INVALID_CTXT_SIZE, /* 1213 */ 00395 XML_XPATH_INVALID_CTXT_POSITION, /* 1214 */ 00396 XML_XPATH_MEMORY_ERROR, /* 1215 */ 00397 XML_XPTR_SYNTAX_ERROR, /* 1216 */ 00398 XML_XPTR_RESOURCE_ERROR, /* 1217 */ 00399 XML_XPTR_SUB_RESOURCE_ERROR, /* 1218 */ 00400 XML_XPATH_UNDEF_PREFIX_ERROR, /* 1219 */ 00401 XML_XPATH_ENCODING_ERROR, /* 1220 */ 00402 XML_XPATH_INVALID_CHAR_ERROR, /* 1221 */ 00403 XML_TREE_INVALID_HEX = 1300, 00404 XML_TREE_INVALID_DEC, /* 1301 */ 00405 XML_TREE_UNTERMINATED_ENTITY, /* 1302 */ 00406 XML_TREE_NOT_UTF8, /* 1303 */ 00407 XML_SAVE_NOT_UTF8 = 1400, 00408 XML_SAVE_CHAR_INVALID, /* 1401 */ 00409 XML_SAVE_NO_DOCTYPE, /* 1402 */ 00410 XML_SAVE_UNKNOWN_ENCODING, /* 1403 */ 00411 XML_REGEXP_COMPILE_ERROR = 1450, 00412 XML_IO_UNKNOWN = 1500, 00413 XML_IO_EACCES, /* 1501 */ 00414 XML_IO_EAGAIN, /* 1502 */ 00415 XML_IO_EBADF, /* 1503 */ 00416 XML_IO_EBADMSG, /* 1504 */ 00417 XML_IO_EBUSY, /* 1505 */ 00418 XML_IO_ECANCELED, /* 1506 */ 00419 XML_IO_ECHILD, /* 1507 */ 00420 XML_IO_EDEADLK, /* 1508 */ 00421 XML_IO_EDOM, /* 1509 */ 00422 XML_IO_EEXIST, /* 1510 */ 00423 XML_IO_EFAULT, /* 1511 */ 00424 XML_IO_EFBIG, /* 1512 */ 00425 XML_IO_EINPROGRESS, /* 1513 */ 00426 XML_IO_EINTR, /* 1514 */ 00427 XML_IO_EINVAL, /* 1515 */ 00428 XML_IO_EIO, /* 1516 */ 00429 XML_IO_EISDIR, /* 1517 */ 00430 XML_IO_EMFILE, /* 1518 */ 00431 XML_IO_EMLINK, /* 1519 */ 00432 XML_IO_EMSGSIZE, /* 1520 */ 00433 XML_IO_ENAMETOOLONG, /* 1521 */ 00434 XML_IO_ENFILE, /* 1522 */ 00435 XML_IO_ENODEV, /* 1523 */ 00436 XML_IO_ENOENT, /* 1524 */ 00437 XML_IO_ENOEXEC, /* 1525 */ 00438 XML_IO_ENOLCK, /* 1526 */ 00439 XML_IO_ENOMEM, /* 1527 */ 00440 XML_IO_ENOSPC, /* 1528 */ 00441 XML_IO_ENOSYS, /* 1529 */ 00442 XML_IO_ENOTDIR, /* 1530 */ 00443 XML_IO_ENOTEMPTY, /* 1531 */ 00444 XML_IO_ENOTSUP, /* 1532 */ 00445 XML_IO_ENOTTY, /* 1533 */ 00446 XML_IO_ENXIO, /* 1534 */ 00447 XML_IO_EPERM, /* 1535 */ 00448 XML_IO_EPIPE, /* 1536 */ 00449 XML_IO_ERANGE, /* 1537 */ 00450 XML_IO_EROFS, /* 1538 */ 00451 XML_IO_ESPIPE, /* 1539 */ 00452 XML_IO_ESRCH, /* 1540 */ 00453 XML_IO_ETIMEDOUT, /* 1541 */ 00454 XML_IO_EXDEV, /* 1542 */ 00455 XML_IO_NETWORK_ATTEMPT, /* 1543 */ 00456 XML_IO_ENCODER, /* 1544 */ 00457 XML_IO_FLUSH, /* 1545 */ 00458 XML_IO_WRITE, /* 1546 */ 00459 XML_IO_NO_INPUT, /* 1547 */ 00460 XML_IO_BUFFER_FULL, /* 1548 */ 00461 XML_IO_LOAD_ERROR, /* 1549 */ 00462 XML_IO_ENOTSOCK, /* 1550 */ 00463 XML_IO_EISCONN, /* 1551 */ 00464 XML_IO_ECONNREFUSED, /* 1552 */ 00465 XML_IO_ENETUNREACH, /* 1553 */ 00466 XML_IO_EADDRINUSE, /* 1554 */ 00467 XML_IO_EALREADY, /* 1555 */ 00468 XML_IO_EAFNOSUPPORT, /* 1556 */ 00469 XML_XINCLUDE_RECURSION=1600, 00470 XML_XINCLUDE_PARSE_VALUE, /* 1601 */ 00471 XML_XINCLUDE_ENTITY_DEF_MISMATCH, /* 1602 */ 00472 XML_XINCLUDE_NO_HREF, /* 1603 */ 00473 XML_XINCLUDE_NO_FALLBACK, /* 1604 */ 00474 XML_XINCLUDE_HREF_URI, /* 1605 */ 00475 XML_XINCLUDE_TEXT_FRAGMENT, /* 1606 */ 00476 XML_XINCLUDE_TEXT_DOCUMENT, /* 1607 */ 00477 XML_XINCLUDE_INVALID_CHAR, /* 1608 */ 00478 XML_XINCLUDE_BUILD_FAILED, /* 1609 */ 00479 XML_XINCLUDE_UNKNOWN_ENCODING, /* 1610 */ 00480 XML_XINCLUDE_MULTIPLE_ROOT, /* 1611 */ 00481 XML_XINCLUDE_XPTR_FAILED, /* 1612 */ 00482 XML_XINCLUDE_XPTR_RESULT, /* 1613 */ 00483 XML_XINCLUDE_INCLUDE_IN_INCLUDE, /* 1614 */ 00484 XML_XINCLUDE_FALLBACKS_IN_INCLUDE, /* 1615 */ 00485 XML_XINCLUDE_FALLBACK_NOT_IN_INCLUDE, /* 1616 */ 00486 XML_XINCLUDE_DEPRECATED_NS, /* 1617 */ 00487 XML_XINCLUDE_FRAGMENT_ID, /* 1618 */ 00488 XML_CATALOG_MISSING_ATTR = 1650, 00489 XML_CATALOG_ENTRY_BROKEN, /* 1651 */ 00490 XML_CATALOG_PREFER_VALUE, /* 1652 */ 00491 XML_CATALOG_NOT_CATALOG, /* 1653 */ 00492 XML_CATALOG_RECURSION, /* 1654 */ 00493 XML_SCHEMAP_PREFIX_UNDEFINED = 1700, 00494 XML_SCHEMAP_ATTRFORMDEFAULT_VALUE, /* 1701 */ 00495 XML_SCHEMAP_ATTRGRP_NONAME_NOREF, /* 1702 */ 00496 XML_SCHEMAP_ATTR_NONAME_NOREF, /* 1703 */ 00497 XML_SCHEMAP_COMPLEXTYPE_NONAME_NOREF, /* 1704 */ 00498 XML_SCHEMAP_ELEMFORMDEFAULT_VALUE, /* 1705 */ 00499 XML_SCHEMAP_ELEM_NONAME_NOREF, /* 1706 */ 00500 XML_SCHEMAP_EXTENSION_NO_BASE, /* 1707 */ 00501 XML_SCHEMAP_FACET_NO_VALUE, /* 1708 */ 00502 XML_SCHEMAP_FAILED_BUILD_IMPORT, /* 1709 */ 00503 XML_SCHEMAP_GROUP_NONAME_NOREF, /* 1710 */ 00504 XML_SCHEMAP_IMPORT_NAMESPACE_NOT_URI, /* 1711 */ 00505 XML_SCHEMAP_IMPORT_REDEFINE_NSNAME, /* 1712 */ 00506 XML_SCHEMAP_IMPORT_SCHEMA_NOT_URI, /* 1713 */ 00507 XML_SCHEMAP_INVALID_BOOLEAN, /* 1714 */ 00508 XML_SCHEMAP_INVALID_ENUM, /* 1715 */ 00509 XML_SCHEMAP_INVALID_FACET, /* 1716 */ 00510 XML_SCHEMAP_INVALID_FACET_VALUE, /* 1717 */ 00511 XML_SCHEMAP_INVALID_MAXOCCURS, /* 1718 */ 00512 XML_SCHEMAP_INVALID_MINOCCURS, /* 1719 */ 00513 XML_SCHEMAP_INVALID_REF_AND_SUBTYPE, /* 1720 */ 00514 XML_SCHEMAP_INVALID_WHITE_SPACE, /* 1721 */ 00515 XML_SCHEMAP_NOATTR_NOREF, /* 1722 */ 00516 XML_SCHEMAP_NOTATION_NO_NAME, /* 1723 */ 00517 XML_SCHEMAP_NOTYPE_NOREF, /* 1724 */ 00518 XML_SCHEMAP_REF_AND_SUBTYPE, /* 1725 */ 00519 XML_SCHEMAP_RESTRICTION_NONAME_NOREF, /* 1726 */ 00520 XML_SCHEMAP_SIMPLETYPE_NONAME, /* 1727 */ 00521 XML_SCHEMAP_TYPE_AND_SUBTYPE, /* 1728 */ 00522 XML_SCHEMAP_UNKNOWN_ALL_CHILD, /* 1729 */ 00523 XML_SCHEMAP_UNKNOWN_ANYATTRIBUTE_CHILD, /* 1730 */ 00524 XML_SCHEMAP_UNKNOWN_ATTR_CHILD, /* 1731 */ 00525 XML_SCHEMAP_UNKNOWN_ATTRGRP_CHILD, /* 1732 */ 00526 XML_SCHEMAP_UNKNOWN_ATTRIBUTE_GROUP, /* 1733 */ 00527 XML_SCHEMAP_UNKNOWN_BASE_TYPE, /* 1734 */ 00528 XML_SCHEMAP_UNKNOWN_CHOICE_CHILD, /* 1735 */ 00529 XML_SCHEMAP_UNKNOWN_COMPLEXCONTENT_CHILD, /* 1736 */ 00530 XML_SCHEMAP_UNKNOWN_COMPLEXTYPE_CHILD, /* 1737 */ 00531 XML_SCHEMAP_UNKNOWN_ELEM_CHILD, /* 1738 */ 00532 XML_SCHEMAP_UNKNOWN_EXTENSION_CHILD, /* 1739 */ 00533 XML_SCHEMAP_UNKNOWN_FACET_CHILD, /* 1740 */ 00534 XML_SCHEMAP_UNKNOWN_FACET_TYPE, /* 1741 */ 00535 XML_SCHEMAP_UNKNOWN_GROUP_CHILD, /* 1742 */ 00536 XML_SCHEMAP_UNKNOWN_IMPORT_CHILD, /* 1743 */ 00537 XML_SCHEMAP_UNKNOWN_LIST_CHILD, /* 1744 */ 00538 XML_SCHEMAP_UNKNOWN_NOTATION_CHILD, /* 1745 */ 00539 XML_SCHEMAP_UNKNOWN_PROCESSCONTENT_CHILD, /* 1746 */ 00540 XML_SCHEMAP_UNKNOWN_REF, /* 1747 */ 00541 XML_SCHEMAP_UNKNOWN_RESTRICTION_CHILD, /* 1748 */ 00542 XML_SCHEMAP_UNKNOWN_SCHEMAS_CHILD, /* 1749 */ 00543 XML_SCHEMAP_UNKNOWN_SEQUENCE_CHILD, /* 1750 */ 00544 XML_SCHEMAP_UNKNOWN_SIMPLECONTENT_CHILD, /* 1751 */ 00545 XML_SCHEMAP_UNKNOWN_SIMPLETYPE_CHILD, /* 1752 */ 00546 XML_SCHEMAP_UNKNOWN_TYPE, /* 1753 */ 00547 XML_SCHEMAP_UNKNOWN_UNION_CHILD, /* 1754 */ 00548 XML_SCHEMAP_ELEM_DEFAULT_FIXED, /* 1755 */ 00549 XML_SCHEMAP_REGEXP_INVALID, /* 1756 */ 00550 XML_SCHEMAP_FAILED_LOAD, /* 1757 */ 00551 XML_SCHEMAP_NOTHING_TO_PARSE, /* 1758 */ 00552 XML_SCHEMAP_NOROOT, /* 1759 */ 00553 XML_SCHEMAP_REDEFINED_GROUP, /* 1760 */ 00554 XML_SCHEMAP_REDEFINED_TYPE, /* 1761 */ 00555 XML_SCHEMAP_REDEFINED_ELEMENT, /* 1762 */ 00556 XML_SCHEMAP_REDEFINED_ATTRGROUP, /* 1763 */ 00557 XML_SCHEMAP_REDEFINED_ATTR, /* 1764 */ 00558 XML_SCHEMAP_REDEFINED_NOTATION, /* 1765 */ 00559 XML_SCHEMAP_FAILED_PARSE, /* 1766 */ 00560 XML_SCHEMAP_UNKNOWN_PREFIX, /* 1767 */ 00561 XML_SCHEMAP_DEF_AND_PREFIX, /* 1768 */ 00562 XML_SCHEMAP_UNKNOWN_INCLUDE_CHILD, /* 1769 */ 00563 XML_SCHEMAP_INCLUDE_SCHEMA_NOT_URI, /* 1770 */ 00564 XML_SCHEMAP_INCLUDE_SCHEMA_NO_URI, /* 1771 */ 00565 XML_SCHEMAP_NOT_SCHEMA, /* 1772 */ 00566 XML_SCHEMAP_UNKNOWN_MEMBER_TYPE, /* 1773 */ 00567 XML_SCHEMAP_INVALID_ATTR_USE, /* 1774 */ 00568 XML_SCHEMAP_RECURSIVE, /* 1775 */ 00569 XML_SCHEMAP_SUPERNUMEROUS_LIST_ITEM_TYPE, /* 1776 */ 00570 XML_SCHEMAP_INVALID_ATTR_COMBINATION, /* 1777 */ 00571 XML_SCHEMAP_INVALID_ATTR_INLINE_COMBINATION, /* 1778 */ 00572 XML_SCHEMAP_MISSING_SIMPLETYPE_CHILD, /* 1779 */ 00573 XML_SCHEMAP_INVALID_ATTR_NAME, /* 1780 */ 00574 XML_SCHEMAP_REF_AND_CONTENT, /* 1781 */ 00575 XML_SCHEMAP_CT_PROPS_CORRECT_1, /* 1782 */ 00576 XML_SCHEMAP_CT_PROPS_CORRECT_2, /* 1783 */ 00577 XML_SCHEMAP_CT_PROPS_CORRECT_3, /* 1784 */ 00578 XML_SCHEMAP_CT_PROPS_CORRECT_4, /* 1785 */ 00579 XML_SCHEMAP_CT_PROPS_CORRECT_5, /* 1786 */ 00580 XML_SCHEMAP_DERIVATION_OK_RESTRICTION_1, /* 1787 */ 00581 XML_SCHEMAP_DERIVATION_OK_RESTRICTION_2_1_1, /* 1788 */ 00582 XML_SCHEMAP_DERIVATION_OK_RESTRICTION_2_1_2, /* 1789 */ 00583 XML_SCHEMAP_DERIVATION_OK_RESTRICTION_2_2, /* 1790 */ 00584 XML_SCHEMAP_DERIVATION_OK_RESTRICTION_3, /* 1791 */ 00585 XML_SCHEMAP_WILDCARD_INVALID_NS_MEMBER, /* 1792 */ 00586 XML_SCHEMAP_INTERSECTION_NOT_EXPRESSIBLE, /* 1793 */ 00587 XML_SCHEMAP_UNION_NOT_EXPRESSIBLE, /* 1794 */ 00588 XML_SCHEMAP_SRC_IMPORT_3_1, /* 1795 */ 00589 XML_SCHEMAP_SRC_IMPORT_3_2, /* 1796 */ 00590 XML_SCHEMAP_DERIVATION_OK_RESTRICTION_4_1, /* 1797 */ 00591 XML_SCHEMAP_DERIVATION_OK_RESTRICTION_4_2, /* 1798 */ 00592 XML_SCHEMAP_DERIVATION_OK_RESTRICTION_4_3, /* 1799 */ 00593 XML_SCHEMAP_COS_CT_EXTENDS_1_3, /* 1800 */ 00594 XML_SCHEMAV_NOROOT = 1801, 00595 XML_SCHEMAV_UNDECLAREDELEM, /* 1802 */ 00596 XML_SCHEMAV_NOTTOPLEVEL, /* 1803 */ 00597 XML_SCHEMAV_MISSING, /* 1804 */ 00598 XML_SCHEMAV_WRONGELEM, /* 1805 */ 00599 XML_SCHEMAV_NOTYPE, /* 1806 */ 00600 XML_SCHEMAV_NOROLLBACK, /* 1807 */ 00601 XML_SCHEMAV_ISABSTRACT, /* 1808 */ 00602 XML_SCHEMAV_NOTEMPTY, /* 1809 */ 00603 XML_SCHEMAV_ELEMCONT, /* 1810 */ 00604 XML_SCHEMAV_HAVEDEFAULT, /* 1811 */ 00605 XML_SCHEMAV_NOTNILLABLE, /* 1812 */ 00606 XML_SCHEMAV_EXTRACONTENT, /* 1813 */ 00607 XML_SCHEMAV_INVALIDATTR, /* 1814 */ 00608 XML_SCHEMAV_INVALIDELEM, /* 1815 */ 00609 XML_SCHEMAV_NOTDETERMINIST, /* 1816 */ 00610 XML_SCHEMAV_CONSTRUCT, /* 1817 */ 00611 XML_SCHEMAV_INTERNAL, /* 1818 */ 00612 XML_SCHEMAV_NOTSIMPLE, /* 1819 */ 00613 XML_SCHEMAV_ATTRUNKNOWN, /* 1820 */ 00614 XML_SCHEMAV_ATTRINVALID, /* 1821 */ 00615 XML_SCHEMAV_VALUE, /* 1822 */ 00616 XML_SCHEMAV_FACET, /* 1823 */ 00617 XML_SCHEMAV_CVC_DATATYPE_VALID_1_2_1, /* 1824 */ 00618 XML_SCHEMAV_CVC_DATATYPE_VALID_1_2_2, /* 1825 */ 00619 XML_SCHEMAV_CVC_DATATYPE_VALID_1_2_3, /* 1826 */ 00620 XML_SCHEMAV_CVC_TYPE_3_1_1, /* 1827 */ 00621 XML_SCHEMAV_CVC_TYPE_3_1_2, /* 1828 */ 00622 XML_SCHEMAV_CVC_FACET_VALID, /* 1829 */ 00623 XML_SCHEMAV_CVC_LENGTH_VALID, /* 1830 */ 00624 XML_SCHEMAV_CVC_MINLENGTH_VALID, /* 1831 */ 00625 XML_SCHEMAV_CVC_MAXLENGTH_VALID, /* 1832 */ 00626 XML_SCHEMAV_CVC_MININCLUSIVE_VALID, /* 1833 */ 00627 XML_SCHEMAV_CVC_MAXINCLUSIVE_VALID, /* 1834 */ 00628 XML_SCHEMAV_CVC_MINEXCLUSIVE_VALID, /* 1835 */ 00629 XML_SCHEMAV_CVC_MAXEXCLUSIVE_VALID, /* 1836 */ 00630 XML_SCHEMAV_CVC_TOTALDIGITS_VALID, /* 1837 */ 00631 XML_SCHEMAV_CVC_FRACTIONDIGITS_VALID, /* 1838 */ 00632 XML_SCHEMAV_CVC_PATTERN_VALID, /* 1839 */ 00633 XML_SCHEMAV_CVC_ENUMERATION_VALID, /* 1840 */ 00634 XML_SCHEMAV_CVC_COMPLEX_TYPE_2_1, /* 1841 */ 00635 XML_SCHEMAV_CVC_COMPLEX_TYPE_2_2, /* 1842 */ 00636 XML_SCHEMAV_CVC_COMPLEX_TYPE_2_3, /* 1843 */ 00637 XML_SCHEMAV_CVC_COMPLEX_TYPE_2_4, /* 1844 */ 00638 XML_SCHEMAV_CVC_ELT_1, /* 1845 */ 00639 XML_SCHEMAV_CVC_ELT_2, /* 1846 */ 00640 XML_SCHEMAV_CVC_ELT_3_1, /* 1847 */ 00641 XML_SCHEMAV_CVC_ELT_3_2_1, /* 1848 */ 00642 XML_SCHEMAV_CVC_ELT_3_2_2, /* 1849 */ 00643 XML_SCHEMAV_CVC_ELT_4_1, /* 1850 */ 00644 XML_SCHEMAV_CVC_ELT_4_2, /* 1851 */ 00645 XML_SCHEMAV_CVC_ELT_4_3, /* 1852 */ 00646 XML_SCHEMAV_CVC_ELT_5_1_1, /* 1853 */ 00647 XML_SCHEMAV_CVC_ELT_5_1_2, /* 1854 */ 00648 XML_SCHEMAV_CVC_ELT_5_2_1, /* 1855 */ 00649 XML_SCHEMAV_CVC_ELT_5_2_2_1, /* 1856 */ 00650 XML_SCHEMAV_CVC_ELT_5_2_2_2_1, /* 1857 */ 00651 XML_SCHEMAV_CVC_ELT_5_2_2_2_2, /* 1858 */ 00652 XML_SCHEMAV_CVC_ELT_6, /* 1859 */ 00653 XML_SCHEMAV_CVC_ELT_7, /* 1860 */ 00654 XML_SCHEMAV_CVC_ATTRIBUTE_1, /* 1861 */ 00655 XML_SCHEMAV_CVC_ATTRIBUTE_2, /* 1862 */ 00656 XML_SCHEMAV_CVC_ATTRIBUTE_3, /* 1863 */ 00657 XML_SCHEMAV_CVC_ATTRIBUTE_4, /* 1864 */ 00658 XML_SCHEMAV_CVC_COMPLEX_TYPE_3_1, /* 1865 */ 00659 XML_SCHEMAV_CVC_COMPLEX_TYPE_3_2_1, /* 1866 */ 00660 XML_SCHEMAV_CVC_COMPLEX_TYPE_3_2_2, /* 1867 */ 00661 XML_SCHEMAV_CVC_COMPLEX_TYPE_4, /* 1868 */ 00662 XML_SCHEMAV_CVC_COMPLEX_TYPE_5_1, /* 1869 */ 00663 XML_SCHEMAV_CVC_COMPLEX_TYPE_5_2, /* 1870 */ 00664 XML_SCHEMAV_ELEMENT_CONTENT, /* 1871 */ 00665 XML_SCHEMAV_DOCUMENT_ELEMENT_MISSING, /* 1872 */ 00666 XML_SCHEMAV_CVC_COMPLEX_TYPE_1, /* 1873 */ 00667 XML_SCHEMAV_CVC_AU, /* 1874 */ 00668 XML_SCHEMAV_CVC_TYPE_1, /* 1875 */ 00669 XML_SCHEMAV_CVC_TYPE_2, /* 1876 */ 00670 XML_SCHEMAV_CVC_IDC, /* 1877 */ 00671 XML_SCHEMAV_CVC_WILDCARD, /* 1878 */ 00672 XML_SCHEMAV_MISC, /* 1879 */ 00673 XML_XPTR_UNKNOWN_SCHEME = 1900, 00674 XML_XPTR_CHILDSEQ_START, /* 1901 */ 00675 XML_XPTR_EVAL_FAILED, /* 1902 */ 00676 XML_XPTR_EXTRA_OBJECTS, /* 1903 */ 00677 XML_C14N_CREATE_CTXT = 1950, 00678 XML_C14N_REQUIRES_UTF8, /* 1951 */ 00679 XML_C14N_CREATE_STACK, /* 1952 */ 00680 XML_C14N_INVALID_NODE, /* 1953 */ 00681 XML_C14N_UNKNOW_NODE, /* 1954 */ 00682 XML_C14N_RELATIVE_NAMESPACE, /* 1955 */ 00683 XML_FTP_PASV_ANSWER = 2000, 00684 XML_FTP_EPSV_ANSWER, /* 2001 */ 00685 XML_FTP_ACCNT, /* 2002 */ 00686 XML_FTP_URL_SYNTAX, /* 2003 */ 00687 XML_HTTP_URL_SYNTAX = 2020, 00688 XML_HTTP_USE_IP, /* 2021 */ 00689 XML_HTTP_UNKNOWN_HOST, /* 2022 */ 00690 XML_SCHEMAP_SRC_SIMPLE_TYPE_1 = 3000, 00691 XML_SCHEMAP_SRC_SIMPLE_TYPE_2, /* 3001 */ 00692 XML_SCHEMAP_SRC_SIMPLE_TYPE_3, /* 3002 */ 00693 XML_SCHEMAP_SRC_SIMPLE_TYPE_4, /* 3003 */ 00694 XML_SCHEMAP_SRC_RESOLVE, /* 3004 */ 00695 XML_SCHEMAP_SRC_RESTRICTION_BASE_OR_SIMPLETYPE, /* 3005 */ 00696 XML_SCHEMAP_SRC_LIST_ITEMTYPE_OR_SIMPLETYPE, /* 3006 */ 00697 XML_SCHEMAP_SRC_UNION_MEMBERTYPES_OR_SIMPLETYPES, /* 3007 */ 00698 XML_SCHEMAP_ST_PROPS_CORRECT_1, /* 3008 */ 00699 XML_SCHEMAP_ST_PROPS_CORRECT_2, /* 3009 */ 00700 XML_SCHEMAP_ST_PROPS_CORRECT_3, /* 3010 */ 00701 XML_SCHEMAP_COS_ST_RESTRICTS_1_1, /* 3011 */ 00702 XML_SCHEMAP_COS_ST_RESTRICTS_1_2, /* 3012 */ 00703 XML_SCHEMAP_COS_ST_RESTRICTS_1_3_1, /* 3013 */ 00704 XML_SCHEMAP_COS_ST_RESTRICTS_1_3_2, /* 3014 */ 00705 XML_SCHEMAP_COS_ST_RESTRICTS_2_1, /* 3015 */ 00706 XML_SCHEMAP_COS_ST_RESTRICTS_2_3_1_1, /* 3016 */ 00707 XML_SCHEMAP_COS_ST_RESTRICTS_2_3_1_2, /* 3017 */ 00708 XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_1, /* 3018 */ 00709 XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_2, /* 3019 */ 00710 XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_3, /* 3020 */ 00711 XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_4, /* 3021 */ 00712 XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_5, /* 3022 */ 00713 XML_SCHEMAP_COS_ST_RESTRICTS_3_1, /* 3023 */ 00714 XML_SCHEMAP_COS_ST_RESTRICTS_3_3_1, /* 3024 */ 00715 XML_SCHEMAP_COS_ST_RESTRICTS_3_3_1_2, /* 3025 */ 00716 XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_2, /* 3026 */ 00717 XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_1, /* 3027 */ 00718 XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_3, /* 3028 */ 00719 XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_4, /* 3029 */ 00720 XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_5, /* 3030 */ 00721 XML_SCHEMAP_COS_ST_DERIVED_OK_2_1, /* 3031 */ 00722 XML_SCHEMAP_COS_ST_DERIVED_OK_2_2, /* 3032 */ 00723 XML_SCHEMAP_S4S_ELEM_NOT_ALLOWED, /* 3033 */ 00724 XML_SCHEMAP_S4S_ELEM_MISSING, /* 3034 */ 00725 XML_SCHEMAP_S4S_ATTR_NOT_ALLOWED, /* 3035 */ 00726 XML_SCHEMAP_S4S_ATTR_MISSING, /* 3036 */ 00727 XML_SCHEMAP_S4S_ATTR_INVALID_VALUE, /* 3037 */ 00728 XML_SCHEMAP_SRC_ELEMENT_1, /* 3038 */ 00729 XML_SCHEMAP_SRC_ELEMENT_2_1, /* 3039 */ 00730 XML_SCHEMAP_SRC_ELEMENT_2_2, /* 3040 */ 00731 XML_SCHEMAP_SRC_ELEMENT_3, /* 3041 */ 00732 XML_SCHEMAP_P_PROPS_CORRECT_1, /* 3042 */ 00733 XML_SCHEMAP_P_PROPS_CORRECT_2_1, /* 3043 */ 00734 XML_SCHEMAP_P_PROPS_CORRECT_2_2, /* 3044 */ 00735 XML_SCHEMAP_E_PROPS_CORRECT_2, /* 3045 */ 00736 XML_SCHEMAP_E_PROPS_CORRECT_3, /* 3046 */ 00737 XML_SCHEMAP_E_PROPS_CORRECT_4, /* 3047 */ 00738 XML_SCHEMAP_E_PROPS_CORRECT_5, /* 3048 */ 00739 XML_SCHEMAP_E_PROPS_CORRECT_6, /* 3049 */ 00740 XML_SCHEMAP_SRC_INCLUDE, /* 3050 */ 00741 XML_SCHEMAP_SRC_ATTRIBUTE_1, /* 3051 */ 00742 XML_SCHEMAP_SRC_ATTRIBUTE_2, /* 3052 */ 00743 XML_SCHEMAP_SRC_ATTRIBUTE_3_1, /* 3053 */ 00744 XML_SCHEMAP_SRC_ATTRIBUTE_3_2, /* 3054 */ 00745 XML_SCHEMAP_SRC_ATTRIBUTE_4, /* 3055 */ 00746 XML_SCHEMAP_NO_XMLNS, /* 3056 */ 00747 XML_SCHEMAP_NO_XSI, /* 3057 */ 00748 XML_SCHEMAP_COS_VALID_DEFAULT_1, /* 3058 */ 00749 XML_SCHEMAP_COS_VALID_DEFAULT_2_1, /* 3059 */ 00750 XML_SCHEMAP_COS_VALID_DEFAULT_2_2_1, /* 3060 */ 00751 XML_SCHEMAP_COS_VALID_DEFAULT_2_2_2, /* 3061 */ 00752 XML_SCHEMAP_CVC_SIMPLE_TYPE, /* 3062 */ 00753 XML_SCHEMAP_COS_CT_EXTENDS_1_1, /* 3063 */ 00754 XML_SCHEMAP_SRC_IMPORT_1_1, /* 3064 */ 00755 XML_SCHEMAP_SRC_IMPORT_1_2, /* 3065 */ 00756 XML_SCHEMAP_SRC_IMPORT_2, /* 3066 */ 00757 XML_SCHEMAP_SRC_IMPORT_2_1, /* 3067 */ 00758 XML_SCHEMAP_SRC_IMPORT_2_2, /* 3068 */ 00759 XML_SCHEMAP_INTERNAL, /* 3069 non-W3C */ 00760 XML_SCHEMAP_NOT_DETERMINISTIC, /* 3070 non-W3C */ 00761 XML_SCHEMAP_SRC_ATTRIBUTE_GROUP_1, /* 3071 */ 00762 XML_SCHEMAP_SRC_ATTRIBUTE_GROUP_2, /* 3072 */ 00763 XML_SCHEMAP_SRC_ATTRIBUTE_GROUP_3, /* 3073 */ 00764 XML_SCHEMAP_MG_PROPS_CORRECT_1, /* 3074 */ 00765 XML_SCHEMAP_MG_PROPS_CORRECT_2, /* 3075 */ 00766 XML_SCHEMAP_SRC_CT_1, /* 3076 */ 00767 XML_SCHEMAP_DERIVATION_OK_RESTRICTION_2_1_3, /* 3077 */ 00768 XML_SCHEMAP_AU_PROPS_CORRECT_2, /* 3078 */ 00769 XML_SCHEMAP_A_PROPS_CORRECT_2, /* 3079 */ 00770 XML_SCHEMAP_C_PROPS_CORRECT, /* 3080 */ 00771 XML_SCHEMAP_SRC_REDEFINE, /* 3081 */ 00772 XML_SCHEMAP_SRC_IMPORT, /* 3082 */ 00773 XML_SCHEMAP_WARN_SKIP_SCHEMA, /* 3083 */ 00774 XML_SCHEMAP_WARN_UNLOCATED_SCHEMA, /* 3084 */ 00775 XML_SCHEMAP_WARN_ATTR_REDECL_PROH, /* 3085 */ 00776 XML_SCHEMAP_WARN_ATTR_POINTLESS_PROH, /* 3085 */ 00777 XML_SCHEMAP_AG_PROPS_CORRECT, /* 3086 */ 00778 XML_SCHEMAP_COS_CT_EXTENDS_1_2, /* 3087 */ 00779 XML_SCHEMAP_AU_PROPS_CORRECT, /* 3088 */ 00780 XML_SCHEMAP_A_PROPS_CORRECT_3, /* 3089 */ 00781 XML_SCHEMAP_COS_ALL_LIMITED, /* 3090 */ 00782 XML_SCHEMATRONV_ASSERT = 4000, /* 4000 */ 00783 XML_SCHEMATRONV_REPORT, 00784 XML_MODULE_OPEN = 4900, /* 4900 */ 00785 XML_MODULE_CLOSE, /* 4901 */ 00786 XML_CHECK_FOUND_ELEMENT = 5000, 00787 XML_CHECK_FOUND_ATTRIBUTE, /* 5001 */ 00788 XML_CHECK_FOUND_TEXT, /* 5002 */ 00789 XML_CHECK_FOUND_CDATA, /* 5003 */ 00790 XML_CHECK_FOUND_ENTITYREF, /* 5004 */ 00791 XML_CHECK_FOUND_ENTITY, /* 5005 */ 00792 XML_CHECK_FOUND_PI, /* 5006 */ 00793 XML_CHECK_FOUND_COMMENT, /* 5007 */ 00794 XML_CHECK_FOUND_DOCTYPE, /* 5008 */ 00795 XML_CHECK_FOUND_FRAGMENT, /* 5009 */ 00796 XML_CHECK_FOUND_NOTATION, /* 5010 */ 00797 XML_CHECK_UNKNOWN_NODE, /* 5011 */ 00798 XML_CHECK_ENTITY_TYPE, /* 5012 */ 00799 XML_CHECK_NO_PARENT, /* 5013 */ 00800 XML_CHECK_NO_DOC, /* 5014 */ 00801 XML_CHECK_NO_NAME, /* 5015 */ 00802 XML_CHECK_NO_ELEM, /* 5016 */ 00803 XML_CHECK_WRONG_DOC, /* 5017 */ 00804 XML_CHECK_NO_PREV, /* 5018 */ 00805 XML_CHECK_WRONG_PREV, /* 5019 */ 00806 XML_CHECK_NO_NEXT, /* 5020 */ 00807 XML_CHECK_WRONG_NEXT, /* 5021 */ 00808 XML_CHECK_NOT_DTD, /* 5022 */ 00809 XML_CHECK_NOT_ATTR, /* 5023 */ 00810 XML_CHECK_NOT_ATTR_DECL, /* 5024 */ 00811 XML_CHECK_NOT_ELEM_DECL, /* 5025 */ 00812 XML_CHECK_NOT_ENTITY_DECL, /* 5026 */ 00813 XML_CHECK_NOT_NS_DECL, /* 5027 */ 00814 XML_CHECK_NO_HREF, /* 5028 */ 00815 XML_CHECK_WRONG_PARENT,/* 5029 */ 00816 XML_CHECK_NS_SCOPE, /* 5030 */ 00817 XML_CHECK_NS_ANCESTOR, /* 5031 */ 00818 XML_CHECK_NOT_UTF8, /* 5032 */ 00819 XML_CHECK_NO_DICT, /* 5033 */ 00820 XML_CHECK_NOT_NCNAME, /* 5034 */ 00821 XML_CHECK_OUTSIDE_DICT, /* 5035 */ 00822 XML_CHECK_WRONG_NAME, /* 5036 */ 00823 XML_CHECK_NAME_NOT_NULL, /* 5037 */ 00824 XML_I18N_NO_NAME = 6000, 00825 XML_I18N_NO_HANDLER, /* 6001 */ 00826 XML_I18N_EXCESS_HANDLER, /* 6002 */ 00827 XML_I18N_CONV_FAILED, /* 6003 */ 00828 XML_I18N_NO_OUTPUT /* 6004 */ 00829 #if 0 00830 XML_CHECK_, /* 5033 */ 00831 XML_CHECK_X /* 503 */ 00832 #endif 00833 } xmlParserErrors; 00834 00844 typedef void (XMLCDECL *xmlGenericErrorFunc) (void *ctx, 00845 const char *msg, 00846 ...) LIBXML_ATTR_FORMAT(2,3); 00855 typedef void (XMLCALL *xmlStructuredErrorFunc) (void *userData, xmlErrorPtr error); 00856 00857 /* 00858 * Use the following function to reset the two global variables 00859 * xmlGenericError and xmlGenericErrorContext. 00860 */ 00861 XMLPUBFUN void XMLCALL 00862 xmlSetGenericErrorFunc (void *ctx, 00863 xmlGenericErrorFunc handler); 00864 XMLPUBFUN void XMLCALL 00865 initGenericErrorDefaultFunc (xmlGenericErrorFunc *handler); 00866 00867 XMLPUBFUN void XMLCALL 00868 xmlSetStructuredErrorFunc (void *ctx, 00869 xmlStructuredErrorFunc handler); 00870 /* 00871 * Default message routines used by SAX and Valid context for error 00872 * and warning reporting. 00873 */ 00874 XMLPUBFUN void XMLCDECL 00875 xmlParserError (void *ctx, 00876 const char *msg, 00877 ...) LIBXML_ATTR_FORMAT(2,3); 00878 XMLPUBFUN void XMLCDECL 00879 xmlParserWarning (void *ctx, 00880 const char *msg, 00881 ...) LIBXML_ATTR_FORMAT(2,3); 00882 XMLPUBFUN void XMLCDECL 00883 xmlParserValidityError (void *ctx, 00884 const char *msg, 00885 ...) LIBXML_ATTR_FORMAT(2,3); 00886 XMLPUBFUN void XMLCDECL 00887 xmlParserValidityWarning (void *ctx, 00888 const char *msg, 00889 ...) LIBXML_ATTR_FORMAT(2,3); 00890 XMLPUBFUN void XMLCALL 00891 xmlParserPrintFileInfo (xmlParserInputPtr input); 00892 XMLPUBFUN void XMLCALL 00893 xmlParserPrintFileContext (xmlParserInputPtr input); 00894 00895 /* 00896 * Extended error information routines 00897 */ 00898 XMLPUBFUN xmlErrorPtr XMLCALL 00899 xmlGetLastError (void); 00900 XMLPUBFUN void XMLCALL 00901 xmlResetLastError (void); 00902 XMLPUBFUN xmlErrorPtr XMLCALL 00903 xmlCtxtGetLastError (void *ctx); 00904 XMLPUBFUN void XMLCALL 00905 xmlCtxtResetLastError (void *ctx); 00906 XMLPUBFUN void XMLCALL 00907 xmlResetError (xmlErrorPtr err); 00908 XMLPUBFUN int XMLCALL 00909 xmlCopyError (xmlErrorPtr from, 00910 xmlErrorPtr to); 00911 00912 #ifdef IN_LIBXML 00913 /* 00914 * Internal callback reporting routine 00915 */ 00916 XMLPUBFUN void XMLCALL 00917 __xmlRaiseError (xmlStructuredErrorFunc schannel, 00918 xmlGenericErrorFunc channel, 00919 void *data, 00920 void *ctx, 00921 void *node, 00922 int domain, 00923 int code, 00924 xmlErrorLevel level, 00925 const char *file, 00926 int line, 00927 const char *str1, 00928 const char *str2, 00929 const char *str3, 00930 int int1, 00931 int col, 00932 const char *msg, 00933 ...) LIBXML_ATTR_FORMAT(16,17); 00934 XMLPUBFUN void XMLCALL 00935 __xmlSimpleError (int domain, 00936 int code, 00937 xmlNodePtr node, 00938 const char *msg, 00939 const char *extra); 00940 #endif 00941 #ifdef __cplusplus 00942 } 00943 #endif 00944 #endif /* __XML_ERROR_H__ */