W3C home > Mailing lists > Public > www-forms@w3.org > February 2001

Multiple instances

From: Mikko Honkala <Mikko.Honkala@iki.fi>
Date: Wed, 21 Feb 2001 14:47:05 +0200
To: <www-forms@w3c.org>
Message-ID: <NEBBLFNPALLNPJFJCOIEGEOMCAAA.Mikko.Honkala@iki.fi>
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 GMT

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