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

Re: List and union varieties

From: Jing Wu <jing@research.canon.com.au>
Date: Wed, 31 Jan 2001 14:48:13 +1100
Message-ID: <3A778AFD.534893EC@research.canon.com.au>
To: Michael Anderson <michael@research.canon.com.au>, xmlschema-dev@w3.org
Hi all,

http://www.w3.org/TR/xmlschema-2/#derivation-by-list says
A list datatype must be derived from an atomic or a list datatype, known as
the itemType of the list datatype.

It is inconsistent with followings.


Michael Anderson wrote:

> 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 22:48:21 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:14:49 UTC