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 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 > <https://github.com/golang/go/blob/master/src/encoding/xml/read.go#L647>, > so why not numbers? > > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.