W3C home > Mailing lists > Public > xmlschema-dev@w3.org > September 2001

Using xml:lang as an <attribute> name

From: <kboo@ca.ibm.com>
Date: Fri, 7 Sep 2001 12:39:08 -0400
To: xmlschema-dev@w3.org
Message-ID: <OF100FCD9B.1EC32D96-ON85256AC0.005AD6E0@torolab.ibm.com>
Consider the following:
   <attribute name="xml:lang" type="string"/>

The above would not be allowed because "xml:lang" is not a valid NCName,
but the xsv seems to think it is ok.
Also, is there any way that "xml:lang" or "xmlns" for that matter could be
used as an <attribute>'s name value?

- Ki
Received on Friday, 7 September 2001 12:39:10 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 22 July 2006 00:12:44 GMT