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

Re: Correct behavior when @nodeset does not identify anything?

From: Roland Merrick <roland_merrick@uk.ibm.com>
Date: Fri, 11 Jun 2004 20:18:07 +0100
To: "Thompson, Bryan B." <BRYAN.B.THOMPSON@saic.com>
Cc: "'thompsonbry@saic.com'" <thompsonbry@saic.com>, "'www-forms@w3.org'" <www-forms@w3.org>, www-forms-request@w3.org
Message-ID: <OFEE9D485B.C5A97E69-ON80256EB0.0068BF27-80256EB0.0069D5AB@uk.ibm.com>
Greetings, while the nodeset on a bind element may not identify any 
elements this situation may not prevail over the lifetime of a form. 

So while it may be the case that during initial xforms-model-construct 
processing no nodes may be resolved that match a nodeset subsequent 
insertion of a node may mean that when the binding is next applied a node 
is resolved. The requirement to rebuild after insert processing is 
described in: http://www.w3.org/TR/xforms/slice9.html#action-insert

Regards, Roland




"Thompson, Bryan B." <BRYAN.B.THOMPSON@saic.com> 
Sent by: www-forms-request@w3.org
11/06/2004 19:26

To
"'www-forms@w3.org'" <www-forms@w3.org>
cc
"'thompsonbry@saic.com'" <thompsonbry@saic.com>
Subject
Correct behavior when @nodeset does not identify anything?







Hello,

I have been reading the XForms 1.0 Recommendation trying to answer the
following question:

   What is the correct behavior when an @nodeset on a <bind/> does
   not identify any XML Information Items for the associated XML
   instance data?

Is an empty nodeset bound or should this generate an
xforms-binding-exception?

And where is this spelled out in the specification or is this just
common knowledge?

Thanks,

-bryan
Received on Friday, 11 June 2004 15:25:07 GMT

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