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

Re: Easier way to define enumerations

From: <petsa@us.ibm.com>
Date: Wed, 24 May 2000 09:28:43 -0400
To: "Martin J. Duerst" <duerst@w3.org>
cc: www-xml-schema-comments@w3.org
Message-ID: <852568E9.004A0730.00@D51MTA03.pok.ibm.com>
Yes, now that we have lists this seems reasonable.  We'll put it to the WG.

All the best, Ashok


"Martin J. Duerst" <duerst@w3.org>@w3.org on 05/21/2000 05:10:53 AM

Sent by:  www-xml-schema-comments-request@w3.org


To:   www-xml-schema-comments@w3.org
cc:
Subject:  Easier way to define enumerations



This is a last call comment to XML Schema Structures.

It should be possible to write

<xsd:enumeration value='AK AL AR...' />

instead of

<xsd:enumeration value='AK' />
<xsd:enumeration value='AL' />
<xsd:enumeration value='AR' />
...

[the example is from sect 2.3 of the Primer]

to get a more reasonable and compat notation, in particular
for cases where the number of enumerated items is large.


Regards,   Martin.
Received on Wednesday, 24 May 2000 09:29:08 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:49:52 UTC