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

Re: Semantics of a list datatype derived from another list

From: Eddie Robertsson <eddie@allette.com.au>
Date: Tue, 13 Mar 2001 17:03:50 +1100
Message-ID: <3AADB845.A837310@allette.com.au>
To: Walt Yao <Walt.Yao@cl.cam.ac.uk>
CC: xmlschema-dev@w3.org


Walt Yao wrote:

> I am implementing a Schema parser w.r.t the 24/10/2000 version, and I run
> into a problem with the definition of a list datatype.  As specified in 5.1.2,
> "a list datatype must be derived from an atomic or a list datatype, know as the
> itemType of the list...".

There seem to be an ambiguity here between the Primer and XML Schema Part 2:
Datatypes. In the primer it says (2.3.1 List Types):

"In addition to using the built-in list types, you can create new list types by
derivation from existing atomic types. (You cannot create list types from existing
list types, nor from complex types.)"

So, which is correct? Can a list datatype be derived from both atomic and list
datatypes or only from atomic datatypes?

Cheers,
/Eddie
Received on Tuesday, 13 March 2001 01:02:55 GMT

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