Sitemap Error in Bing Webmaster Tools

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
13 years ago
I'm trying to submit my sitemap as generated at "www.mydomain.com/SiteMap.aspx", the code runs fine but here is the error I'm getting from "Bing" webmaster tools:

HTTP code: 200
Severity: Error Line: 5 Position: 25 Message: The 'http://www.sitemaps.org/schemas/sitemap/0.9:changefreq' element is invalid - The value 'Weekly' is invalid according to its datatype 'http://www.sitemaps.org/schemas/sitemap/0.9:tChangeFreq' - The Enumeration constraint failed.
Severity: Error Line: 10 Position: 25 Message: The 'http://www.sitemaps.org/schemas/sitemap/0.9:changefreq' element is invalid - The value 'Weekly' is invalid according to its datatype 'http://www.sitemaps.org/schemas/sitemap/0.9:tChangeFreq' - The Enumeration constraint failed.


Bing doesn't like the "Weekly" update, anyone have some quick advice on how to fix this, Google Webmaster tools reads the Sitemap in without error.
13 years ago
Deleted
13 years ago
steveeb wrote:
Deleted


I don't follow.
13 years ago
I was going to say that you have to submit SiteMapSEO.aspx and not SiteMap.aspx, until I submitted SiteMapSEO.aspx and got the same error you did.  So I deleted that message.

I messed around with it a bit.  The only way I could get it to work was to go to MYOMAIN/SiteMapSEO.aspx and copy/paste the XML into a text document.  I then removed the changefreq lines and the "- " preceeding the <url> tag line.  Far from a solution, but Bing accepted the results.
13 years ago
SitemapSEO.aspx returns the same error.
13 years ago
good plan. I'll give that a shot when I get around too it.
13 years ago
Any updated in this?
I get the same error with nopCommerce 1.8

Could it be that Bing is case sensitive? The SitemapSeo.aspx returns the change frequency with an upper case "Weekly" but in the sitemap.xsd from sitemaps.org the definition is "weekly" with a lower case,
13 years ago
markus507 wrote:
Any updated in this?
I get the same error with nopCommerce 1.8

Could it be that Bing is case sensitive? The SitemapSeo.aspx returns the change frequency with an upper case "Weekly" but in the sitemap.xsd from sitemaps.org the definition is "weekly" with a lower case,


I'm thinking you might be on the right track, I'm examining an XML Sitemap generated from a Wordpress plugin that I successfully submitted to BING last night, and "weekly" is indeed lowercase.

Just need the nop-Parameter if this setting is database driven or to look in the generator (I don't have a locally cached version of my store right now) -- but I'll give it a shot unless you want too
13 years ago
Yes it works. I've changed the value to be lowercase and now Bing accpets the sitemap.
Unfortunately this is not configurable in the database. I need to change to code.
13 years ago
BaseSitemapGenerator.cs - just add the ToLower() as below

_writer.WriteElementString("changefreq", updateFrequency.ToString().ToLower());


i checked the specification and it does indeed show lowercase names for the enumeration.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.