[Bug 4574] [UPD] Section 2.4.1/3.1.3 upd:insertInto: Preserve order of inserted sequence

http://www.w3.org/Bugs/Public/show_bug.cgi?id=4574





------- Comment #1 from chamberl@almaden.ibm.com  2007-05-22 19:25 -------
I am concerned about the proposed phrase "... preserving the sequence and its
order." In general, we cannot guarantee that an inserted sequence will be
preserved without interleaving. For example, suppose that one expression
inserts the node sequence (A, B) and another expression inserts the node
sequence (C, D). If (A, B) is inserted first and the other insertion specifies
"into" only, a possible outcome is (A, C, D, B). I do not see any practical way
to prevent this. Therefore I think we can claim that order is preserved among
the nodes inserted by a single expression, but I do not think we can claim that
"the sequence" is preserved (in the sense of protecting it against
interleaves).
--Don 

Received on Tuesday, 22 May 2007 19:25:25 UTC