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

aggregation data types

From: Michael McCaleb <mccaleb@eeel.nist.gov>
Date: Fri, 15 Dec 2000 17:01:01 -0500
Message-Id: <v02130500b66044955667@[129.6.185.17]>
To: www-xml-schema-comments@w3.org
Dear XML Schema editor,

Observation:
In doing a comparison between the EXPRESS data modeling language (ISO
10303-11) and XML Schema, I noticed that EXPRESS has four predefined
aggregation data types: array, list, set, and bag.

Arrays have a fixed length, order is important, and duplicate elements are
allowed.

Lists are variable length, order is important, and duplicate elements are
allowed.

Sets are variable in size, order is not important, and duplicate elements
are not allowed.

Bags are variable in size, order is not important, and duplicate elements
are allowed.

Question:
I suspect with XML schema it is possible to handle each of the above
aggregation data types. However, would it be beneficial to have predefined
types for this purpose? Or, would their addition obfuscate the
specification?


Sincerely,

Mike McCaleb
Received on Friday, 15 December 2000 17:00:05 GMT

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