XML Parsing Errors
This topic lists and describes the XML parsing errors that may be returned by the Policy Manager when processing SyncML data from the MDM server. Each error includes its name, corresponding Win32 error code, and a brief description to assist in troubleshooting XML parsing issues. Use this reference to identify and resolve specific XML parsing problems encountered during device management operations.
| Error Name | Win32 Error Code | Description |
|---|---|---|
| MSG_E_MX | 0xC00CEE00 | Reader error. |
| MSG_E_INPUTEND | 0xC00CEE01 | Unexpected end of input. |
| MSG_E_ENCODING | 0xC00CEE02 | Unrecognized encoding. |
| MSG_E_ENCODINGSWITCH | 0xC00CEE03 | Unable to switch the encoding. |
| MSG_E_ENCODINGSIGNATURE | 0xC00CEE04 | Unrecognized input signature. |
| MSG_E_WC | 0xC00CEE20 | Well formedness error. |
| MSG_E_WHITESPACE | 0xC00CEE21 | Whitespace expected. |
| MSG_E_SEMICOLON | 0xC00CEE22 | Semicolon expected. |
| MSG_E_GREATERTHAN | 0xC00CEE23 | ‘>’ expected. |
| MSG_E_QUOTE | 0xC00CEE24 | Quote expected. |
| MSG_E_EQUAL | 0xC00CEE25 | Equal expected. |
| MSG_E_LESSTHAN | 0xC00CEE26 | An attribute value must not contain ‘<‘. |
| MSG_E_HEXDIGIT | 0xC00CEE27 | Hexadecimal digit expected. |
| MSG_E_DIGIT | 0xC00CEE28 | Decimal digit expected. |
| MSG_E_LEFTBRACKET | 0xC00CEE29 | ‘[‘ expected. |
| MSG_E_LEFTPAREN | 0xC00CEE2A | ‘(‘ expected. |
| MSG_E_XMLCHARACTER | 0xC00CEE2B | Illegal xml character. |
| MSG_E_NAMECHARACTER | 0xC00CEE2C | Illegal name character. |
| MSG_E_SYNTAX | 0xC00CEE2D | Incorrect document syntax. |
| MSG_E_CDSECT | 0xC00CEE2E | Incorrect CDATA section syntax. |
| MSG_E_COMMENT | 0xC00CEE2F | Incorrect comment syntax. |
| MSG_E_CONDSECT | 0xC00CEE30 | Incorrect conditional section syntax. |
| MSG_E_DECLATTLIST | 0xC00CEE31 | Incorrect ATTLIST declaration syntax. |
| MSG_E_DECLDOCTYPE | 0xC00CEE32 | Incorrect DOCTYPE declaration syntax. |
| MSG_E_DECLELEMENT | 0xC00CEE33 | Incorrect ELEMENT declaration syntax. |
| MSG_E_DECLENTITY | 0xC00CEE34 | Incorrect ENTITY declaration syntax. |
| MSG_E_DECLNOTATION | 0xC00CEE35 | Incorrect NOTATION declaration syntax. |
| MSG_E_NDATA | 0xC00CEE36 | NDATA expected. |
| MSG_E_PUBLIC | 0xC00CEE37 | PUBLIC expected. |
| MSG_E_SYSTEM | 0xC00CEE38 | SYSTEM expected. |
| MSG_E_NAME | 0xC00CEE39 | Name expected. |
| MSG_E_ROOTELEMENT | 0xC00CEE3A | A document must contain exactly one root element. |
| MSG_E_ELEMENTMATCH | 0xC00CEE3B | The name in the end tag of the element must match the element type in the start tag. |
| MSG_E_UNIQUEATTRIBUTE | 0xC00CEE3C | No attribute name may appear more than once in the same start tag or empty element tag. |
| MSG_E_TEXTXMLDECL | 0xC00CEE3D | A text/xml declaration may occur only at the very beginning of input. |
| MSG_E_LEADINGXML | 0xC00CEE3E | Names beginning with the three letter sequence x, m, l, in any case combination, are reserved for use by XML and XML-related specifications. |
| MSG_E_TEXTDECL | 0xC00CEE3F | Incorrect text declaration syntax. |
| MSG_E_XMLDECL | 0xC00CEE40 | Incorrect xml declaration syntax. |
| MSG_E_ENCNAME | 0xC00CEE41 | Incorrect encoding name syntax. |
| MSG_E_PUBLICID | 0xC00CEE42 | Incorrect public identifier syntax. |
| MSG_E_PESINTERNALSUBSET | 0xC00CEE43 | In the internal DTD subset, parameter entity references can occur only where markup declarations can occur, not within markup declarations. |
| MSG_E_PESBETWEENDECLS | 0xC00CEE44 | The replacement text of a parameter entity referenced between markup declarations must be well formed. |
| MSG_E_NORECURSION | 0xC00CEE45 | A parsed entity must not contain a recursive reference to itself, either directly or indirectly. |
| MSG_E_ENTITYCONTENT | 0xC00CEE46 | The replacement text of an entity referenced in the content must be well formed. |
| MSG_E_UNDECLAREDENTITY | 0xC00CEE47 | Undeclared entity. |
| MSG_E_PARSEDENTITY | 0xC00CEE48 | An entity reference must not contain the name of an unparsed entity. |
| MSG_E_NOEXTERNALENTITYREF | 0xC00CEE49 | Attribute values cannot contain direct or indirect entity references to external entities. |
| MSG_E_PI | 0xC00CEE4A | Incorrect processing instruction syntax. |
| MSG_E_SYSTEMID | 0xC00CEE4B | Incorrect system identifier syntax. |
| MSG_E_QUESTIONMARK | 0xC00CEE4C | ‘?’ expected. |
| MSG_E_CDSECTEND | 0xC00CEE4D | The content of an element must not contain the character sequence ‘]]>’. |
| SAX_E_DTD_PROHIBITED | 0xC00CEE4E | DTD is prohibited. |
| MSG_E_RESERVEDXMLNAMESPACE | 0xC00CEE4F | The namespace for ‘xmlns:xml’ is reserved and it can only be declared as ‘http://www.w3.org/XML/1998/namespace’. |
| MSG_E_RESERVEDXMLNS | 0xC00CEE50 | Prefixes ‘xml’ and ‘xmlns’ are reserved for use by XML. |
| MSG_E_NC | 0xC00CEE60 | Namespace error. |
| MSG_E_QNAMECHARACTER | 0xC00CEE61 | Illegal qualified name character. |
| MSG_E_QNAMECOLON | 0xC00CEE62 | A qualified name cannot contain multiple colons. |
| MSG_E_NAMECOLON | 0xC00CEE63 | An attribute value declared to be of type ID, IDREF(S), ENTITY(IES) or NOTATION cannot contain colons. |
| MSG_E_DECLAREDPREFIX | 0xC00CEE64 | Declared prefix. |
| MSG_E_UNDECLAREDPREFIX | 0xC00CEE65 | Undeclared prefix. |
| MSG_E_EMPTYURI | 0xC00CEE66 | Only a default namespace can have an empty URI. |
| MSG_E_VC | 0xC00CEE80 | Validity error. |