Re: List and union varieties

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.

Jing


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