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