You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
If possible, include a link to a program on play.golang.org.
1. http://play.golang.org/p/iQ4OLccNYW
What is the expected output?
An error message on the first token, due to an attribute
c:missing-namespaces="yes"
defined without any namespace declaration for the prefix 'c'.
What do you see instead?
successful log output on each token parsed
Which compiler are you using (5g, 6g, 8g, gccgo)?
6g
Which operating system are you using?
darwin
Which version are you using? (run 'go version')
go version devel +6dad366e9f94 Mon Jun 03 16:44:35 2013 -0400 darwin/amd64
The text was updated successfully, but these errors were encountered:
If the name space is not known, then package xml records the prefix instead. This helps
when people are parsing xml fragments. Yes, it's not strictly okay, but it's also not
hurting anything to handle that case.
Then could the documentation be extended to indicate this? Right
the parser documentation simply states:
// Strict defaults to true, enforcing the requirements
// of the XML specification.
which certainly implies it will follow the spec.
by jim.robinson:
The text was updated successfully, but these errors were encountered: