Sorry, but the parser is right.

>From http://www.w3.org/TR/REC-xml:
            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.

If you look at the grammar, "XML names" includes attribute names. If you
look at the namespace spec (http://www.w3.org/TR/REC-xml-names/), it says
"XML namespaces provide a simple method for qualifying element and
attribute names used in Extensible Markup Language documents by associating
them with namespaces identified by URI references." and it does explicitly
address this.

If you really must use colons in ways that are not compatable with
namespaces, then you must use a pre-namespaces parser. I believe Xerces may
be able to operate in that mode if you set the right features. But I would
instead STRONGLY recommend that you instead fix your document.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to