[go-nuts] Re: XML unmarshaller doesn't handle whitespace

2017-10-05 Thread Per Persson
Thanks for a good answer and a good suggestion of a solution! Perhaps I should take the question to the developers to have them either give a technical answer or discuss a change. Den måndag 2 oktober 2017 kl. 12:10:19 UTC+2 skrev Per Persson: > > Probably it's best to ask here befo

[go-nuts] XML unmarshaller doesn't handle whitespace

2017-10-02 Thread Per Persson
Probably it's best to ask here before I try to contact the Go developers. I had a file with space padded numbers (NumberOfPoints=" 266703") and the XML unmarshaller couldn't handle the spaces. Booleans are trimmed , so w

[go-nuts] XML unmarshaller cannot handle space padded numbers

2017-09-29 Thread Per Persson
I have some XML files with space padded numbers in some attributes (e.g. `NumberOfPoints=" 266703"`) and the unmarshaller can't handle the spaces. Booleans are trimmed before parsed , so why not numbers? I made a commit