Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
encoding/xml: Unmarshal improper behavior with non-string types and empty tags #21503
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
changed the title
XML Unmarshal improper behavior with non-string types and empty tags
Aug 17, 2017
I think I'm just using outdated versions of Go then. I checked the git commit you posted and it looks like it was intended for Go 1.9. I'm using 1.8 on both my Mac and Windows machines and it's equally broken in both places.
I circumvented the issue by creating a quick little
I know the issue is closed but could the docs be updated until the stable release is 1.9?
It'd be useful if the docs also contained that information for the sake of legacy code. How about something like this,
go1.9 should be released in a few days, so I don't think it's worth it.
Also updating the go1.8 website would require the release of a new minor (1.8.4), and there's almost no chance of that happening, since the website will be re-deployed for go1.9 very soon (and this issue won't be there, since it was fixed for go1.9).