encoding/xml: Unmarshal improper behavior with non-string types and empty tags #21503
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
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: