ERROR_SXS_XML_E_BADCHARDATA - 14036 (0x36D4)

Manifest Parse Error : An Invalid character was found in text content.

Updated: Feb 21, 2026

Technical Background

The ERROR_SXS_XML_E_BADCHARDATA error is a specific error code that indicates an issue during the parsing of XML content within the Windows Side-by-Side assembly (SXS) manifest. This error typically arises when invalid characters are encountered in text content, which can disrupt the proper functioning of applications or services relying on these manifests.

Error Details

The numeric value 14036 and its hexadecimal representation 0x36D4 uniquely identify this error within the Windows API framework. The short description provided is: 'Manifest Parse Error: An Invalid character was found in text content.' This indicates that during the parsing of an XML manifest, a character that does not conform to expected standards or formats has been detected.

Common Causes

Common causes for this error include:

  • Invalid Character Usage: The presence of non-standard characters within the text content of the XML manifest.
  • Incorrect Manifest Structure: A malformed XML structure that includes invalid characters in places where they are not allowed.
  • Corrupted Data: Damage or corruption to the XML data, leading to unexpected characters being present during parsing.

Real-World Context

This error can occur when an application attempts to load a manifest file that contains improperly formatted text. Manifest files are crucial for specifying dependencies and other metadata required by applications, so any issues in these files can lead to runtime errors or failures.

Is This Error Critical?

The criticality of this error depends on the context in which it occurs. If an application relies heavily on a manifest file that is corrupted or improperly formatted, the failure could result in the application not starting correctly or behaving unpredictably. However, if the manifest is optional or used for less critical operations, the impact may be minimal.

How to Diagnose

To diagnose this error, follow these steps:

  1. Review Operation Context: Ensure that the operation context is correct and that the application is attempting to load a valid manifest file.
  2. Validate Parameters: Check the parameters passed to functions or methods that handle manifest files for any anomalies or invalid inputs.
  3. Confirm Object Types: Verify that the object types being manipulated are consistent with expected XML structures, particularly in text content areas.
  4. Verify Input Data: Inspect the actual data within the manifest file for any unexpected characters or structural issues.
  5. Check Limits or Constraints: Ensure that there are no limits or constraints imposed by the system or application that could be causing this error.

How to Resolve

To resolve this issue, consider these practical steps:

  • Correct Parameter Usage: Ensure all parameters passed to manifest-related functions are valid and correctly formatted.
  • Adjust Operation Context: If the operation context is incorrect, adjust it to ensure compatibility with expected XML structures.
  • Restore Data: If data corruption is suspected, restore or re-create the manifest file from a known good source.
  • Retry Operation with Valid Inputs: Attempt to reload the manifest using valid inputs and verify that the issue persists.

Developer Notes

Developers should be cautious when handling XML manifests and ensure that all text content adheres to standard character encoding and formatting rules. Regular validation of input data can help prevent such errors from occurring.

Related Errors

  • ERROR_SXS_XML_E_MALFORMED: Indicates a more general issue with the structure of an XML manifest.
  • ERROR_SXS_XML_E_MISSINGASSEMBLY: Occurs when an assembly referenced in the manifest is missing.

FAQ

Q: What does the ERROR_SXS_XML_E_BADCHARDATA error mean?

A: This error indicates that an invalid character was found during the parsing of XML content within a Windows Side-by-Side (SXS) manifest. It typically arises when text content in the manifest contains characters not conforming to expected standards.

Q: How can I prevent this error from occurring?

A: Ensure all input data is properly validated and formatted according to standard XML rules, particularly for text content within manifests.

Q: Can this error be critical?

A: The criticality depends on the application's reliance on the manifest. If the manifest is essential for the application to function correctly, then this error can be critical.

Summary

The ERROR_SXS_XML_E_BADCHARDATA error signifies a problem with an XML manifest during parsing due to invalid characters in text content. This issue can impact applications that rely on manifests and should be addressed by validating input data and ensuring compliance with XML standards.