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

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 UTC