XML namespace troubleshooting

Sitemap namespace errors

A well-formed XML document is not necessarily a sitemap. Its urlset or sitemapindex root must use the sitemap protocol namespace.

The required root namespace

For a URL sitemap, the root normally begins:

<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">

A sitemap index uses the same namespace on sitemapindex.

Check sitemap namespace

Why the namespace matters

Namespaces identify which vocabulary an XML element belongs to. A root with no namespace, a misspelled URI, or an unrelated default namespace can look right while representing a different document family.

Extension namespaces

Sitemaps may contain bounded elements from image, video, news, or XHTML extension namespaces. CorrectSitemap tolerates those extension elements so it can validate the core sitemap structure, but it does not certify their extension-specific schemas or semantics.

Working with other structured formats?

Check calendar files with CorrectICS, contact files with CorrectVCF, feeds with CorrectFeed, Content-Type values with CorrectMIME, or browse CorrectFormats.