W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > April to June 1999

Missing from draft (Resend: previous incomplete)

From: Rick Jelliffe <ricko@gate.sinica.edu.tw>
Date: Tue, 11 May 1999 21:09:24 +0800
Message-ID: <009501be9baf$7dc50ac0$dd066d8c@sinica.edu.tw>
To: <www-xml-schema-comments@w3.org>
I am converting my XML-to-DDML converter to be an XML-to-XMLSchema
converter. So far it is pretty smooth going.

The draft is missing information (especially declarations in the appendixes)
on the following:

* ordered
* unordered
* boolean and so on

I have a suggestion for the enumerations.  It would be better to be able to
declare a bag of literals, and then assign enumeration properties to the

<bag name="days">
    <literal  enum="holiday">Sunday</literal>
    <literal  enum="working long-weekend-holiday">Monday</literal>
    <literal  enum="working">Tuesday</literal>
    <literal  enum="working">Wednesday</literal>
    <literal  enum="working">Thursday</literal>
    <literal  enum="working">Friday</literal>
    <literal  enum="us-holiday ">Saturday</literal>
    <literal  enum="tw-working">FirstSaturday</literal>
    <literal  enum="tw-holiday">SecondSaturday</literal>
<datatype name="holiday">
        <bag name="days" />
<datatype name="working">
         <bag name="days" />
<datatype name="tw-working">
     <enumeration extends="working" >
              <bag name="days" />

Whether it would be better to have "extends" or elements to do set
operations on datatypeRef elements I dont know.

Rick Jelliffe
Received on Tuesday, 11 May 1999 09:19:44 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:08:45 UTC