W3C home > Mailing lists > Public > www-forms-editor@w3.org > March 2007

Last call comment about readonly property with calculate

From: David Landwehr <david.landwehr@picoforms.com>
Date: Fri, 09 Mar 2007 00:11:25 +0100
Message-ID: <45F0981D.20107@picoforms.com>
To: www-forms-editor@w3.org


Having the following:
<xf:model>
 <xf:instance>
   <data xmlns="">value</data>
 </xf:instance>
 <xf:bind nodeset="." readonly="false()" calculate="1"/>
</xf:model>

It is not spelled out in the specification that it is possible to 
override the default state when it has a calculate on it. The default 
value is true() when the node has a calculate on it. On the other side 
it is not specified that it is not allowed. I think it should not be 
allowed since it is not clear when the value will be recalculated 
because a node cannot take itself as dependent. E.g. an insert or delete 
will recalculate the value even if the user has updated the value (this 
must also happen if an insert happens in another instance). This could 
be a problem for implementation which isolates the creating of 
dependencies between instances.

Best regards,
David
Received on Thursday, 8 March 2007 23:11:38 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 10 June 2009 18:12:15 GMT