| Previous | Next |
| ERROR_SXS_XML_E_UNCLOSEDSTRING | ERROR_SXS_XML_E_UNCLOSEDDECL |
ERROR_SXS_XML_E_UNCLOSEDCOMMENT
ERROR_SXS_XML_E_UNCLOSEDCOMMENT (0x000036EF) is a Windows Side-by-Side XML parser status for application, assembly, policy, or configuration manifest processing.
The parser found <!-- and remained in comment state because no --> terminator appeared. This is different from invalid comment syntax, where a comment can close but contains a forbidden internal -- sequence.
Parser boundary
XML comments have fixed opening and closing delimiters. A missing terminator can hide following manifest elements from the XML parser because their angle brackets are consumed as comment text.
What to inspect
- Trace backward from the failure to the most recent
<!--and confirm that a-->follows it. - Inspect template conditionals that emit the opening and closing comment markers in different branches.
- After closing the comment, validate the following manifest elements because they may never have been parsed in the failing file.
Use sxstrace to identify the actual manifest and first comment-related failure; the error can be reported near EOF even when the missing delimiter is much earlier.
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.