Skip to main content
XMLDir

Search 311 pages — tools, formats, elements, namespaces, directory, comparisons, XPath, datatypes, glossary, parse errors, schema errors, use cases, blog and product.

XML sitemap

What goes wrong in XML sitemap

The 17 errors this corpus records against XML sitemap documents, keyed by the message your parser printed. Nothing here is written for this page — each error declares the formats it bites, and this is that declaration read the other way round.

Start with the message you were given

Every entry below states the message our validator emits, verbatim, and a test asserts it still does. If you are holding a broken document rather than a question, Sitemap validator will tell you which of these you have.

Parse errors · 17

These stop the document being read at all. Nothing downstream sees a file with one of them, because it is not XML.

Back to XML sitemap — root element, namespaces, constraints and a worked example.

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.