Re: Easier way to define enumerations

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