in reply to Valid XML and XML::Simple
Where does w3c say that that is not valid XML? The XML spec in part says:
[4] NameChar ::= Letter | Digit | '.' | '-' | '_' | ':' | CombiningChar | Extender
[5] Name ::= (Letter | '_' | ':') (NameChar)*
and:
The Namespaces in XML Recommendation XML Names assigns a meaning to names containing colon characters. Therefore, authors should not use the colon in XML names except for namespace purposes, but XML processors must accept the colon as a name character.
which makes it pretty clear that colons not only are allowed, but must be accepted by XML processors.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Valid XML and XML::Simple
by mrguy123 (Hermit) on Oct 28, 2007 at 09:54 UTC | |
by erroneousBollock (Curate) on Oct 28, 2007 at 13:06 UTC | |
|
Re^2: Valid XML and XML::Simple
by mrguy123 (Hermit) on Oct 28, 2007 at 10:10 UTC |