17
|
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 |
// This file contains generic XML constants
|
|
15 |
//
|
|
16 |
//
|
|
17 |
|
|
18 |
/**
|
|
19 |
@file
|
|
20 |
@publishedPartner
|
|
21 |
@released
|
|
22 |
*/
|
|
23 |
|
|
24 |
#ifndef __GMXMLDOMCONSTANTS_H__
|
|
25 |
#define __GMXMLDOMCONSTANTS_H__
|
|
26 |
|
|
27 |
#include <e32base.h>
|
|
28 |
|
|
29 |
|
|
30 |
// Error codes
|
|
31 |
/**
|
|
32 |
* Starting value for all the component's error codes.
|
|
33 |
* @publishedPartner
|
|
34 |
* @released
|
|
35 |
*/
|
|
36 |
const TInt KErrXMLBase = -9000;
|
|
37 |
/**
|
|
38 |
* XML attribute value error code.
|
|
39 |
* @publishedPartner
|
|
40 |
* @released
|
|
41 |
*/
|
|
42 |
const TInt KErrXMLBadAttributeValue = KErrXMLBase - 1;
|
|
43 |
/**
|
|
44 |
* XML attribute name error code.
|
|
45 |
* @publishedPartner
|
|
46 |
* @released
|
|
47 |
*/
|
|
48 |
const TInt KErrXMLBadAttributeName = KErrXMLBase - 2;
|
|
49 |
/**
|
|
50 |
* Invalid XML child element error code.
|
|
51 |
* @publishedPartner
|
|
52 |
* @released
|
|
53 |
*/
|
|
54 |
const TInt KErrXMLInvalidChild = KErrXMLBase - 3;
|
|
55 |
|
|
56 |
|
|
57 |
|
|
58 |
_LIT(KXMLDocumentElementNodeName, "documentelement");
|
|
59 |
|
|
60 |
|
|
61 |
#endif
|