Open DemiMarie opened 2 months ago
Related Issues
(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.)
@rsc
Please note this related comment https://github.com/golang/go/issues/68293#issuecomment-2207866996
Please note this related comment #68293 (comment)
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/TzV6Av9hMci
What did you see happen?
encoding/xml
accepted<a a="" a=""/>
, even though it has duplicatea
attributes and so is ill-formed.What did you expect to see?
encoding/xml
should reject<a a="" a=""/>
because it has duplicatea
attributes and so is ill-formed.