|
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 "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 #ifndef XMLPARSERERRORS_H |
|
17 #define XMLPARSERERRORS_H |
|
18 |
|
19 /** |
|
20 @file |
|
21 |
|
22 This file contains XML specific errors returned by the XML Parser. |
|
23 |
|
24 @internalTechnology |
|
25 */ |
|
26 |
|
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 |
|
37 EXmlPeRef, // -990 |
|
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 |
|
54 }; |
|
55 |
|
56 #endif // XMLERRORS_H |