Changeset 71 for trunk/include/expat
- Timestamp:
- May 22, 2001, 7:18:41 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/expat/expat.h
r39 r71 101 101 // one of: 102 102 // -- XML_CQUANT_NONE --> all fields below are NULL 103 // -- XML_CQUANT_OPT, 104 // -- XML_CQUANT_REP, 105 // -- XML_CQUANT_PLUS 103 // -- XML_CQUANT_OPT, question mark 104 // -- XML_CQUANT_REP, asterisk 105 // -- XML_CQUANT_PLUS plus sign 106 106 107 107 const XML_Char *name; … … 626 626 #define ERROR_XML_FIRST 40000 // first error code used 627 627 628 typedef enum _XMLERROR 629 { 630 ERROR_EXPAT_NONE = 0, 631 // ERROR_EXPAT_NONE, // removed to adhere with APIRET V0.9.9 (2001-02-14) [umoeller] 632 ERROR_EXPAT_NO_MEMORY = ERROR_XML_FIRST, 633 ERROR_EXPAT_SYNTAX, 634 ERROR_EXPAT_NO_ELEMENTS, 635 ERROR_EXPAT_INVALID_TOKEN, 636 ERROR_EXPAT_UNCLOSED_TOKEN, 637 ERROR_EXPAT_PARTIAL_CHAR, 638 ERROR_EXPAT_TAG_MISMATCH, 639 ERROR_EXPAT_DUPLICATE_ATTRIBUTE, 640 ERROR_EXPAT_JUNK_AFTER_DOC_ELEMENT, 641 ERROR_EXPAT_PARAM_ENTITY_REF, 642 ERROR_EXPAT_UNDEFINED_ENTITY, 643 ERROR_EXPAT_RECURSIVE_ENTITY_REF, 644 ERROR_EXPAT_ASYNC_ENTITY, 645 ERROR_EXPAT_BAD_CHAR_REF, 646 ERROR_EXPAT_BINARY_ENTITY_REF, 647 ERROR_EXPAT_ATTRIBUTE_EXTERNAL_ENTITY_REF, 648 ERROR_EXPAT_MISPLACED_XML_PI, 649 ERROR_EXPAT_UNKNOWN_ENCODING, 650 ERROR_EXPAT_INCORRECT_ENCODING, 651 ERROR_EXPAT_UNCLOSED_CDATA_SECTION, 652 ERROR_EXPAT_EXTERNAL_ENTITY_HANDLING, 653 ERROR_EXPAT_NOT_STANDALONE, 654 ERROR_EXPAT_UNEXPECTED_STATE, 655 656 ERROR_EXPAT_AFTER_LAST // added V0.9.9 (2001-02-14) [umoeller]; 657 // xml.h builds on this 658 } XMLERROR; 628 typedef unsigned long XMLERROR; // V0.9.12 (2001-05-20) [umoeller] 629 630 #define ERROR_EXPAT_NONE 0 631 #define ERROR_EXPAT_NO_MEMORY (ERROR_XML_FIRST) 632 #define ERROR_EXPAT_SYNTAX (ERROR_XML_FIRST + 1) 633 #define ERROR_EXPAT_NO_ELEMENTS (ERROR_XML_FIRST + 2) 634 #define ERROR_EXPAT_INVALID_TOKEN (ERROR_XML_FIRST + 3) 635 #define ERROR_EXPAT_UNCLOSED_TOKEN (ERROR_XML_FIRST + 4) 636 #define ERROR_EXPAT_PARTIAL_CHAR (ERROR_XML_FIRST + 5) 637 #define ERROR_EXPAT_TAG_MISMATCH (ERROR_XML_FIRST + 6) 638 #define ERROR_EXPAT_DUPLICATE_ATTRIBUTE (ERROR_XML_FIRST + 7) 639 #define ERROR_EXPAT_JUNK_AFTER_DOC_ELEMENT (ERROR_XML_FIRST + 8) 640 #define ERROR_EXPAT_PARAM_ENTITY_REF (ERROR_XML_FIRST + 10) 641 #define ERROR_EXPAT_UNDEFINED_ENTITY (ERROR_XML_FIRST + 11) 642 #define ERROR_EXPAT_RECURSIVE_ENTITY_REF (ERROR_XML_FIRST + 12) 643 #define ERROR_EXPAT_ASYNC_ENTITY (ERROR_XML_FIRST + 13) 644 #define ERROR_EXPAT_BAD_CHAR_REF (ERROR_XML_FIRST + 14) 645 #define ERROR_EXPAT_BINARY_ENTITY_REF (ERROR_XML_FIRST + 15) 646 #define ERROR_EXPAT_ATTRIBUTE_EXTERNAL_ENTITY_REF (ERROR_XML_FIRST + 16) 647 #define ERROR_EXPAT_MISPLACED_XML_PI (ERROR_XML_FIRST + 17) 648 #define ERROR_EXPAT_UNKNOWN_ENCODING (ERROR_XML_FIRST + 18) 649 #define ERROR_EXPAT_INCORRECT_ENCODING (ERROR_XML_FIRST + 19) 650 #define ERROR_EXPAT_UNCLOSED_CDATA_SECTION (ERROR_XML_FIRST + 20) 651 #define ERROR_EXPAT_EXTERNAL_ENTITY_HANDLING (ERROR_XML_FIRST + 21) 652 #define ERROR_EXPAT_NOT_STANDALONE (ERROR_XML_FIRST + 22) 653 #define ERROR_EXPAT_UNEXPECTED_STATE (ERROR_XML_FIRST + 23) 659 654 660 655 /* If XML_Parse or XML_ParseBuffer have returned 0, then XML_GetErrorCode
Note:
See TracChangeset
for help on using the changeset viewer.