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

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