What does Windows error code 14058 (ERROR_SXS_XML_E_UNEXPECTEDEOF) mean?

 
Previous Next
ERROR_SXS_XML_E_MISSINGROOT ERROR_SXS_XML_E_BADPEREFINSUBSET

ERROR_SXS_XML_E_UNEXPECTEDEOF

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

Unexpected EOF is a parser-state result rather than a statement that the final byte itself is wrong. The file can end while an element, attribute value, comment, declaration, reference, or other construct is still incomplete.

Parser boundary

Many XML productions have explicit terminators, and the document production also requires a complete root element. Reaching physical EOF before the current production finishes leaves the parser without a legal completion path.

What to inspect

  • Check the file size and compare the manifest with a known-good build to rule out truncation during copy, extraction, or resource generation.
  • Work backward from EOF for an unmatched quote, tag, comment, CDATA section, or reference terminator.
  • Prefer any earlier, more specific SxS parser error in the trace because it can identify the construct that remained incomplete.

Capture the activation with sxstrace and inspect the first parser event for the named manifest; an EOF status alone does not identify which XML construct was left open.

References


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