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

List and union varieties

From: Michael Anderson <michael@research.canon.com.au>
Date: Tue, 30 Jan 2001 17:40:45 +1100
Message-ID: <3A7661ED.3CF12466@research.canon.com.au>
To: "xmlschema-dev@w3.org" <xmlschema-dev@w3.org>
Hi all,
I was wondering if a simple type can be a list of a simple type that has
a variety of union.  The specifications seem inconsistent.

http://www.w3.org/TR/xmlschema-1/#cos-st-restricts says
If the variety is list:
2.1 The item type definition must have a variety of atomic or union ....

while http://www.w3.org/TR/xmlschema-2/#atomic-vs-list says
[ Definition:] List datatypes are those having values each of which
consists of a finite-length sequence of values of an atomic datatype.

cheers,
mick.

ps. The [ Definition: ] has a typo - "which" is written twice.
Received on Tuesday, 30 January 2001 01:40:52 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:19 GMT