| 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 value this result; do not diagnose XML parser parse error from the final dialog alone.
- Record the bytes or object state that produced this condition before automatic recovery mutates it.
- Exclude a stale callback or superseded object generation as the source of this event.
- 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. The example isolates only the producing component.
Inputs that distinguish the causes
Preserve the first occurrence before retry or fallback changes the evidence. Capture one consistent object generation:
| Field | What to record |
|---|---|
| Decisive check | 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 |
Log paths, hashes, IDs, offsets, and HRESULTs. Exclude secrets and unrelated content from logs.
Do not confuse it with nearby results
| Result | Different boundary |
|---|---|
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 |
If this result is followed by a broader “cannot play,” “cannot load,” or “operation failed” result, preserve the earlier event. A later wrapper error may be secondary.
Verification after correction
After correction, create a fresh Player, control, parser or playlist object and rerun the smallest reproducer for it. Verify the resulting resource, list membership, saved file, library object or play state.
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.
Code-specific operational note
Use this result, 0xC00D0FB6 and the symbolic phrase in traces. Correlate search keys with API and object.
Technical references
- Windows Media Player SDK — documentation used to identify the producing boundary of it.
- Skin definition XML structure — normative or platform material relevant to it.
- Windows Media metafile reference — API or format context for it.
- XML 1.0 specification It.
Looking for a different code? Search another status or error code.