00001 /* 00002 * ============================================================================== 00003 * Name : SenXmlConstants.h 00004 * Part of : Web Services Xml 00005 * Interface : 00006 * Description : This header lists all constants of XML Extensions library 00007 * Version : 00008 * 00009 * Copyright © 2002-2005 Nokia. All rights reserved. 00010 * This material, including documentation and any related 00011 * computer programs, is protected by copyright controlled by 00012 * Nokia. All rights are reserved. Copying, including 00013 * reproducing, storing, adapting or translating, any 00014 * or all of this material requires the prior written consent of 00015 * Nokia. This material also contains confidential 00016 * information which may not be disclosed to others without the 00017 * prior written consent of Nokia. 00018 * ============================================================================== 00019 */ 00020 00021 #ifndef SEN_XML_CONSTANTS_H 00022 #define SEN_XML_CONSTANTS_H 00023 00024 // INCLUDES 00025 #include <e32base.h> 00026 00027 // CONSTANTS 00028 // Leave codes 00029 const TInt KErrSenInvalidCharacters = -30300; 00030 const TInt KErrSenZeroLengthDescriptor = -30301; 00031 const TInt KErrSenXmlReaderNotSet = -30302; 00032 const TInt KErrSenXmlContentHandlerNotSet = -30303; 00033 00034 // Panics 00035 _LIT(KPanic, "SenXml"); 00036 // XML String constants 00037 _LIT8(KLessThan, "<"); 00038 _LIT8(KGreaterThan, ">"); 00039 _LIT8(KColon, ":"); 00040 _LIT8(KSpace, " "); 00041 _LIT8(KDblQuot, "\""); 00042 _LIT8(KEqualsDblQuot, "=\""); 00043 _LIT8(KSlashGreaterThan, "/>"); 00044 _LIT8(KLessThanSlash, "</"); 00045 _LIT8(KSpaceXmlns, " xmlns"); 00046 _LIT8(KXmlns, "xmlns"); 00047 00048 _LIT8(KQuotedApos, "'"); 00049 _LIT8(KQuotedDblQuot, """); 00050 _LIT8(KQuotedGt, ">"); 00051 _LIT8(KQuotedLt, "<"); 00052 _LIT8(KQuotedAmp, "&"); 00053 00054 // DATA TYPES 00055 enum TPanic 00056 { 00057 EBadNamespace = 1, 00058 EBadNamespacePrefix, 00059 EBufNot16Bit, 00060 EFragmentElementNotInitialized, 00061 EDelegatedFragmentAlreadySet, 00062 EInconsistentTokens, 00063 EBadInternalState 00064 }; 00065 00066 // SEN_XML_CONSTANTS_H 00067 #endif 00068 00069 // End of File 00070