encoding/xml: does not reject colons in processing instruction targets #68393
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Go version
1.22
Output of
go env
in your module/workspace:What did you do?
Ran this Go code:
What did you see happen?
No error?
output, indicating that unmarshalling was successful.What did you expect to see?
An error because processing instruction targets cannot contain colons in a namespace-well-formed document.
The text was updated successfully, but these errors were encountered: