epoc32/include/xmlengerrors.h
branchSymbian2
changeset 2 2fe1408b6811
parent 0 061f57f2323e
     1.1 --- a/epoc32/include/xmlengerrors.h	Tue Nov 24 13:55:44 2009 +0000
     1.2 +++ b/epoc32/include/xmlengerrors.h	Tue Mar 16 16:12:26 2010 +0000
     1.3 @@ -1,1 +1,161 @@
     1.4 -xmlengerrors.h
     1.5 +/*
     1.6 +* Copyright (c) 2004-2005 Nokia Corporation and/or its subsidiary(-ies). 
     1.7 +* All rights reserved.
     1.8 +* This component and the accompanying materials are made available
     1.9 +* 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
    1.10 +* which accompanies this distribution, and is available
    1.11 +* at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
    1.12 +*
    1.13 +* Initial Contributors:
    1.14 +* Nokia Corporation - initial contribution.
    1.15 +*
    1.16 +* Contributors:
    1.17 +*
    1.18 +* Description:       DOM errors codes
    1.19 +*
    1.20 +*/
    1.21 +
    1.22 +
    1.23 +
    1.24 +
    1.25 +
    1.26 +
    1.27 +
    1.28 +
    1.29 +/**
    1.30 + * NOTE1: All errors returned by DOM parser (positive values) are propagated from open-source library.
    1.31 + * They can be found in documentation to Libxml2 (version 2.6.10). See http://xmlsoft.org, and find enum xmlParserErrors.
    1.32 + *
    1.33 + * NOTE2: This errors CANNOT be propagated to other applications. 
    1.34 + *        It should be handled by user application.
    1.35 + */
    1.36 +
    1.37 +#ifndef XMLENGINE_DOM_ERRORS_H__
    1.38 +#define XMLENGINE_DOM_ERRORS_H__
    1.39 +
    1.40 +#include <e32def.h> 
    1.41 +
    1.42 +/** DOM parsing error */
    1.43 +const TInt KXmlEngErrParsing = -32397;
    1.44 +/** DOM save errors */
    1.45 +const TInt KXmlEngErrNegativeOutputSize = -32383;
    1.46 +const TInt KXmlEngErrWrongEncoding = -32382;
    1.47 +
    1.48 +/** KXmlEngErrNullNode error */
    1.49 +const TInt KXmlEngErrNullNode = -32380;
    1.50 +/** KXmlEngErrWrongUseOfAPI error */
    1.51 +const TInt KXmlEngErrWrongUseOfAPI = -32381;
    1.52 +
    1.53 +#endif // XMLENGINE_DOM_ERRORS_H__
    1.54 +
    1.55 +/*
    1.56 +* PARSING ERRORS:
    1.57 +*
    1.58 +*     XML_ERR_OK = 0 
    1.59 +*    XML_ERR_INTERNAL_ERROR 				 1  
    1.60 +*    XML_ERR_NO_MEMORY 						 2  
    1.61 +*    XML_ERR_DOCUMENT_START 				 3  
    1.62 +*    XML_ERR_DOCUMENT_EMPTY 				 4  
    1.63 +*    XML_ERR_DOCUMENT_END 					 5  
    1.64 +*    XML_ERR_INVALID_HEX_CHARREF 			 6  
    1.65 +*    XML_ERR_INVALID_DEC_CHARREF 			 7  
    1.66 +*    XML_ERR_INVALID_CHARREF 				 8  
    1.67 +*    XML_ERR_INVALID_CHAR 					 9  
    1.68 +*    XML_ERR_CHARREF_AT_EOF 				 10 
    1.69 +*    XML_ERR_CHARREF_IN_PROLOG 				 11 
    1.70 +*    XML_ERR_CHARREF_IN_EPILOG 				 12 
    1.71 +*    XML_ERR_CHARREF_IN_DTD 				 13 
    1.72 +*    XML_ERR_ENTITYREF_AT_EOF 				 14 
    1.73 +*    XML_ERR_ENTITYREF_IN_PROLOG 			 15 
    1.74 +*    XML_ERR_ENTITYREF_IN_EPILOG 			 16 
    1.75 +*    XML_ERR_ENTITYREF_IN_DTD 				 17 
    1.76 +*    XML_ERR_PEREF_AT_EOF 					 18 
    1.77 +*    XML_ERR_PEREF_IN_PROLOG 				 19 
    1.78 +*    XML_ERR_PEREF_IN_EPILOG 				 20 
    1.79 +*    XML_ERR_PEREF_IN_INT_SUBSET 			 21 
    1.80 +*    XML_ERR_ENTITYREF_NO_NAME 				 22 
    1.81 +*    XML_ERR_ENTITYREF_SEMICOL_MISSING	 	 23 
    1.82 +*    XML_ERR_PEREF_NO_NAME 					 24 
    1.83 +*    XML_ERR_PEREF_SEMICOL_MISSING 			 25 
    1.84 +*    XML_ERR_UNDECLARED_ENTITY 				 26 
    1.85 +*    XML_WAR_UNDECLARED_ENTITY 				 27 
    1.86 +*    XML_ERR_UNPARSED_ENTITY 				 28 
    1.87 +*    XML_ERR_ENTITY_IS_EXTERNAL 			 29 
    1.88 +*    XML_ERR_ENTITY_IS_PARAMETER 			 30 
    1.89 +*    XML_ERR_UNKNOWN_ENCODING 				 31 
    1.90 +*    XML_ERR_UNSUPPORTED_ENCODING 			 32 
    1.91 +*    XML_ERR_STRING_NOT_STARTED 			 33 
    1.92 +*    XML_ERR_STRING_NOT_CLOSED 				 34 
    1.93 +*    XML_ERR_NS_DECL_ERROR 					 35 
    1.94 +*    XML_ERR_ENTITY_NOT_STARTED 			 36 
    1.95 +*    XML_ERR_ENTITY_NOT_FINISHED 			 37 
    1.96 +*    XML_ERR_LT_IN_ATTRIBUTE 				 38 
    1.97 +*    XML_ERR_ATTRIBUTE_NOT_STARTED 			 39 
    1.98 +*    XML_ERR_ATTRIBUTE_NOT_FINISHED 		 40 
    1.99 +*    XML_ERR_ATTRIBUTE_WITHOUT_VALUE		 41 
   1.100 +*    XML_ERR_ATTRIBUTE_REDEFINED 			 42 
   1.101 +*    XML_ERR_LITERAL_NOT_STARTED 			 43 
   1.102 +*    XML_ERR_LITERAL_NOT_FINISHED 			 44 
   1.103 +*    XML_ERR_COMMENT_NOT_FINISHED 			 45 
   1.104 +*    XML_ERR_PI_NOT_STARTED 				 46 
   1.105 +*    XML_ERR_PI_NOT_FINISHED 				 47 
   1.106 +*    XML_ERR_NOTATION_NOT_STARTED 			 48 
   1.107 +*    XML_ERR_NOTATION_NOT_FINISHED 			 49 
   1.108 +*    XML_ERR_ATTLIST_NOT_STARTED 			 50 
   1.109 +*    XML_ERR_ATTLIST_NOT_FINISHED 			 51 
   1.110 +*    XML_ERR_MIXED_NOT_STARTED 				 52 
   1.111 +*    XML_ERR_MIXED_NOT_FINISHED 			 53 
   1.112 +*    XML_ERR_ELEMCONTENT_NOT_STARTED 		 54 
   1.113 +*    XML_ERR_ELEMCONTENT_NOT_FINISHED		 55 
   1.114 +*    XML_ERR_XMLDECL_NOT_STARTED 			 56 
   1.115 +*    XML_ERR_XMLDECL_NOT_FINISHED 			 57 
   1.116 +*    XML_ERR_CONDSEC_NOT_STARTED 			 58 
   1.117 +*    XML_ERR_CONDSEC_NOT_FINISHED 			 59 
   1.118 +*    XML_ERR_EXT_SUBSET_NOT_FINISHED		 60 
   1.119 +*    XML_ERR_DOCTYPE_NOT_FINISHED 			 61 
   1.120 +*    XML_ERR_MISPLACED_CDATA_END 			 62 
   1.121 +*    XML_ERR_CDATA_NOT_FINISHED 			 63 
   1.122 +*    XML_ERR_RESERVED_XML_NAME 				 64 
   1.123 +*    XML_ERR_SPACE_REQUIRED 				 65 
   1.124 +*    XML_ERR_SEPARATOR_REQUIRED 			 66 
   1.125 +*    XML_ERR_NMTOKEN_REQUIRED 				 67 
   1.126 +*    XML_ERR_NAME_REQUIRED 					 68 
   1.127 +*    XML_ERR_PCDATA_REQUIRED 				 69 
   1.128 +*    XML_ERR_URI_REQUIRED 					 70 
   1.129 +*    XML_ERR_PUBID_REQUIRED 				 71 
   1.130 +*    XML_ERR_LT_REQUIRED 					 72 
   1.131 +*    XML_ERR_GT_REQUIRED 					 73 
   1.132 +*    XML_ERR_LTSLASH_REQUIRED 				 74 
   1.133 +*    XML_ERR_EQUAL_REQUIRED 				 75 
   1.134 +*    XML_ERR_TAG_NAME_MISMATCH 				 76 
   1.135 +*    XML_ERR_TAG_NOT_FINISHED 				 77 
   1.136 +*    XML_ERR_STANDALONE_VALUE 				 78 
   1.137 +*    XML_ERR_ENCODING_NAME 					 79 
   1.138 +*    XML_ERR_HYPHEN_IN_COMMENT 				 80 
   1.139 +*    XML_ERR_INVALID_ENCODING 				 81 
   1.140 +*    XML_ERR_EXT_ENTITY_STANDALONE 			 82 
   1.141 +*    XML_ERR_CONDSEC_INVALID 				 83 
   1.142 +*    XML_ERR_VALUE_REQUIRED 				 84 
   1.143 +*    XML_ERR_NOT_WELL_BALANCED 				 85 
   1.144 +*    XML_ERR_EXTRA_CONTENT 					 86 
   1.145 +*    XML_ERR_ENTITY_CHAR_ERROR 				 87 
   1.146 +*    XML_ERR_ENTITY_PE_INTERNAL 			 88 
   1.147 +*    XML_ERR_ENTITY_LOOP 					 89 
   1.148 +*    XML_ERR_ENTITY_BOUNDARY 				 90 
   1.149 +*    XML_ERR_INVALID_URI 					 91 
   1.150 +*    XML_ERR_URI_FRAGMENT 					 92 
   1.151 +*    XML_WAR_CATALOG_PI 					 93 
   1.152 +*    XML_ERR_NO_DTD 						 94 
   1.153 +*    XML_ERR_CONDSEC_INVALID_KEYWORD 		 95 
   1.154 +*    XML_ERR_VERSION_MISSING 				 96 
   1.155 +*    XML_WAR_UNKNOWN_VERSION 				 97 
   1.156 +*    XML_WAR_LANG_VALUE 					 98 
   1.157 +*    XML_WAR_NS_URI 						 99 
   1.158 +*    XML_WAR_NS_URI_RELATIVE 				 100 
   1.159 +*    XML_ERR_MISSING_ENCODING 				 101 
   1.160 +*    XML_NS_ERR_XML_NAMESPACE			     200
   1.161 +*    XML_NS_ERR_UNDEFINED_NAMESPACE 		 201 
   1.162 +*    XML_NS_ERR_QNAME 						 202 
   1.163 +*    XML_NS_ERR_ATTRIBUTE_REDEFINED 		 203 
   1.164 +*/    
   1.165 +