gmxmlconstants.h File Reference

Enum TXMLFileType

XML file type options.

EnumeratorValueDescription
EAscii1

ASCII file.

EUnicode2

Unicode file.

EUtf83

UTF8 file.

KReadBufferLen

const TIntKReadBufferLen

KWriteBufferLen

const TIntKWriteBufferLen

KErrXMLBadNesting

const TIntKErrXMLBadNesting

XML element nesting error code.

KErrXMLIncomplete

const TIntKErrXMLIncomplete

XML element incomplete error code.

KErrXMLBadElementName

const TIntKErrXMLBadElementName

XML element name error code.

KErrXMLDuplicateDocTypeTags

const TIntKErrXMLDuplicateDocTypeTags

Error code that indicates that more than one DOCTYPE tag has been encountered: the first one encountered will be used.

KErrXMLDuplicateVersionTags

const TIntKErrXMLDuplicateVersionTags

Error code that indicates that more than one XML version tag has been encountered: the first one encountered will be used.

KErrXMLDuplicateRootElements

const TIntKErrXMLDuplicateRootElements

Error code that indicates that more than one element has been encountered at the root of the document (there should be a single <smil> element). The resulting tree may be confused, but is provided rather than being discarded.

KErrXMLMissingDocTypeTag

const TIntKErrXMLMissingDocTypeTag

Error code that indicates that no DOCTYPE tag was encountered.

KErrXMLMissingVersionTag

const TIntKErrXMLMissingVersionTag

Error code that indicates that no XML version tag was encountered.

KErrXMLDuplicateAttributeName

const TIntKErrXMLDuplicateAttributeName

Error code that indicates that an element has two or more entries for the same attribute.

KErrXMLMultipleRootElements

const TIntKErrXMLMultipleRootElements

Error code that indicates there is no single root element.

This may be the result of two of more root elements being added incorrectly, or a missing root element leading to the child elements being assumed to be root nodes.

KErrXMLCorruptFile

const TIntKErrXMLCorruptFile

Error code that indicates spurious characters have been found.

This may occur as the result of a missing or an extra attribute or element delimiter.

KErrXMLIllegalCharacter

const TIntKErrXMLIllegalCharacter

Error code that indicates a built-in entity or element / attribute delimiter is at an inappropriate place.

KErrXMLBadEntity

const TIntKErrXMLBadEntity

KErrXMLInvalidElement

const TIntKErrXMLInvalidElement

Error code that indicates an element was found to be invalid by the DTD

KErrXMLInvalidAttribute

const TIntKErrXMLInvalidAttribute

Error code that indicates an attribute was found to be invalid by the DTD

Enum TXMLErrorCodeSeverity

Severity levels for XML composer and parser errors.

EnumeratorValueDescription
EXMLFatal

Fatal error.

EXMLIndeterminate

Severity level cannot be determined.

EXMLWorkable

Recoverable error.

EXMLNone

No error.

KNewLine

const TLitC< sizeof(L"\r\n")/2 >KNewLine[static]

KXMLSemiColon

const TLitC< sizeof(L";")/2 >KXMLSemiColon[static]

KXMLDecimalId

const TLitC< sizeof(L"&#")/2 >KXMLDecimalId[static]

KXMLHexidecimalId

const TLitC< sizeof(L"&#x")/2 >KXMLHexidecimalId[static]

TLitC< sizeof(L"<!--")/2 >KXMLStartComment={sizeof(L"<!--")/2-1, L"<!--"};const static TLitC< sizeof(L"-->")/2 >KXMLEndComment={sizeof(L"-->")/2-1, L"-->

constTLitC< sizeof(L"<!--")/2 >KXMLStartComment={sizeof(L"<!--")/2-1, L"<!--"};const static TLitC< sizeof(L"-->")/2 >KXMLEndComment={sizeof(L"-->")/2-1, L"-->[static]