Skip Menu |

This queue is for tickets about the Search-Sitemap CPAN distribution.

Report information
The Basics
Id: 49325
Status: new
Priority: 0/
Queue: Search-Sitemap

People
Owner: Nobody in particular
Requestors: mtmail-cpan [...] gmx.net
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 2.09
Fixed in: (no value)



Subject: sitemapindex doesn't validate against the schema file
Search:SiteMap::Index 2.09 creates a structure <siteindex url=".... <sitemap> <loc>...</loc> <lastmod>...</lastmod> </sitemap> </siteindex> Based on http://www.sitemaps.org/protocol.php#index and the XSD http://www.sitemaps.org/schemas/sitemap/0.9/siteindex.xsd the root tag should be 'sitemapindex' instead of 'sitemap'. Also in order to get the XML validation on http://www.validome.org/xml/validate/ passing I had to shuffle the namespace attributes around. The difference is that url= got removed, another URL got added to xsi:schemaLocation. <?xml version='1.0' encoding='UTF-8'?> <sitemapindex xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/siteindex.xsd" xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> <sitemap> ... marc tobias