[Bug 5702] Deleting a parentless node should be well-defined

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





------- Comment #1 from mike@saxonica.com  2008-05-20 17:12 -------
Section 2.4.2 in fact says (in a Note) that it is "implementation-defined".

But I fully agree with the comment, there is no reason for the WG to be
indecisive on this question. I really don't care much whether deleting a
parentless node is a no-op or an error, but I think the spec should define it
one way or the other. Tossing a coin, I would make it a no-op (the only defined
behaviour of delete is to detach from the parent, and when the initial state is
the same as the desired state, a no-op seems appropriate.)

Received on Tuesday, 20 May 2008 17:13:18 UTC