epoc32/include/xml/xmlparsererrors.h
branchSymbian2
changeset 2 2fe1408b6811
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/epoc32/include/xml/xmlparsererrors.h	Tue Mar 16 16:12:26 2010 +0000
     1.3 @@ -0,0 +1,56 @@
     1.4 +// Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
     1.5 +// All rights reserved.
     1.6 +// This component and the accompanying materials are made available
     1.7 +// 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.8 +// which accompanies this distribution, and is available
     1.9 +// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
    1.10 +//
    1.11 +// Initial Contributors:
    1.12 +// Nokia Corporation - initial contribution.
    1.13 +//
    1.14 +// Contributors:
    1.15 +//
    1.16 +// Description:
    1.17 +//
    1.18 +
    1.19 +#ifndef XMLPARSERERRORS_H
    1.20 +#define XMLPARSERERRORS_H
    1.21 +
    1.22 +/**
    1.23 +@file
    1.24 +
    1.25 +This file contains XML specific errors returned by the XML Parser.
    1.26 +
    1.27 +@internalTechnology
    1.28 +*/
    1.29 +
    1.30 +enum TXmlParserError {
    1.31 +	EXmlParserError = -1000,
    1.32 +	EXmlSyntax = 2+EXmlParserError,		// -998
    1.33 +	EXmlNoElements,						// -997
    1.34 +	EXmlInvalidToken,					// -996
    1.35 +	EXmlUnclosedToken,					// -995
    1.36 +	EXmlPartialChar,					// -994
    1.37 +	EXmlTagMismatch,					// -993
    1.38 +	EXmlDuplicateAttribute,				// -992
    1.39 +	EXmlJunkAfterDocElement,			// -991
    1.40 +	EXmlPeRef,							// -990
    1.41 +	EXmlUndefinedEntity,				// -989
    1.42 +	EXmlRecursiveEntity,				// -988
    1.43 +	EXmlAsyncEntity,					// -987
    1.44 +	EXmlBadCharRef,						// -986
    1.45 +	EXmlBinaryEntityRef,				// -985
    1.46 +	EXmlAttributeExternalEntityRef,		// -984
    1.47 +	EXmlMisplacedPi,					// -983
    1.48 +	EXmlUnknownEncoding,				// -982
    1.49 +	EXmlIncorrectEncoding,				// -981
    1.50 +	EXmlUnclosedCdata,					// -980
    1.51 +	EXmlExternalEntityHandling,			// -979
    1.52 +	EXmlNotStandalone,					// -978
    1.53 +	EXmlUnexpectedState,				// -977
    1.54 +	EXmlEntityDeclInPe,					// -976
    1.55 +	EXmlDtdRequired,					// -975
    1.56 +	EXmlFeatureLockedWhileParsing		// -974
    1.57 +};
    1.58 +
    1.59 +#endif  // XMLERRORS_H