diff -r 417699dc19c9 -r c7e9f1c97567 xml/legacyminidomparser/xmldom/inc/gmxmldomconstants.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/xml/legacyminidomparser/xmldom/inc/gmxmldomconstants.h Mon Sep 13 13:16:40 2010 +0530 @@ -0,0 +1,61 @@ +// Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies). +// All rights reserved. +// This component and the accompanying materials are made available +// under the terms of "Eclipse Public License v1.0" +// which accompanies this distribution, and is available +// at the URL "http://www.eclipse.org/legal/epl-v10.html". +// +// Initial Contributors: +// Nokia Corporation - initial contribution. +// +// Contributors: +// +// Description: +// This file contains generic XML constants +// +// + +/** + @file + @publishedPartner + @released +*/ + +#ifndef __GMXMLDOMCONSTANTS_H__ +#define __GMXMLDOMCONSTANTS_H__ + +#include + + +// Error codes +/** +* Starting value for all the component's error codes. +* @publishedPartner +* @released +*/ +const TInt KErrXMLBase = -9000; +/** +* XML attribute value error code. +* @publishedPartner +* @released +*/ +const TInt KErrXMLBadAttributeValue = KErrXMLBase - 1; +/** +* XML attribute name error code. +* @publishedPartner +* @released +*/ +const TInt KErrXMLBadAttributeName = KErrXMLBase - 2; +/** +* Invalid XML child element error code. +* @publishedPartner +* @released +*/ +const TInt KErrXMLInvalidChild = KErrXMLBase - 3; + + + +_LIT(KXMLDocumentElementNodeName, "documentelement"); + + +#endif