W3C home > Mailing lists > Public > www-forms-editor@w3.org > January 2006

Question about precedence in calculate

From: David Landwehr <david.landwehr@solidapp.com>
Date: Thu, 19 Jan 2006 12:06:19 +0100
Message-ID: <43CF72AB.40502@solidapp.com>
To: www-forms-editor@w3.org
Dear Working Group,

I have a question about what happens when two calculates apply to the 
same value. We apply one calculate to an element and another calculate 
to the first textnode of the element hence from the rule 'writing 
simpleContent' both calculates operates on the same value. This is legal 
in XForms as it states 'If the node already contains a model item 
property of the same name, XForms processing for this containing 
document halts with an exception (4.5.1 The xforms-binding-exception 
Event)'. And the text and element node are two different nodes e.g. it 
should be legal.

Please see the attached testcase.

On a side note I was a bit surprised to find the wording which disallows 
two MIPs of the same type on the same node in the xforms-model-construct 
section. Does this mean that bind/@nodeset which a dynamic predicate 
does not reapply in the processing of rebuild but only initially and for 
submission (and what happens for insert and delete then)?

Best regards,

David Landwehr (david.landwehr@solidapp.com)
Chief Executive Officer, SolidApp
Web: http://www.solidapp.com
Office: +45 48268212
Mobile: +45 24275518

Received on Thursday, 19 January 2006 11:06:20 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:25:08 UTC