ERROR_SXS_XML_E_UNEXPECTED_WHITESPACE - 14042 (0x36DA)

Manifest Parse Error : Whitespace is not allowed at this location.

Updated: Feb 21, 2026

Technical Meaning

The error code ERROR_SXS_XML_E_UNEXPECTED_WHITESPACE indicates a manifest parse error specifically related to unexpected whitespace in XML content. This error is encountered during the processing of XML files, particularly those used for side-by-side assembly (SXS) manifests.

Error Details

  • Error Name: ERROR_SXS_XML_E_UNEXPECTED_WHITESPACE
  • Numeric Code: 14042
  • Hex Code: 0x36DA
  • Short Description: Manifest parse error due to unexpected whitespace in XML content.

Usage Context

This error typically occurs when the Windows operating system encounters an invalid XML structure while processing a manifest file. Manifest files are used for various purposes, including specifying dependencies and configuration settings for side-by-side assemblies.

Developer Interpretation

Developers should interpret this error as indicating that there is an issue with the whitespace in the XML content of a manifest file. This could be due to incorrect formatting or unexpected characters within the XML document. Developers are advised to validate the XML structure and ensure compliance with the expected format when dealing with manifest files.

Related Errors

  • ERROR_SXS_XML_E_MISSING_TOKEN (14039, 0x36D7): Indicates a missing token in an XML file.
  • ERROR_SXS_XML_E_UNCLOSED_TOKEN (14041, 0x36DB): Indicates an unclosed token in an XML file.

FAQ

Q: What does the error code 14042 mean?

A: The error code 14042 indicates a manifest parse error due to unexpected whitespace in XML content. This typically occurs during the processing of SXS manifests.

Q: How can I resolve this issue?

A: Validate and correct any issues with the whitespace in your XML manifest files. Ensure that the XML structure is compliant with the expected format for side-by-side assembly manifests.

Summary

The ERROR_SXS_XML_E_UNEXPECTED_WHITESPACE error code (14042, 0x36DA) signifies a manifest parse error due to unexpected whitespace in XML content. Developers should ensure that their XML files are correctly formatted and compliant with the expected structure when dealing with SXS manifests.