1 // Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // 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
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
16 #ifndef XMLPARSERERRORS_H
17 #define XMLPARSERERRORS_H
22 This file contains XML specific errors returned by the XML Parser.
27 enum TXmlParserError {
28 EXmlParserError = -1000,
29 EXmlSyntax = 2+EXmlParserError, // -998
30 EXmlNoElements, // -997
31 EXmlInvalidToken, // -996
32 EXmlUnclosedToken, // -995
33 EXmlPartialChar, // -994
34 EXmlTagMismatch, // -993
35 EXmlDuplicateAttribute, // -992
36 EXmlJunkAfterDocElement, // -991
38 EXmlUndefinedEntity, // -989
39 EXmlRecursiveEntity, // -988
40 EXmlAsyncEntity, // -987
41 EXmlBadCharRef, // -986
42 EXmlBinaryEntityRef, // -985
43 EXmlAttributeExternalEntityRef, // -984
44 EXmlMisplacedPi, // -983
45 EXmlUnknownEncoding, // -982
46 EXmlIncorrectEncoding, // -981
47 EXmlUnclosedCdata, // -980
48 EXmlExternalEntityHandling, // -979
49 EXmlNotStandalone, // -978
50 EXmlUnexpectedState, // -977
51 EXmlEntityDeclInPe, // -976
52 EXmlDtdRequired, // -975
53 EXmlFeatureLockedWhileParsing // -974