| Previous | Next |
| ERROR_SXS_XML_E_BADNAMECHAR | ERROR_SXS_XML_E_XMLDECLSYNTAX |
ERROR_SXS_XML_E_BADCHARINSTRING
ERROR_SXS_XML_E_BADCHARINSTRING (0x000036D2) is a Windows Side-by-Side XML parser status for application, assembly, policy, or configuration manifest processing.
This status points at a quoted literal, typically an attribute value or another XML grammar string, rather than free element text. The quote delimiters can be present and balanced while the content between them still violates XML character or literal rules.
Parser boundary
XML attribute values are delimited by either single or double quotes and have restrictions on embedded markup and character references. A raw ampersand begins a reference, and a literal less-than sign is forbidden inside an attribute value.
What to inspect
- Examine the quoted value at the trace location instead of scanning the whole manifest for a missing closing quote.
- Escape XML-reserved data and check numeric character references used inside the literal for a legal character value.
- Compare generated manifests before and after packaging because build or merge tools can inject bytes that the source template did not contain.
Use the SxS trace file to identify the manifest and line, then validate that exact quoted value as XML; changing the dependency version will not repair an invalid literal.
References
- Microsoft: System Error Codes 12000-15999
- Microsoft: Side-by-Side manifest files reference
- Microsoft: sxstrace
- W3C: XML 1.0
Looking for a different code? Search another status or error code.
