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

Easier way to define enumerations

From: Martin J. Duerst <duerst@w3.org>
Date: Sun, 21 May 2000 18:10:53 +0900
Message-Id: <>
To: www-xml-schema-comments@w3.org
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 Sunday, 21 May 2000 08:44:00 UTC

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