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

Feedback on 1.0: Behavior of nodesets when inserting or deleting nodes

From: John Boyer <boyerj@ca.ibm.com>
Date: Mon, 11 Sep 2006 03:27:21 -0700
To: www-forms@w3.org, www-forms-editor@w3.org
Message-ID: <OF74D5F2AC.03B3081F-ON882571E6.00311449-882571E6.00396FC5@ca.ibm.com>
Why does 3.3.4 mention the insert action?

More to the point, it says that nodes added by insert are added to 
nodesets that match the new nodes.
This is somewhat true.  It does not happen immediately but rather as 
behaviors of xforms-rebuild and xforms-refresh (or by the fact that some 
nodesets are reevaluated each time they are needed, like on insert and 
delete) .

Moreover, putting in this kind of detail would make me wonder why we don't 
also spell out what happens when a node is deleted.  Is it removed from 
all the contexts that are holding references to it, or does the node 
continue to exist as an orphan until subsequent rebuild and refresh 
operations cause its reference count to become zero?

I think the right answer is that it is implementation dependent, and since 
we don't want to go to that level of detail for deleting nodes, we should 
just remove the offending sentence about insert and/or replace it with a 
link or two to other places in the spec that talk about the update 
schedule for nodesets.

John M. Boyer, Ph.D.
Senior Product Architect/Research Scientist
Co-Chair, W3C XForms Working Group
Workplace, Portal and Collaboration Software
IBM Victoria Software Lab
E-Mail: boyerj@ca.ibm.com  http://www.ibm.com/software/

Blog: http://www.ibm.com/developerworks/blogs/page/JohnBoyer
Received on Monday, 11 September 2006 10:27:33 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:36:18 UTC