encoding/xml: does not require whitespace before processing instruction value #68386
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/rzV-FdleVIV
What did you see happen?
<?a/b?><a/>
is parsed successfully.What did you expect to see?
Error because
<?a/b?>
is not a well-formed processing instruction. There must be whitespace between the processing instruction target and value.The text was updated successfully, but these errors were encountered: