epoc32/include/xml/dom/xmlengerrors.h
branchSymbian2
changeset 3 e1b950c65cb4
parent 2 2fe1408b6811
child 4 837f303aceeb
equal deleted inserted replaced
2:2fe1408b6811 3:e1b950c65cb4
       
     1 /*
       
     2 * Copyright (c) 2004-2005 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:       DOM errors codes
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 
       
    22 
       
    23 
       
    24 
       
    25 /**
       
    26  * NOTE1: All errors returned by DOM parser (positive values) are propagated from open-source library.
       
    27  * They can be found in documentation to Libxml2 (version 2.6.10). See http://xmlsoft.org, and find enum xmlParserErrors.
       
    28  *
       
    29  * NOTE2: This errors CANNOT be propagated to other applications. 
       
    30  *        It should be handled by user application.
       
    31  */
       
    32 
       
    33 #ifndef XMLENGINE_DOM_ERRORS_H__
       
    34 #define XMLENGINE_DOM_ERRORS_H__
       
    35 
       
    36 #include <e32def.h> 
       
    37 
       
    38 /** DOM parsing error */
       
    39 const TInt KXmlEngErrParsing = -32397;
       
    40 /** DOM save errors */
       
    41 const TInt KXmlEngErrNegativeOutputSize = -32383;
       
    42 const TInt KXmlEngErrWrongEncoding = -32382;
       
    43 
       
    44 /** KXmlEngErrNullNode error */
       
    45 const TInt KXmlEngErrNullNode = -32380;
       
    46 /** KXmlEngErrWrongUseOfAPI error */
       
    47 const TInt KXmlEngErrWrongUseOfAPI = -32381;
       
    48 
       
    49 #endif // XMLENGINE_DOM_ERRORS_H__
       
    50 
       
    51 /*
       
    52 * PARSING ERRORS:
       
    53 *
       
    54 *     XML_ERR_OK = 0 
       
    55 *    XML_ERR_INTERNAL_ERROR 				 1  
       
    56 *    XML_ERR_NO_MEMORY 						 2  
       
    57 *    XML_ERR_DOCUMENT_START 				 3  
       
    58 *    XML_ERR_DOCUMENT_EMPTY 				 4  
       
    59 *    XML_ERR_DOCUMENT_END 					 5  
       
    60 *    XML_ERR_INVALID_HEX_CHARREF 			 6  
       
    61 *    XML_ERR_INVALID_DEC_CHARREF 			 7  
       
    62 *    XML_ERR_INVALID_CHARREF 				 8  
       
    63 *    XML_ERR_INVALID_CHAR 					 9  
       
    64 *    XML_ERR_CHARREF_AT_EOF 				 10 
       
    65 *    XML_ERR_CHARREF_IN_PROLOG 				 11 
       
    66 *    XML_ERR_CHARREF_IN_EPILOG 				 12 
       
    67 *    XML_ERR_CHARREF_IN_DTD 				 13 
       
    68 *    XML_ERR_ENTITYREF_AT_EOF 				 14 
       
    69 *    XML_ERR_ENTITYREF_IN_PROLOG 			 15 
       
    70 *    XML_ERR_ENTITYREF_IN_EPILOG 			 16 
       
    71 *    XML_ERR_ENTITYREF_IN_DTD 				 17 
       
    72 *    XML_ERR_PEREF_AT_EOF 					 18 
       
    73 *    XML_ERR_PEREF_IN_PROLOG 				 19 
       
    74 *    XML_ERR_PEREF_IN_EPILOG 				 20 
       
    75 *    XML_ERR_PEREF_IN_INT_SUBSET 			 21 
       
    76 *    XML_ERR_ENTITYREF_NO_NAME 				 22 
       
    77 *    XML_ERR_ENTITYREF_SEMICOL_MISSING	 	 23 
       
    78 *    XML_ERR_PEREF_NO_NAME 					 24 
       
    79 *    XML_ERR_PEREF_SEMICOL_MISSING 			 25 
       
    80 *    XML_ERR_UNDECLARED_ENTITY 				 26 
       
    81 *    XML_WAR_UNDECLARED_ENTITY 				 27 
       
    82 *    XML_ERR_UNPARSED_ENTITY 				 28 
       
    83 *    XML_ERR_ENTITY_IS_EXTERNAL 			 29 
       
    84 *    XML_ERR_ENTITY_IS_PARAMETER 			 30 
       
    85 *    XML_ERR_UNKNOWN_ENCODING 				 31 
       
    86 *    XML_ERR_UNSUPPORTED_ENCODING 			 32 
       
    87 *    XML_ERR_STRING_NOT_STARTED 			 33 
       
    88 *    XML_ERR_STRING_NOT_CLOSED 				 34 
       
    89 *    XML_ERR_NS_DECL_ERROR 					 35 
       
    90 *    XML_ERR_ENTITY_NOT_STARTED 			 36 
       
    91 *    XML_ERR_ENTITY_NOT_FINISHED 			 37 
       
    92 *    XML_ERR_LT_IN_ATTRIBUTE 				 38 
       
    93 *    XML_ERR_ATTRIBUTE_NOT_STARTED 			 39 
       
    94 *    XML_ERR_ATTRIBUTE_NOT_FINISHED 		 40 
       
    95 *    XML_ERR_ATTRIBUTE_WITHOUT_VALUE		 41 
       
    96 *    XML_ERR_ATTRIBUTE_REDEFINED 			 42 
       
    97 *    XML_ERR_LITERAL_NOT_STARTED 			 43 
       
    98 *    XML_ERR_LITERAL_NOT_FINISHED 			 44 
       
    99 *    XML_ERR_COMMENT_NOT_FINISHED 			 45 
       
   100 *    XML_ERR_PI_NOT_STARTED 				 46 
       
   101 *    XML_ERR_PI_NOT_FINISHED 				 47 
       
   102 *    XML_ERR_NOTATION_NOT_STARTED 			 48 
       
   103 *    XML_ERR_NOTATION_NOT_FINISHED 			 49 
       
   104 *    XML_ERR_ATTLIST_NOT_STARTED 			 50 
       
   105 *    XML_ERR_ATTLIST_NOT_FINISHED 			 51 
       
   106 *    XML_ERR_MIXED_NOT_STARTED 				 52 
       
   107 *    XML_ERR_MIXED_NOT_FINISHED 			 53 
       
   108 *    XML_ERR_ELEMCONTENT_NOT_STARTED 		 54 
       
   109 *    XML_ERR_ELEMCONTENT_NOT_FINISHED		 55 
       
   110 *    XML_ERR_XMLDECL_NOT_STARTED 			 56 
       
   111 *    XML_ERR_XMLDECL_NOT_FINISHED 			 57 
       
   112 *    XML_ERR_CONDSEC_NOT_STARTED 			 58 
       
   113 *    XML_ERR_CONDSEC_NOT_FINISHED 			 59 
       
   114 *    XML_ERR_EXT_SUBSET_NOT_FINISHED		 60 
       
   115 *    XML_ERR_DOCTYPE_NOT_FINISHED 			 61 
       
   116 *    XML_ERR_MISPLACED_CDATA_END 			 62 
       
   117 *    XML_ERR_CDATA_NOT_FINISHED 			 63 
       
   118 *    XML_ERR_RESERVED_XML_NAME 				 64 
       
   119 *    XML_ERR_SPACE_REQUIRED 				 65 
       
   120 *    XML_ERR_SEPARATOR_REQUIRED 			 66 
       
   121 *    XML_ERR_NMTOKEN_REQUIRED 				 67 
       
   122 *    XML_ERR_NAME_REQUIRED 					 68 
       
   123 *    XML_ERR_PCDATA_REQUIRED 				 69 
       
   124 *    XML_ERR_URI_REQUIRED 					 70 
       
   125 *    XML_ERR_PUBID_REQUIRED 				 71 
       
   126 *    XML_ERR_LT_REQUIRED 					 72 
       
   127 *    XML_ERR_GT_REQUIRED 					 73 
       
   128 *    XML_ERR_LTSLASH_REQUIRED 				 74 
       
   129 *    XML_ERR_EQUAL_REQUIRED 				 75 
       
   130 *    XML_ERR_TAG_NAME_MISMATCH 				 76 
       
   131 *    XML_ERR_TAG_NOT_FINISHED 				 77 
       
   132 *    XML_ERR_STANDALONE_VALUE 				 78 
       
   133 *    XML_ERR_ENCODING_NAME 					 79 
       
   134 *    XML_ERR_HYPHEN_IN_COMMENT 				 80 
       
   135 *    XML_ERR_INVALID_ENCODING 				 81 
       
   136 *    XML_ERR_EXT_ENTITY_STANDALONE 			 82 
       
   137 *    XML_ERR_CONDSEC_INVALID 				 83 
       
   138 *    XML_ERR_VALUE_REQUIRED 				 84 
       
   139 *    XML_ERR_NOT_WELL_BALANCED 				 85 
       
   140 *    XML_ERR_EXTRA_CONTENT 					 86 
       
   141 *    XML_ERR_ENTITY_CHAR_ERROR 				 87 
       
   142 *    XML_ERR_ENTITY_PE_INTERNAL 			 88 
       
   143 *    XML_ERR_ENTITY_LOOP 					 89 
       
   144 *    XML_ERR_ENTITY_BOUNDARY 				 90 
       
   145 *    XML_ERR_INVALID_URI 					 91 
       
   146 *    XML_ERR_URI_FRAGMENT 					 92 
       
   147 *    XML_WAR_CATALOG_PI 					 93 
       
   148 *    XML_ERR_NO_DTD 						 94 
       
   149 *    XML_ERR_CONDSEC_INVALID_KEYWORD 		 95 
       
   150 *    XML_ERR_VERSION_MISSING 				 96 
       
   151 *    XML_WAR_UNKNOWN_VERSION 				 97 
       
   152 *    XML_WAR_LANG_VALUE 					 98 
       
   153 *    XML_WAR_NS_URI 						 99 
       
   154 *    XML_WAR_NS_URI_RELATIVE 				 100 
       
   155 *    XML_ERR_MISSING_ENCODING 				 101 
       
   156 *    XML_NS_ERR_XML_NAMESPACE			     200
       
   157 *    XML_NS_ERR_UNDEFINED_NAMESPACE 		 201 
       
   158 *    XML_NS_ERR_QNAME 						 202 
       
   159 *    XML_NS_ERR_ATTRIBUTE_REDEFINED 		 203 
       
   160 */    
       
   161