Multiple instances

There seems to be a contradiction in the spec conserning multiple forms per
page.
Section 8.5 [1] says that there can be multiple <xform> - elements, each
having 'id'-attribute and single <instance> element. And this instance if
referred by UI controls with 'xform' attribute matching the xform 'id'.

But Appendix A [2] says, that xform element may contain multiple instances:

      <xsd:choice maxOccurs="unbounded">
        <xsd:element ref="model"/>
        <xsd:element ref="instance"/>
        <xsd:element ref="submit"/>
        <xsd:element ref="bind"/>
      </xsd:choice>

Which of these is right? I would suspect that the first one.

[1] http://www.w3.org/TR/xforms/binding.html#multiple
[2] http://www.w3.org/TR/xforms/a-schema.html

- Mikko Honkala - http://www.tml.hut.fi/

Received on Wednesday, 21 February 2001 07:46:09 UTC