Re: Using xml:lang as an <attribute> name

kboo@ca.ibm.com writes:

> 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.

Bug in XSV -- it should reject QNames as the names of anything.

> Also, is there any way that "xml:lang" or "xmlns" for that matter could be
> used as an <attribute>'s name value?

No, both of those are ruled out by the REC.

ht
-- 
  Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
          W3C Fellow 1999--2001, part-time member of W3C Team
     2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
	    Fax: (44) 131 650-4587, e-mail: ht@cogsci.ed.ac.uk
		     URL: http://www.ltg.ed.ac.uk/~ht/

Received on Monday, 10 September 2001 09:39:08 UTC