- From: Roland Merrick <roland_merrick@uk.ibm.com>
- Date: Tue, 28 Jan 2003 13:27:36 +0000
- To: www-forms@w3.org
- Cc: w3c-forms@w3.org
Received on Tuesday, 28 January 2003 08:27:54 UTC
Greetings, the working group have looked at a number of problems associated with the XForms Model Item Properties minOccurs and maxOccurs. The function provided is two fold: 1) a dynamic constraint on the number of items in a collection (in contrast to the static restriction supported by XML Schema) 2) the ability to constrain the number of items in a collection in XForms Basic (XForms Basic does not support XML Schema Structures which provides minOccurs and maxOccurs). The resolution is that we will not support XForms Model Item Properties minOccurs and maxOccurs. The functional requirements can be met by using the Model Item Property "constraint". E.g. <parent> <child /> </parent> <bind nodeset="parent/child" minOccurs="2" maxOccurs="5"/> would be achieved by: <bind nodeset="parent" constraint="count(child) >= 2 and count(child) <= 5)"/> Regards, Roland
Received on Tuesday, 28 January 2003 08:27:54 UTC