Hey Adam,
So I looked again at these algorithms after our IRC discussion.
1. I managed to avoid some of the DocumentFragment-related duplication as
discussed: http://dvcs.w3.org/hg/domcore/rev/ac51d41fb636
2. I did not find transient observers actually requiring additional text
because concept-node-insert references concept-node-remove for the nodes
removed from DocumentFragment nodes and concept-node-remove then takes
care of adding the transient observers.
Now having fully defined all this and given point 2 above it seems to me
we can inline the "add a transient observer" algorithm. Do you agree? It
also seems to me we can either remove the "transient observer" concept in
favor of just having the "transient" variable or the other way around.
Cheers,
--
Anne van Kesteren
http://annevankesteren.nl/