- From: Rick Jelliffe <ricko@gate.sinica.edu.tw>
- Date: Tue, 11 May 1999 21:09:24 +0800
- 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
literals:
<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>
</bag>
<datatype name="holiday">
<enumeration>
<bag name="days" />
</enumeration>
</datatype>
<datatype name="working">
<enumeration>
<bag name="days" />
<enumeration>
</datatype>
<datatype name="tw-working">
<enumeration extends="working" >
<bag name="days" />
</enumeration>
</datatype>
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