| Previous | Next |
| ERROR_SXS_XML_E_MULTIPLEROOTS | ERROR_SXS_XML_E_BADXMLDECL |
ERROR_SXS_XML_E_INVALIDATROOTLEVEL
ERROR_SXS_XML_E_INVALIDATROOTLEVEL (0x000036E7) is a Windows Side-by-Side XML parser status for application, assembly, policy, or configuration manifest processing.
XML permits one document element and only limited miscellaneous material outside it. Character data, a second structural construct, or misplaced declaration content at the top level can therefore fail before the Side-by-Side manifest schema is considered.
Parser boundary
The XML document production is a prolog, one element, and trailing miscellaneous content. The Misc production covers comments, processing instructions, and whitespace; arbitrary text beside the root element is not allowed.
What to inspect
- Inspect bytes before the opening root element and after its closing tag for accidental text emitted by a build script.
- Check whether two manifest fragments were concatenated without creating one legal enclosing document element.
- Remove diagnostic banners, byte dumps, or template output that was written directly into the XML file outside markup.
The first parse location from sxstrace tells whether the invalid top-level material precedes or follows the manifest root; fix that structure before checking SxS schema fields.
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.