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

Re: List and union varieties

From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
Date: 02 Feb 2001 12:25:14 +0000
To: Michael Anderson <michael@research.canon.com.au>
Cc: "xmlschema-dev@w3.org" <xmlschema-dev@w3.org>
Message-ID: <f5bn1c56zmd.fsf@cogsci.ed.ac.uk>
Michael Anderson <michael@research.canon.com.au> writes:

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

The _values_ must be atomic, but that atomicity may be acquired via a
union type, provided the union's members are also atomic, if you see
what I mean.

  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 Friday, 2 February 2001 07:25:17 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:55:50 UTC