Reference
The XML reference
91 entries across five sets, every example checked against the same parser the workspace runs — so a page that claims a document produces an error fails the build when it stops being true.
Document formats
15 formats
Root element, namespace URIs, media type, and the constraints that cause real failures — sitemaps, RSS, Atom, SOAP, XSD, WSDL and more.
For example XML sitemap
Namespaces
27 namespace URIs
Look up a namespace URI, its conventional prefix, the specification behind it, and the formats that declare it.
For example sitemaps.org 0.9
Parse errors
27 well-formedness errors
Keyed by the message your parser actually printed, and cross-referenced to how libxml2, Xerces, expat and .NET each word the same defect.
For example Premature end of data
Schema errors
8 validation errors
The failures that only appear once an XSD is applied — a document can be perfectly well-formed and still fail every one of these.
For example Element is not expected
Free tools
14 tools
Validate, explore and convert XML in the browser. They parse in memory, store nothing, and fetch nothing — no sign-in.
For example XML validator
How these pages are kept honest
Examples are parsed, not proofread
Every format example on this site is run through the real parser on each test run. If it stops being well-formed, or stops detecting as the format it claims, the build fails.
Error text is quoted, not paraphrased
Each error page states the message our own validator emits, and the test asserts the broken snippet still produces exactly that. A parser upgrade that reworded it breaks the test, not your afternoon.
Counts come from the data
The numbers above are read from the corpora at build time. Nothing on this page can claim more coverage than actually exists.
Everything here is free and needs no account. The validation API returns the same verdicts as JSON or SARIF.
Get started
Bring order to the XML your team can't afford to ignore.
Create a free account and get a private workspace to search, validate, diff, and monitor your XML feeds, sitemaps, schemas, and vendor integrations.