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.

comments