Bug reports Found a bug? Post it here please.
Version 4.x > Bug reports > Google Sitemap - Errors View modes: 
User avatar
Member
Member
BruceFan - 4/27/2009 6:56:33 AM
   
Google Sitemap - Errors
I recently submitted the sitemap found at ~/cmspages/Googlesitemap.aspx to Google's Webmaster tools only to find that it contains errors:
Google Webmasters - Sitemap error

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 4/28/2009 8:01:12 AM
   
RE:Google Sitemap - Errors
Hi,

Could you please find out more about the errors? This page is working fine for me and also for other our customers. Could you please check the path added in the google web master tools?

Best Regards,
Juraj Ondrus

User avatar
Member
Member
Erik@amplifystudios.com - 12/1/2010 12:10:09 PM
   
RE:Google Sitemap - Errors
Resurrecting this... I just submitted a SiteMap generated by the Kentico GoogleSiteMap.aspx page to Bing Webmaster Tools, and it complained with this error:

HTTP code: 200
Severity: Error Line: 2 Position: 63 Message: The attribute 'http://www.w3.org/2001/XMLSchema-instance:schemalocation' does not match one of the four allowed attributes in the 'xsi' namespace.

I see this same error when I load the XML file in Visual Studio. It's complaining about the "xmlset" declaration:

<urlset 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/sitemap.xsd"
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">

I know this markup is fine, since the SiteMaps specification mentions it specifically here:

http://sitemaps.org/protocol.php#xmlTagDefinitions

If both Bing and Google (and Visual Studio) are complaining, there must be something wrong. Just not sure what yet. Ideas?

Erik

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 12/2/2010 4:55:49 AM
   
RE:Google Sitemap - Errors
Hi,

The only issue I found so far is that in the xsi:schemalocation should be capital L - xsi:schemaLocation.

You can edit it in /CMSPages/GoogleSiteMap.aspx file within your web project.

Best regards,
Juraj Ondrus

User avatar
Member
Member
Erik@amplifystudios.com - 12/2/2010 8:38:55 AM
   
RE:Google Sitemap - Errors
That was the problem - I capitalized the "L" in schemaLocation and resubmitted to Bing, and the error went away. Visual Studio also no longer complains. I also tested an upload to Google and it does not seem to complain, either.

So is this possibly a bug with GoogleSiteMap.aspx? I don't yet have a 5.5 install I can test with, but the lowercase L is output from the 5.0 version.

Erik

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 12/6/2010 3:37:29 AM
   
RE:Google Sitemap - Errors
Hi,

Yes, regrettably this is a bug which was already fixed for new version and also for today's hotfix for version 5.5.

Best regards,
Juraj Ondrus