1
vote
Parsing "priority" fails on some locales

Description

Newtonsoft.Sitemaps.DLL!Newtonsoft.Sitemaps.SitemapWriter.WriteDouble(System.Xml.XmlWriter writer = {System.Xml.XmlTextWriter}, string propertyName = "priority", System.Web.SiteMapNode siteMapNode = {Home}) Line 278 + 0x8 bytes C#

On a server with russian regional settings the Convert.ToDouble will fail. InvariantCulture should be used as an additional IFormatProvider parameter.

File Attachments

No files are attached

Comments


Updating...
© 2006-2011 Microsoft | Get Help | Privacy Statement | Terms of Use | Code of Conduct | Advertise With Us | Version 2011.2.28.17672