-
Notifications
You must be signed in to change notification settings - Fork 17.7k
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
encoding/xml: does not reject duplicate attribute names #68295
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
Comments
This was referenced Jul 4, 2024
cagedmantis
added
the
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
label
Jul 8, 2024
Please note this related comment #68293 (comment) |
#68299 is that proposal |
This was referenced Jul 9, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
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.The text was updated successfully, but these errors were encountered: