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: <4.2.0.58.J.20000521180453.031fa180@sh.w3.mag.keio.ac.jp>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 6 December 2009 18:12:47 GMT