W3C home > Mailing lists > Public > www-forms@w3.org > September 2000

<UNION>, why?

From: Goetz Bock <bock@blacknet.de>
Date: Tue, 19 Sep 2000 02:29:54 +0200
To: www-forms@w3.org
Message-ID: <20000919022954.A23081@titan.blacknet.de>
Hi,

while I know the XForm Data Model draft I revere to is outdated,
I'd still like to know what <union> is intended for.

IMHO it mixes UserInterface stuff, into the data model:

<union name="weekday">
  <string range="closed">
    <value>Monday</value>
    <value>Tuesday</value>
    <value>Wednesday</value>
    <value>Thursday</value>
    <value>Friday</value>
    <value>Saturday</value>
    <value>Sunday</value>
  </string>
  <number min="1" max="7" integer="true"/>
</union>

In the database where i store me xml data in, i definitely do not want
to have one record with <weekday>1</weekday> and another with
<weekday>Monday</weekday>. And I don't se why anybody would like to.

So, what is <union> intended for?

Cu,
    Goetz.
Received on Monday, 18 September 2000 20:30:58 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 10 March 2012 06:21:48 GMT