00001 /* 00002 * ============================================================================ 00003 * Name : XmlEngErrors.h 00004 * Part of : XmlEngine / DOM XPath C++ Wrapper 00005 * Interface : Domain, XML Engine DOM API 00006 * Description : DOM errors codes 00007 * Version : %version: 3 % 00008 * 00009 * Copyright © 2004-2005 Nokia. All rights reserved. 00010 * This material, including documentation and any related computer 00011 * programs, is protected by copyright controlled by Nokia. All 00012 * rights are reserved. Copying, including reproducing, storing, 00013 * adapting or translating, any or all of this material requires the 00014 * prior written consent of Nokia. This material also contains 00015 * confidential information which may not be disclosed to others 00016 * without the prior written consent of Nokia. 00017 * ============================================================================ 00018 */ 00019 00020 00029 #ifndef XMLENGINE_DOM_ERRORS_H__ 00030 #define XMLENGINE_DOM_ERRORS_H__ 00031 00032 #include <e32def.h> 00033 00035 const TInt KXmlEngErrParsing = -32397; 00037 const TInt KXmlEngErrNegativeOutputSize = -32383; 00038 const TInt KXmlEngErrWrongEncoding = -32382; 00039 00041 const TInt KXmlEngErrNullNode = -32380; 00043 const TInt KXmlEngErrWrongUseOfAPI = -32381; 00044 00045 #endif // XMLENGINE_DOM_ERRORS_H__ 00046 00047 /* 00048 * PARSING ERRORS: 00049 * 00050 * XML_ERR_OK = 0 00051 * XML_ERR_INTERNAL_ERROR 1 00052 * XML_ERR_NO_MEMORY 2 00053 * XML_ERR_DOCUMENT_START 3 00054 * XML_ERR_DOCUMENT_EMPTY 4 00055 * XML_ERR_DOCUMENT_END 5 00056 * XML_ERR_INVALID_HEX_CHARREF 6 00057 * XML_ERR_INVALID_DEC_CHARREF 7 00058 * XML_ERR_INVALID_CHARREF 8 00059 * XML_ERR_INVALID_CHAR 9 00060 * XML_ERR_CHARREF_AT_EOF 10 00061 * XML_ERR_CHARREF_IN_PROLOG 11 00062 * XML_ERR_CHARREF_IN_EPILOG 12 00063 * XML_ERR_CHARREF_IN_DTD 13 00064 * XML_ERR_ENTITYREF_AT_EOF 14 00065 * XML_ERR_ENTITYREF_IN_PROLOG 15 00066 * XML_ERR_ENTITYREF_IN_EPILOG 16 00067 * XML_ERR_ENTITYREF_IN_DTD 17 00068 * XML_ERR_PEREF_AT_EOF 18 00069 * XML_ERR_PEREF_IN_PROLOG 19 00070 * XML_ERR_PEREF_IN_EPILOG 20 00071 * XML_ERR_PEREF_IN_INT_SUBSET 21 00072 * XML_ERR_ENTITYREF_NO_NAME 22 00073 * XML_ERR_ENTITYREF_SEMICOL_MISSING 23 00074 * XML_ERR_PEREF_NO_NAME 24 00075 * XML_ERR_PEREF_SEMICOL_MISSING 25 00076 * XML_ERR_UNDECLARED_ENTITY 26 00077 * XML_WAR_UNDECLARED_ENTITY 27 00078 * XML_ERR_UNPARSED_ENTITY 28 00079 * XML_ERR_ENTITY_IS_EXTERNAL 29 00080 * XML_ERR_ENTITY_IS_PARAMETER 30 00081 * XML_ERR_UNKNOWN_ENCODING 31 00082 * XML_ERR_UNSUPPORTED_ENCODING 32 00083 * XML_ERR_STRING_NOT_STARTED 33 00084 * XML_ERR_STRING_NOT_CLOSED 34 00085 * XML_ERR_NS_DECL_ERROR 35 00086 * XML_ERR_ENTITY_NOT_STARTED 36 00087 * XML_ERR_ENTITY_NOT_FINISHED 37 00088 * XML_ERR_LT_IN_ATTRIBUTE 38 00089 * XML_ERR_ATTRIBUTE_NOT_STARTED 39 00090 * XML_ERR_ATTRIBUTE_NOT_FINISHED 40 00091 * XML_ERR_ATTRIBUTE_WITHOUT_VALUE 41 00092 * XML_ERR_ATTRIBUTE_REDEFINED 42 00093 * XML_ERR_LITERAL_NOT_STARTED 43 00094 * XML_ERR_LITERAL_NOT_FINISHED 44 00095 * XML_ERR_COMMENT_NOT_FINISHED 45 00096 * XML_ERR_PI_NOT_STARTED 46 00097 * XML_ERR_PI_NOT_FINISHED 47 00098 * XML_ERR_NOTATION_NOT_STARTED 48 00099 * XML_ERR_NOTATION_NOT_FINISHED 49 00100 * XML_ERR_ATTLIST_NOT_STARTED 50 00101 * XML_ERR_ATTLIST_NOT_FINISHED 51 00102 * XML_ERR_MIXED_NOT_STARTED 52 00103 * XML_ERR_MIXED_NOT_FINISHED 53 00104 * XML_ERR_ELEMCONTENT_NOT_STARTED 54 00105 * XML_ERR_ELEMCONTENT_NOT_FINISHED 55 00106 * XML_ERR_XMLDECL_NOT_STARTED 56 00107 * XML_ERR_XMLDECL_NOT_FINISHED 57 00108 * XML_ERR_CONDSEC_NOT_STARTED 58 00109 * XML_ERR_CONDSEC_NOT_FINISHED 59 00110 * XML_ERR_EXT_SUBSET_NOT_FINISHED 60 00111 * XML_ERR_DOCTYPE_NOT_FINISHED 61 00112 * XML_ERR_MISPLACED_CDATA_END 62 00113 * XML_ERR_CDATA_NOT_FINISHED 63 00114 * XML_ERR_RESERVED_XML_NAME 64 00115 * XML_ERR_SPACE_REQUIRED 65 00116 * XML_ERR_SEPARATOR_REQUIRED 66 00117 * XML_ERR_NMTOKEN_REQUIRED 67 00118 * XML_ERR_NAME_REQUIRED 68 00119 * XML_ERR_PCDATA_REQUIRED 69 00120 * XML_ERR_URI_REQUIRED 70 00121 * XML_ERR_PUBID_REQUIRED 71 00122 * XML_ERR_LT_REQUIRED 72 00123 * XML_ERR_GT_REQUIRED 73 00124 * XML_ERR_LTSLASH_REQUIRED 74 00125 * XML_ERR_EQUAL_REQUIRED 75 00126 * XML_ERR_TAG_NAME_MISMATCH 76 00127 * XML_ERR_TAG_NOT_FINISHED 77 00128 * XML_ERR_STANDALONE_VALUE 78 00129 * XML_ERR_ENCODING_NAME 79 00130 * XML_ERR_HYPHEN_IN_COMMENT 80 00131 * XML_ERR_INVALID_ENCODING 81 00132 * XML_ERR_EXT_ENTITY_STANDALONE 82 00133 * XML_ERR_CONDSEC_INVALID 83 00134 * XML_ERR_VALUE_REQUIRED 84 00135 * XML_ERR_NOT_WELL_BALANCED 85 00136 * XML_ERR_EXTRA_CONTENT 86 00137 * XML_ERR_ENTITY_CHAR_ERROR 87 00138 * XML_ERR_ENTITY_PE_INTERNAL 88 00139 * XML_ERR_ENTITY_LOOP 89 00140 * XML_ERR_ENTITY_BOUNDARY 90 00141 * XML_ERR_INVALID_URI 91 00142 * XML_ERR_URI_FRAGMENT 92 00143 * XML_WAR_CATALOG_PI 93 00144 * XML_ERR_NO_DTD 94 00145 * XML_ERR_CONDSEC_INVALID_KEYWORD 95 00146 * XML_ERR_VERSION_MISSING 96 00147 * XML_WAR_UNKNOWN_VERSION 97 00148 * XML_WAR_LANG_VALUE 98 00149 * XML_WAR_NS_URI 99 00150 * XML_WAR_NS_URI_RELATIVE 100 00151 * XML_ERR_MISSING_ENCODING 101 00152 * XML_NS_ERR_XML_NAMESPACE 200 00153 * XML_NS_ERR_UNDEFINED_NAMESPACE 201 00154 * XML_NS_ERR_QNAME 202 00155 * XML_NS_ERR_ATTRIBUTE_REDEFINED 203 00156 */ 00157