W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > January to March 2001

Re: More on QName expansion

From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
Date: 11 Jan 2001 08:55:35 +0000
To: James Clark <jjc@jclark.com>
Cc: XML Schema Comments <www-xml-schema-comments@w3.org>
Message-ID: <f5b4rz6ead4.fsf@cogsci.ed.ac.uk>
James Clark <jjc@jclark.com> writes:

> It occurred to me that an XSLT-like QName datatype which doesn't apply
> the default namespace to unprefixed values (ie treats them like
> attribute names rather than element names) can be simulated in XML
> Schemas by a union of
> 
> - NCName, and
> - a restriction of QName using the pattern facet to require a colon

Cool!

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 Thursday, 11 January 2001 08:41:51 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 6 December 2009 18:12:49 GMT