On Thu, Oct 05, 2017 at 12:48:53AM -0700, Per Persson wrote: > > 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?
> Thanks for a good answer and a good suggestion of a solution! You're welcome! > Perhaps I should take the question to the developers to have them either > give a technical answer or discuss a change. I'd recommend to just file a bug over there in the issue tracker and solicit a discussion on the matter. 1. https://github.com/golang/go/issues -- 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.