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.
In reply to Re: Valid XML and XML::Simple
by GrandFather
in thread Valid XML and XML::Simple
by mrguy123
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |