On Friday, 03/22/2002 at 03:46 EST, Tobias McNulty <[EMAIL PROTECTED]>
wrote:
> What happens if you modify a Xerces DOM from within a Xalan
> transformation (in the same thread, while Xalan is running the
> transform)?

No guarantees at all. DOMs are not generally guaranteed to be threadsafe,
and XSLT processors assume that the source document will not change during
operation. If the transformation finishes at all, you'll be lucky; if it
produces coherent results, you'll be luckier; if it blows up in your face
or goes into an endless loop, don't complain that you weren't warned.

If this is an issue for you, apply some application-level locking that
prevents the DOM from being modified until the transformation has finished.


Reply via email to