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

RE: A note on <bind /> (similar to <group />)

From: Mark Birbeck <mark.birbeck@x-port.net>
Date: Thu, 5 Feb 2004 20:05:25 -0000
To: "'Subramanian Peruvemba (PV)'" <subramanian.peruvemba@oracle.com>
Cc: "'David Landwehr'" <dlandwehr@novell.com>, <www-forms@w3c.org>, <Leigh.Klotz@pahv.xerox.com>
Message-ID: <000001c3ec23$65651640$0d01a8c0@W100>

Hi PV,

> Couldn't the same thing could be done as
>
>    <bind nodeset="task">
>        <bind nodeset="." readonly="true()"/>
>        <bind nodeset="." relevant="true()"/>
>     </bind>

Yes it could be done that way - and I'm sure most people are currently
doing it that way. But I think Leigh's original question was to ask if
that was the *only* way to do. He suggested not, and I was agreeing with
him; when we implemented formsPlayer we drew exactly the same conclusion
from the schema as he did.

You could flip the whole thing round, and say that the spec currently
allows this:

    <bind />

and this:

    <bind nodeset="x">
      <bind>
        <bind readonly="true()" />
      </bind>
    </bind>

and all sorts of other permutations. So no-one is asking for something
extra from XForms - the schema already allows for all of this - the
question is rather, 'how should these be interpreted'.

I don't want to speak for Leigh here, but I think he raised it to say
'here is something that the spec allows, but since no-one has mentioned
it before, has it been consistently implemented?'.

Regards,

Mark
Received on Thursday, 5 February 2004 15:05:28 GMT

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