Share via


IXMLParseError Error Messages (Windows Embedded CE 6.0)

1/6/2010

The following error messages are obtained from the IXMLDOMParseError object's errorCode property, which is specifically for parse errors.

Ee503526.collapse(en-US,WinEmbedded.60).gifParse Errors

Error code Error string Description

0xC00CE508L

MSG_E_BADCHARDATA

An invalid character was found in text content.

0xC00CE50CL

MSG_E_BADCHARINDECL

An invalid character was found inside a DTD declaration.

0xC00CE50BL

MSG_E_BADCHARINDTD

Invalid character found in DTD.

0xC00CE50EL

MSG_E_BADCHARINENTREF

An invalid character was found inside an entity reference.

0xC00CE519L

MSG_E_BADCHARINENUMERATION

Invalid character found in ATTLIST enumeration.

0xC00CE515L

MSG_E_BADCHARINMIXEDMODEL

Mixed content model cannot contain this character.

0xC00CE517L

MSG_E_BADCHARINMODEL

Invalid character in content model.

0xC00CE506L

MSG_E_BADCHARINSTRING

The character "<" cannot be used in an attribute value.

0xC00CE565L

MSG_E_BADDECLNAME

Declaration has an invalid name.

0xC00CE567L

MSG_E_BADELEMENTINDTD

An XML element is not allowed inside a DTD.

0xC00CE511L

MSG_E_BADENDCONDSECT

Invalid syntax in a conditional section.

0xC00CE566L

MSG_E_BADEXTERNALID

External ID is invalid.

0xC00CE505L

MSG_E_BADNAMECHAR

A name contained an invalid character.

0xC00CE55AL

MSG_E_BADPEREFINSUBSET

Parameter entities cannot be used inside markup declarations in an internal subset.

0xC00CE504L

MSG_E_BADSTARTNAMECHAR

A name was started with an invalid character.

0xC00CE576L

MSG_E_BADXMLCASE

The name "xml" is reserved and must be lowercase.

0xC00CE557L

MSG_E_BADXMLDECL

Invalid XML declaration.

0xC00CE578L

MSG_E_CDATAINVALID

CDATA is not allowed in a DTD.

0xC00CE503L

MSG_E_COMMENTSYNTAX

Incorrect syntax was used in a comment.

0xC00CE577L

MSG_E_CONDSECTINSUBSET

Conditional sections are not allowed in an internal subset.

0xC00CE57BL

MSG_E_DOCTYPE_IN_DTD

Cannot have a DOCTYPE declaration in a DTD.

0xC00CE57EL

MSG_E_DOCTYPE_OUTSIDE_PROLOG

Cannot have a DOCTYPE declaration outside of a prolog.

0xC00CE580L

MSG_E_DTDELEMENT_OUTSIDE_DTD

Cannot have a DTD declaration outside of a DTD.

0xC00CE554L

MSG_E_DUPLICATEATTRIBUTE

Duplicate attribute.

0xC00CE581L

MSG_E_DUPLICATEDOCTYPE

Cannot have multiple DOCTYPE declarations.

0xC00CE56DL

MSG_E_ENDTAGMISMATCH

End tag %2 does not match the start tag %1.

0xC00CE57DL

MSG_E_ENTITYREF_INNAME

Entity reference is resolved to an invalid name character.

0xC00CE380L

MSG_E_EXPECTED_TOKEN

Expected token %1 found %2.

0xC00CE56AL

MSG_E_EXPECTING_ENCODING

The encoding attribute is required at this location.

0xC00CE56BL

MSG_E_EXPECTING_NAME

At least one name is required at this location.

0xC00CE570L

MSG_E_EXPECTING_NDATA

NDATA keyword is missing.

0xC00CE569L

MSG_E_EXPECTING_VERSION

The version attribute is required at this location.

0xC00CE51BL

MSG_E_EXPECTINGCLOSEQUOTE

A single or double closing quote character (\' or \") is missing.

0xC00CE510L

MSG_E_EXPECTINGOPENBRACKET

An opening "[" character was expected.

0xC00CE50AL

MSG_E_EXPECTINGTAGEND

The character ">" was expected.

0xC00CE307L

MSG_E_FORMATINDEX_BADFORMAT

Invalid format string.

0xC00CE306L

MSG_E_FORMATINDEX_BADINDEX

The value passed in to formatIndex needs to be greater than 0.

0xC00CE514L

MSG_E_INCOMPLETE_ENCODING

End of file reached in invalid state for current encoding.

0xC00CE512L

MSG_E_INTERNALERROR

Internal error.

0xC00CE55CL

MSG_E_INVALID_CDATACLOSINGTAG

The literal string "]]>" is not allowed in element content.

0xC00CE51DL

MSG_E_INVALID_DECIMAL

Invalid character for decimal digit.

0xC00CE51EL

MSG_E_INVALID_HEXADECIMAL

Invalid character for hexadecimal digit.

0xC00CE571L

MSG_E_INVALID_MODEL

Content model is invalid.

0xC00CE575L

MSG_E_INVALID_PRESENCE

Invalid ATTDEF declaration. Expected #REQUIRED, #IMPLIED, or #FIXED.

0xC00CE579L

MSG_E_INVALID_STANDALONE

The standalone attribute must have the value "yes" or "no".

0xC00CE572L

MSG_E_INVALID_TYPE

Invalid type defined in ATTLIST.

0xC00CE51FL

MSG_E_INVALID_UNICODE

Invalid Unicode character value for this platform.

0xC00CE57FL

MSG_E_INVALID_VERSION

Invalid version number.

0xC00CE556L

MSG_E_INVALIDATROOTLEVEL

Invalid at the top level of the document.

0xC00CE56EL

MSG_E_INVALIDENCODING

System does not support the specified encoding.

0xC00CE56FL

MSG_E_INVALIDSWITCH

Switch from current encoding to specified encoding not supported.

0xC00CE573L

MSG_E_INVALIDXMLSPACE

XML space attribute has invalid value. Must specify "default" or "preserve".

0xC00CE57CL

MSG_E_MISSING_ENTITY

Reference to an undefined entity.

0xC00CE518L

MSG_E_MISSING_PAREN

Missing parenthesis.

0xC00CE516L

MSG_E_MISSING_STAR

Mixed content model must be defined as 0 or more("*").

0xC00CE501L

MSG_E_MISSINGEQUALS

Missing equals sign between attribute and attribute value.

0xC00CE502L

MSG_E_MISSINGQUOTE

A string literal was expected, but no opening quote character was found.

0xC00CE558L

MSG_E_MISSINGROOT

XML document must have a top-level element.

0xC00CE50DL

MSG_E_MISSINGSEMICOLON

A semicolon character was expected.

0xC00CE509L

MSG_E_MISSINGWHITESPACE

Required white space was missing.

0xC00CE574L

MSG_E_MULTI_ATTR_VALUE

Multiple names found in attribute value when only one was expected.

0xC00CE51CL

MSG_E_MULTIPLE_COLONS

Multiple colons are not allowed in a name.

0xC00CE555L

MSG_E_MULTIPLEROOTS

Only one top-level element is allowed in an XML document.

0xC00CE55BL

MSG_E_PE_NESTING

The replacement text for a parameter entity must be properly nested with parenthesized groups.

0xC00CE51AL

MSG_E_PIDECLSYNTAX

Invalid syntax in processing instruction declaration.

0xC00CE568L

MSG_E_RESERVEDNAMESPACE

The namespace prefix is not allowed to start with the reserved string "xml".

0xC00CE582L

MSG_E_RESOURCE

Error processing resource %1.

0xC00CE551L

MSG_E_STOPPED

The parser is stopped.

0xC00CE550L

MSG_E_SUSPENDED

The parser is suspended.

0xC00CE30AL

MSG_E_SYSTEM_ERROR

System error: %1.

0xC00CE50FL

MSG_E_UNBALANCEDPAREN

Unbalanced parentheses.

0xC00CE564L

MSG_E_UNCLOSEDCDATA

A CDATA section was not closed.

0xC00CE561L

MSG_E_UNCLOSEDCOMMENT

A comment was not closed.

0xC00CE562L

MSG_E_UNCLOSEDDECL

A declaration was not closed.

0xC00CE55FL

MSG_E_UNCLOSEDENDTAG

End element was missing the character ">".

0xC00CE563L

MSG_E_UNCLOSEDMARKUPDECL

A markup declaration was not closed.

0xC00CE55DL

MSG_E_UNCLOSEDPI

Processing instruction was not closed.

0xC00CE55EL

MSG_E_UNCLOSEDSTARTTAG

Element was not closed.

0xC00CE560L

MSG_E_UNCLOSEDSTRING

A string literal was not closed.

0xC00CE553L

MSG_E_UNCLOSEDTAG

The following tags were not closed: %1.

0xC00CE56CL

MSG_E_UNEXPECTED_ATTRIBUTE

The specified attribute was not expected at this location. The attribute may be case-sensitive.

0xC00CE57AL

MSG_E_UNEXPECTED_STANDALONE

The standalone attribute cannot be used in external entities.

0xC00CE381L

MSG_E_UNEXPECTED_TOKEN

Unexpected token %1.

0xC00CE513L

MSG_E_UNEXPECTED_WHITESPACE

White space is not allowed at this location.

0xC00CE552L

MSG_E_UNEXPECTEDENDTAG

End tag was not expected at this location.

0xC00CE559L

MSG_E_UNEXPECTEDEOF

Unexpected end of file.

0xC00CE520L

MSG_E_WHITESPACEORQUESTIONMARK

Expecting white space or "?".

0xC00CE507L

MSG_E_XMLDECLSYNTAX

Invalid syntax for an xml declaration.

0xC00CE10EL

SCHEMA_ATNAME_DUPLICATED

Duplicated attribute declaration.

0xC00CE10DL

SCHEMA_ATNAME_MISSING

AttributeType declaration must contain a name attribute.

0xC00CE111L

SCHEMA_ATREQUIRED_INVALID

Invalid value for required attribute.

0xC00CE11BL

SCHEMA_ATTRIBUTE_DEFAULTVALUE

The default value "%1" is invalid.

0xC00CE10CL

SCHEMA_ATTRIBUTE_NOTSUPPORT

The attribute %1 on a %2 is not supported.

0xC00CE100L

SCHEMA_ATTRIBUTEVALUE_NOSUPPORT

A namespace was found but not supported at the current location.

0xC00CE116L

SCHEMA_ATYPE_MISSING

Attribute declaration must contain a type attribute.

0xC00CE125L

SCHEMA_DOCTYPE_INVALID

DOCTYPE is not allowed in Schema.

0xC00CE11CL

SCHEMA_DTTYPE_DISABLED

Datatype is not allowed when content model is not "textOnly".

0xC00CE113L

SCHEMA_DTTYPE_DUPLICATED

Duplicated datatype declaration.

0xC00CE120L

SCHEMA_DTTYPE_MISSING

Type is missing on the datatype element.

0xC00CE112L

SCHEMA_DTTYPE_UNKNOWN

Unknown attribute datatype.

0xC00CE115L

SCHEMA_DTVALUES_MISSING

Must provide a values attribute on an element that contains a type attribute of the value "enumeration".

0xC00CE11AL

SCHEMA_DTVALUES_VALUES_MISSING

The values for enumeration type are missing.

0xC00CE11FL

SCHEMA_ELEMENT_DATATYPE

Child element is not allowed when datatype is set.

0xC00CE10AL

SCHEMA_ELEMENT_DISABLED

Cannot contain child elements because content is set to "textOnly".

0xC00CE11DL

SCHEMA_ELEMENT_EMPTY

Child element is not allowed when content model is "empty".

0xC00CE10BL

SCHEMA_ELEMENT_MISSING

Must provide at least one "element" in a group.

0xC00CE102L

SCHEMA_ELEMENT_NOSUPPORT

Element %1 is not allowed in this context.

0xC00CE124L

SCHEMA_ELEMENTDT_EMPTY

The value of the datatype attribute cannot be empty.

0xC00CE106L

SCHEMA_ELEMENTDT_NOSUPPORT

Content must be "textOnly" when using datatype on an ElementType.

0xC00CE114L

SCHEMA_ENUMERATION_MISSING

An element with a values attribute must contain a type attribute of the value "enumeration".

0xC00CE108L

SCHEMA_ETCONTENT_UNKNOWN

Content must be of type "empty","eltOnly","textOnly", or "mixed".

0xC00CE109L

SCHEMA_ETMODEL_UNKNOWN

The value of the model must be either "open" or "closed".

0xC00CE103L

SCHEMA_ETNAME_MISSING

An ElementType declaration must contain a name attribute.

0xC00CE107L

SCHEMA_ETORDER_DISABLED

Order must be "many" when content is "mixed".

0xC00CE105L

SCHEMA_ETORDER_UNKNOWN

Schema only supports order types "seq", "one", and "many".

0xC00CE104L

SCHEMA_ETYPE_MISSING

An element declaration must contain a type attribute.

0xC00CE119L

SCHEMA_GMATTRIBUTE_NOTSUPPORT

The attribute %1 on a group is not supported.

0xC00CE118L

SCHEMA_GROUP_DISABLED

A "group" is not allowed within an ElementType that has a "textOnly" content model.

0xC00CE122L

SCHEMA_MAXOCCURS_INVALIDVALUE

The value of attribute maxOccurs should be "1" or "*".

0xC00CE123L

SCHEMA_MAXOCCURS_MUSTBESTAR

The value of attribute maxOccurs must be "*" when attribute "order" is set to "many".

0xC00CE121L

SCHEMA_MINOCCURS_INVALIDVALUE

The value of attribute minOccurs should be "0" or "1".

0xC00CE101L

SCHEMA_SCHEMAROOT_EXPECTED

Incorrect definition for the root element in the schema.

0xC00CE022L

XML_ATTLIST_DUPLICATED_ID

Cannot define multiple ID attributes on the same element.

0xC00CE023L

XML_ATTLIST_ID_PRESENCE

An attribute of type ID must have a declared default of #IMPLIED or #REQUIRED.

0xC00CE016L

XML_ATTRIBUTE_FIXED

Attribute %1 has a value that does not match the fixed value defined in the DTD/Schema.

0xC00CE015L

XML_ATTRIBUTE_NOT_DEFINED

The attribute %1 on this element is not defined in the DTD/Schema.

0xC00CE017L

XML_ATTRIBUTE_VALUE

Attribute %1 has an invalid value according to the DTD/Schema.

0xC00CE029L

XML_BAD_ENCODING

Unable to save character to %1 encoding.

0xC00CE00FL

XML_DEFAULT_ATTRIBUTE

Error in the default attribute value defined in DTD/Schema.

0xC00CE026L

XML_DTD_EXPECTING

Expecting: %1.

0xC00CE00AL

XML_E_MISSING_PE_ENTITY

Parameter entity must be defined before it is used.

0xC00CE00BL

XML_E_MIXEDCONTENT_DUP_NAME

The same name must not appear more than once in a single mixed-content declaration: %1.

0xC00CE01FL

XML_E_UNKNOWNERROR

Unknown error: %1.

0xC00CE01BL

XML_ELEMENT_DEFINED

The element %1 is already declared.

0xC00CE00EL

XML_ELEMENT_ID_NOT_FOUND

The attribute %1 references the ID %2, which is not defined anywhere in the document.

0xC00CE012L

XML_ELEMENT_NOT_COMPLETE

Element content is incomplete according to the DTD/Schema.

0xC00CE00DL

XML_ELEMENT_UNDECLARED

The element %1 is used but not declared in the DTD/Schema.

0xC00CE01CL

XML_ELEMENT_UNDEFINED

Reference to undeclared element: %1.

0xC00CE011L

XML_EMPTY_NOT_ALLOWED

Element cannot be empty according to the DTD/Schema.

0xC00CE002L

XML_ENTITY_UNDEFINED

Reference to undefined entity %1.

0xC00CE007L

XML_EXTENT_IN_ATTR

Cannot reference an external general parsed entity %1 in an attribute value.

0xC00CE018L

XML_ILLEGAL_TEXT

Text is not allowed in this element according to the DTD/Schema.

0xC00CE003L

XML_INFINITE_ENTITY_LOOP

Entity %1 contains an infinite entity reference loop.

0xC00CE014L

XML_INVALID_CONTENT

Element content is invalid according to the DTD/Schema.

0xC00CE001L

XML_IOERROR

Error opening input file: %1.

0xC00CE028L

XML_LOAD_EXTERNALENTITY

Could not load %1.

0xC00CE021L

XML_MISSING_NOTATION

Declaration %1 contains a reference to undefined notation %2.

0xC00CE019L

XML_MULTI_FIXED_VALUES

An attribute declaration cannot contain multiple fixed values: "%1".

0xC00CE00CL

XML_NAME_COLON

Entity, EntityRef, PI, Notation names, or NMToken cannot contain a colon.

0xC00CE027L

XML_NAMESPACE_URI_EMPTY

Only a default namespace can have an empty URI.

0xC00CE004L

XML_NDATA_INVALID_PE

Cannot use the NDATA keyword in a parameter entity declaration.

0xC00CE006L

XML_NDATA_INVALID_REF

Cannot use unparsed entity %1 in an entity reference.

0xC00CE01AL

XML_NOTATION_DEFINED

The notation %1 is already declared.

0xC00CE009L

XML_PARSING_ENTITY

Error while parsing entity %1. %2.

0xC00CE025L

XML_PUBLICID_INVALID

The public ID %1 is invalid.

0xC00CE020L

XML_REQUIRED_ATTRIBUTE_MISSING

Required attribute %1 is missing.

0xC00CE005L

XML_REQUIRED_NDATA

Cannot use a general parsed entity '%1' as the value for attribute '%2'.

0xC00CE013L

XML_ROOT_NAME_MISMATCH

The name of the top-most element must match the name of the DOCTYPE declaration.

0xC00CE008L

XML_STOPPED_BY_USER

XML parser stopped by user.

0xC00CE024L

XML_XMLLANG_INVALIDID

The language ID %1 is invalid.

0xC00CE010L

XML_XMLNS_RESERVED

Reserved namespace "%1" cannot be redeclared.

0xC00CE01DL

XML_XMLNS_UNDEFINED

Reference to undeclared namespace prefix: %1.

See Also

Reference

XML Error Messages