Bug fixes

I fixed the xml provider error you found, and a couple of issues around cultures and parsing of numbers and dates