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

Re: Semantics of a list datatype derived from another list

From: Morris Matsa <mmatsa@us.ibm.com>
Date: Mon, 12 Mar 2001 13:44:03 -0500
To: Walt Yao <Walt.Yao@cl.cam.ac.uk>
Cc: xmlschema-dev@w3.org
Message-ID: <OF1CFF2641.7177610B-ON85256A0D.00668F87@somers.hqregion.ibm.com>


It might be a typo.  This is the last message that I remember receiving on
the topic:
http://lists.w3.org/Archives/Public/xmlschema-dev/2001Feb/0018.html


Walt Yao <Walt.Yao@cl.cam.ac.uk>@w3.org on 03/12/2001 01:18:03 PM

Sent by:  xmlschema-dev-request@w3.org


To:   xmlschema-dev@w3.org
cc:   Walt.Yao@cl.cam.ac.uk
Subject:  Semantics of a list datatype derived from another list



Hi,

I am new to the list.  I've been looking through the archive but didn't
find
anything on this topic.  Please accept my apology if this has been
discussed
before.

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...".  Does this means that the value for the attribute
"itemType"
can be
a list type?  If so, what is the semantics of the derived list?  For
example,
consider
the following definitions,

    <simpleType name='listOfFloat'>
        <list itemType='float'/>
    </simpleType>

    <simpleType name='listOfListOfFloat'>
       <list itemType='listOfFloat'/>
    </simpleType>

Does this imply the 'real' itemType of listOfListOfFloat is in fact
'float',
i.e. it's just
identical to listOfFloat?  Or is the datatype listOfListOfFloat is simply
not
a valid type?

Please help clarify.  Any suggestions are greatly appreciated.


Walt
Received on Monday, 12 March 2001 13:47:22 GMT

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