- From: Leigh L Klotz Jr <leigh.klotz@xerox.com>
- Date: Wed, 18 Apr 2012 10:07:49 -0700
- To: public-xformsusers@w3.org
- CC: "Klotz, Leigh" <Leigh.Klotz@xerox.com>
In http://www.w3.org/MarkUp/Forms/wiki/XForms-nons-20.rnc
definition xforms.model.content:
Change
xforms.model.content =
xforms.instance*
& xforms.schema*
& xforms.submission*
& xforms.bind*
& xforms.Actions*
& xforms.Extension?
to
xforms.model.content =
(xforms.instance
| xforms.schema
| xforms.submission
| xforms.bind
| xforms.Actions
| xforms.Extension)*
The existing definition allows the elements to be in any order, but
requires all the elements of the same name to be together.
The new definition has three advantages:
1. It allows intermixing of elements (e.g., instance, schema, bind,
instance, schema, bind)
2. It is faster to validate, avoiding the use of a long "&" chain.
3. It allows any number of xf:extension elements, not just one.
I didn't see any prose in the recommendation limiting the number of
extension elements in the model.
Leigh.
Received on Wednesday, 18 April 2012 17:08:34 UTC