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

More on QName expansion

From: James Clark <jjc@jclark.com>
Date: Thu, 11 Jan 2001 10:30:04 +0700
Message-ID: <3A5D28BC.E973F38F@jclark.com>
To: XML Schema Comments <www-xml-schema-comments@w3.org>
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

James
Received on Wednesday, 10 January 2001 22:38:19 GMT

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