What does Windows error code 14035 (ERROR_SXS_XML_E_XMLDECLSYNTAX) mean?

 
Previous Next
ERROR_SXS_XML_E_BADCHARINSTRING ERROR_SXS_XML_E_BADCHARDATA

ERROR_SXS_XML_E_XMLDECLSYNTAX

ERROR_SXS_XML_E_XMLDECLSYNTAX (0x000036D3) is a Windows Side-by-Side XML parser status for application, assembly, policy, or configuration manifest processing.

The parser is specifically rejecting the lexical or token sequence of the XML declaration. The declaration is not an ordinary processing instruction: it has a reserved lowercase xml target and a defined sequence of version, optional encoding, and optional standalone information.

Parser boundary

XML’s XMLDecl production starts with <?xml, requires version information, permits encoding and standalone fields in order, and ends with ?>. Misspelled pseudo-attributes or extra tokens make the declaration syntactically invalid.

What to inspect

  • Compare the entire declaration from <?xml through ?> with the XML declaration production.
  • Check the field order, required version field, equals signs, quotes, and final question-mark/greater-than terminator.
  • Fix the serializer or static template that emits the declaration so the malformed sequence is not reintroduced during manifest embedding.

The sxstrace parser location should be examined before assembly dependencies; declaration syntax must be valid before Windows can interpret any Side-by-Side manifest elements.

References


Looking for a different code? Search another status or error code.