-
Notifications
You must be signed in to change notification settings - Fork 17.5k
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 non-space before the root element or after the end of the root element #68332
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
Comments
14 tasks
cagedmantis
added
the
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
label
Jul 9, 2024
cc @rsc |
Addressed in proposal #68299 |
This was referenced Jul 11, 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
1.22.5 (this is from
pkg.go.dev
)Output of
go env
in your module/workspace:What did you do?
https://go.dev/play/p/SJIiUJ7VZW5
What did you see happen?
encoding/xml
reports whitespace before and after the root element asxml.CharData
, but this is wrong: the XML is ill-formed because XML entities are not allowed in these locations.What did you expect to see?
An error indicating that the XML is ill-formed.
The text was updated successfully, but these errors were encountered: