encoding/xml: does not reject multiple attributes with the same namespace URL and local part #68297
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
Go version
go version go1.21.11 linux/amd64
Output of
go env
in your module/workspace:What did you do?
https://go.dev/play/p/DvhR-1kQ5AR
What did you see happen?
encoding/xml
accepts the following ill-formed XML:What did you expect to see?
encoding/xml
should reject this XML whenDecoder.Token
is used, but accept it whenDecoder.RawToken
is used.The text was updated successfully, but these errors were encountered: