| Previous | Next |
| NS_E_WMPXML_ENDOFDATA | NS_E_WMPXML_ATTRIBUTENOTFOUND |
NS_E_WMPXML_PARSEERROR
The exact condition behind the dialog
Windows Media Player reports NS_E_WMPXML_PARSEERROR (0xC00D0FB6) when the XML parser rejected the supplied document but exposed no more specific WMP parser result. The XML parser parse error condition is owned by the parser that reads skin, playlist or configuration XML and exposes named attributes, processing instructions and parse diagnostics to the Player.
An additional test is to capture the exact bytes, encoding and any lower-level line/column diagnostic; that evidence is more useful than reinstalling the Player or changing several unrelated settings at once.
Investigation order
- Start with the symbolic HRESULT; do not diagnose XML parser parse error from the final dialog alone.
- Use this deciding observation for this condition: capture the exact bytes, encoding and any lower-level line/column diagnostic.
- Apply the smallest supported remedy for this condition: repair the first well-formedness error and parse the unchanged remainder again.
The surrounding WMP state
For this condition, an XML document can be well-formed yet still fail the Windows Media schema or object-model rules expected by the caller. A second relevant constraint is that parser position, source encoding and the exact bytes supplied to the final parse call are more useful than a generic “bad XML” dialog.
Representative case: A malformed entity or mismatched end tag prevents the skin or playlist document from being constructed.
Inputs that distinguish the causes
| Field | What to record |
|---|---|
| What to verify | Capture the exact bytes, encoding and any lower-level line/column diagnostic |
| Artifact identity | Line/column or byte offset from any lower-level parser diagnostic for this reproduction |
| Runtime state | Source URL or archive member and a hash of the exact XML bytes for this reproduction |
| Owning object | Encoding declaration, byte-order mark and parser input length for this reproduction |
| Lower-level result | Last successful element, attribute or processing-instruction lookup for this reproduction |
| Correlation | Parser state when GetParseError, persist or lookup was called for this reproduction |
Do not confuse it with nearby results
| Result | Different condition |
|---|---|
NS_E_WMPXML_ATTRIBUTENOTFOUND | The requested named attribute or attribute index is absent on the current element |
NS_E_WMPXML_ENDOFDATA | The XML input ended while the parser still required bytes to complete a construct |
NS_E_WMPXML_NOERROR | The caller requested parse-error details when the parser had no stored error |
Verification after correction
What a real fix must change
The targeted correction for this condition is to repair the first well-formedness error and parse the unchanged remainder again. Keep the original failing input until the same operation succeeds after one controlled change.
- Avoid rewriting the XML before preserving the failing bytes and parser position; it can destroy the artifact or state needed to explain this result.
- Avoid treating a missing optional node as proof that the whole document is malformed; that can replace the original HRESULT with a secondary failure from another layer.
Technical references
- Windows Media Player SDK — documentation for this HRESULT.
- Skin definition XML structure — normative or platform material relevant to this HRESULT.
- Windows Media metafile reference — API or format context.
- XML 1.0 specification
Looking for a different code? Search another status or error code.