MindTouch/DReAM — pull request #49 by vdaron (2012-01-19 13:11:23+00:00)
Title: Non US Culture management with decimal and double

Hi

Here is a patch that fix problem of decimal character separator in XDoc.Attr XDoc.Elem and Plug.With

Example :

XDoc.Attr("test",2.4) will output different results depending on the current locale

En-US : test="2.4"
FR-fr : test="2,4"

The XDoc.AsDouble method always expect an invariant encoding (2.4). 2,4 is therefore converted into 24 under FR locale.

I've added some Unit Tests

Thanks !

Vincent