W3C home > Mailing lists > Public > www-forms@w3.org > July 2002

XForms datatypes

From: Sylvain VILLANI <villani@lirmm.fr>
Date: Tue, 23 Jul 2002 13:55:16 +0200
Message-ID: <3D3D4424.BC1CE80D@lirmm.fr>
To: www-forms@w3.org

Hi list,

I've got few questions concerning datatypes.
Perhaps certain answers are previously given in this list or in official
documents. For these one I excuse me and just ask you to indicate me the
source where I can get such information. 
Thank you.


--1st question:

After reading the XForms WD 1.0, I don't really see the interest of the
2 XForms datatypes and how to use it: listItem and listItems (5.2).
Is anyone can give an example of its utilization and then show the
interest of such datatype ?

--2nd question:

Are datatypes exist only to give a type to the datas, or a validation
must be done before the submission of the form ?
eg. for an input which expect an integer, is the xforms processor have
to check this constraint ?


--3rd question:

If yes, how the validation is performed for badly derived types ?
eg. a derived type defined by the union of a type which expect a
strictly-positive-value and a type which expect a
strictly-negative-value


--4th and last question:

For datatypes as date, is the control must show to the user a special
format (defined by pattern facet for example) ?
eg.  Birthday      ../../19..




Thanks for your help
Regards,
Sylvain (LIRMM, France)
Received on Tuesday, 23 July 2002 07:55:29 GMT

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