IXMLParseError Error Messages

 

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

Error codeError stringDescription
0xC00CE501MSG_E_MISSINGEQUALSMissing equals sign between attribute and attribute value
0xC00CE502MSG_E_MISSINGQUOTEA string literal was expected, but no opening quote character was found
0xC00CE503MSG_E_COMMENTSYNTAXIncorrect syntax was used in a comment
0xC00CE504MSG_E_BADSTARTNAMECHARA name was started with an invalid character
0xC00CE505MSG_E_BADNAMECHARA name contained an invalid character
0xC00CE506MSG_E_BADCHARINSTRINGThe character '<' cannot be used in an attribute value
0xC00CE507MSG_E_XMLDECLSYNTAXInvalid syntax for an xml declaration
0xC00CE508MSG_E_BADCHARDATAAn invalid character was found in text content
0xC00CE509MSG_E_MISSINGWHITESPACERequired white space was missing
0xC00CE50AMSG_E_EXPECTINGTAGENDThe character '>' was expected
0xC00CE50BMSG_E_BADCHARINDTDInvalid character found in DTD
0xC00CE50CMSG_E_BADCHARINDECLAn invalid character was found inside a DTD declaration
0xC00CE50DMSG_E_MISSINGSEMICOLONA semi colon character was expected
0xC00CE50EMSG_E_BADCHARINENTREFAn invalid character was found inside an entity reference
0xC00CE50FMSG_E_UNBALANCEDPARENUnbalanced parentheses
0xC00CE510MSG_E_EXPECTINGOPENBRACKETAn opening '[' character was expected
0xC00CE511MSG_E_BADENDCONDSECTInvalid syntax in a conditional or a CDATA section
0xC00CE512MSG_E_INTERNALERRORInternal error
0xC00CE513MSG_E_UNEXPECTED_WHITESPACEWhitespace is not allowed at this location
0xC00CE514MSG_E_INCOMPLETE_ENCODINGEnd of file reached in invalid state for current encoding
0xC00CE515MSG_E_BADCHARINMIXEDMODELMixed content model cannot contain this character
0xC00CE516MSG_E_MISSING_STARMixed content model must be defined as zero or more('*')
0xC00CE517MSG_E_BADCHARINMODELInvalid character in content model
0xC00CE518MSG_E_MISSING_PARENMissing parenthesis
0xC00CE519MSG_E_BADCHARINENUMERATIONInvalid character found in ATTLIST enumeration
0xC00CE51AMSG_E_PIDECLSYNTAXInvalid syntax in PI declaration
0xC00CE51BMSG_E_EXPECTINGCLOSEQUOTEA single or double closing quote character (\' or \") is missing
0xC00CE51CMSG_E_MULTIPLE_COLONSMultiple colons are not allowed in a name
0xC00CE51DMSG_E_INVALID_DECIMALInvalid character for decimal digit
0xC00CE51EMSG_E_INVALID_HEXIDECIMALInvalid character for hexidecimal digit
0xC00CE51FMSG_E_INVALID_UNICODEInvalid unicode character
0xC00CE520MSG_E_WHITESPACEORQUESTIONMARKExpecting whitespace or '?'
0xC00CE521MSG_E_CM_TOO_COMPLEXContent model is too complex;
0xC00CE550MSG_E_SUSPENDEDThe parser is suspended
0xC00CE551MSG_E_STOPPEDThe parser is stopped
0xC00CE552MSG_E_UNEXPECTEDENDTAGEnd tag was not expected at this location
0xC00CE553MSG_E_UNCLOSEDTAGThe following tags were not closed: %1
0xC00CE554MSG_E_DUPLICATEATTRIBUTEDuplicate attribute
0xC00CE555MSG_E_MULTIPLEROOTSOnly one top level element is allowed in an XML document
0xC00CE556MSG_E_INVALIDATROOTLEVELInvalid at the top level of the document
0xC00CE557MSG_E_BADXMLDECLInvalid xml declaration
0xC00CE558MSG_E_MISSINGROOTXML document must have a top level element
0xC00CE559MSG_E_UNEXPECTEDEOFUnexpected end of file
0xC00CE55AMSG_E_BADPEREFINSUBSETParameter entities cannot be used inside markup declarations in an internal subset
0xC00CE55BMSG_E_PE_NESTINGThe replacement text for a parameter entity must be properly nested with parenthesized groups
0xC00CE55CMSG_E_INVALID_CDATACLOSINGTAGThe literal string ']]>' is not allowed in element content
0xC00CE55DMSG_E_UNCLOSEDPIProcessing instruction was not closed
0xC00CE55EMSG_E_UNCLOSEDSTARTTAGElement was not closed
0xC00CE55FMSG_E_UNCLOSEDENDTAGEnd element was missing the character '>'
0xC00CE560MSG_E_UNCLOSEDSTRINGA string literal was not closed
0xC00CE561MSG_E_UNCLOSEDCOMMENTA comment was not closed
0xC00CE562MSG_E_UNCLOSEDDECLA declaration was not closed
0xC00CE563MSG_E_UNCLOSEDMARKUPDECLA markup declaration was not closed
0xC00CE564MSG_E_UNCLOSEDCDATAA CDATA section was not closed
0xC00CE565MSG_E_BADDECLNAMEDeclaration has an invalid name
0xC00CE566MSG_E_BADEXTERNALIDExternal ID is invalid
0xC00CE567MSG_E_BADELEMENTINDTDAn XML element is not allowed inside a DTD
0xC00CE568MSG_E_RESERVEDNAMESPACEPrefixes 'xml' and 'xmlns' are reserved for use by XML
0xC00CE569MSG_E_EXPECTING_VERSIONThe 'version' attribute is required at this location
0xC00CE56AMSG_E_EXPECTING_ENCODINGThe 'encoding' attribute is required at this location
0xC00CE56BMSG_E_EXPECTING_NAMEAt least one name is required at this location
0xC00CE56CMSG_E_UNEXPECTED_ATTRIBUTEThe specified attribute was not expected at this location. The attribute may be case sensitive
0xC00CE56DMSG_E_ENDTAGMISMATCHEnd tag '%2' does not match the start tag '%1'
0xC00CE56EMSG_E_INVALIDENCODINGSystem does not support the specified encoding
0xC00CE56FMSG_E_INVALIDSWITCHSwitch from current encoding to specified encoding not supported
0xC00CE570MSG_E_EXPECTING_NDATANDATA keyword is missing
0xC00CE571MSG_E_INVALID_MODELContent model is invalid
0xC00CE572MSG_E_INVALID_TYPEInvalid type defined in ATTLIST
0xC00CE573MSG_E_INVALIDXMLSPACEThe xml:space attribute has a non-legal value The only legal values are 'default' and 'preserve'
0xC00CE574MSG_E_MULTI_ATTR_VALUEMultiple names found in attribute value when only one was expected
0xC00CE575MSG_E_INVALID_PRESENCEInvalid ATTDEF declaration Expected #REQUIRED, #IMPLIED or #FIXED
0xC00CE576MSG_E_BADXMLCASEThe name 'xml' is reserved and must be lower case
0xC00CE577MSG_E_CONDSECTINSUBSETConditional sections are not allowed in an internal subset
0xC00CE578MSG_E_CDATAINVALIDCDATA is not allowed in a DTD
0xC00CE579MSG_E_INVALID_STANDALONEThe standalone attribute must have the value 'yes' or 'no'
0xC00CE57AMSG_E_UNEXPECTED_STANDALONEThe standalone attribute cannot be used in external entities
0xC00CE57BMSG_E_DOCTYPE_IN_DTDCannot have a DOCTYPE declaration in a DTD
0xC00CE57CMSG_E_MISSING_ENTITYReference to undefined entity
0xC00CE57DMSG_E_ENTITYREF_INNAMEEntity reference is resolved to an invalid name character
0xC00CE57EMSG_E_DOCTYPE_OUTSIDE_PROLOGCannot have a DOCTYPE declaration outside of a prolog
0xC00CE57FMSG_E_INVALID_VERSIONInvalid version number
0xC00CE580MSG_E_DTDELEMENT_OUTSIDE_DTDCannot have a DTD declaration outside of a DTD
0xC00CE581MSG_E_DUPLICATEDOCTYPECannot have multiple DOCTYPE declarations
0xC00CE582MSG_E_RESOURCEError processing resource '%1'
0xC00CE583MSG_E_MISSINGNAMEA name is required at this location
0xC00CE584MSG_E_DTD_PROHIBITEDDTD is prohibited
0xC00CE5FFMSG_E_CONSTRAINT_VIOLATEDOperation aborted: %1 constraint violated
Show: