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
Download (untitled) / with headers
text/plain 892b
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


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.