XForms datatypes

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 UTC