Questions about import and Multithreading issues.

When deeply importing a Node from another DOM Implementation, it is possible
in a multi-threaded environment for children to change while the import is
going on.  The only way that I can correctly implement a deep importNode()
is to first perform a deep clone of the imported node, which will give me a
copy that I control, and then perform the recursive import.  This
implementation creates a bunch of short-lived temporary objects in a Java
programming environment.

I do not believe that a conforming implementation should be required to
attempt this.  Instead, I think that this sort of use should not be
attempted by applications.  Applications that attempt to modify nodes in one
thread while importing them in another should get implementation dependent
behavior, and this should be clearly stated in the specification.

	Keith

Received on Thursday, 13 April 2000 17:14:58 UTC