-
Notifications
You must be signed in to change notification settings - Fork 18.1k
encoding/xml: Unmarshal improper behavior with non-string types and empty tags #21503
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
This was fixed by 0a0186f, I think. @LeonineKing1199 Could you confirm that? |
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 |
go1.9rc2 output is Closing this issue, since there's noting more to do. |
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). |
Uh oh!
There was an error while loading. Please reload this page.
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?What operating system and processor architecture are you using (
go env
)?What did you do?
https://play.golang.org/p/3y8tab_Ipn
If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
A link on play.golang.org is best.
What did you expect to see?
I expected that
Value
would default tofalse
(the zero value for the type)What did you see instead?
I received a parsing error
The text was updated successfully, but these errors were encountered: