Prashant <[EMAIL PROTECTED]> wrote on 03/07/2006 12:11:52 AM:

> Hello:
>
> The FAQ[1], declares xerces DOM implementation is not thread safe. I
> guess this is because of the Deferred DOM implementation.
>
> I have in fact observed runtime exceptions[2] with xerces 2.7, 2.8 when
> accessing methods that traverse the DOM concurrently without
> synchronization.
>
> Is the xerces DOM implementation still not thread safe even after
> setting the Feature
> "http://apache.org/xml/features/dom/defer-node-expansion to  false ?

It's not thread-safe either (even when reading). None of Xerces' DOM implementations are thread-safe.

> I would appreciate if the users on this list shared their experiences of
> using xerces DOM in a multi-threaded scenario.
>
> Thanks
> -Prashant


Michael Glavassevich
XML Parser Development
IBM Toronto Lab
E-mail: [EMAIL PROTECTED]

E-mail: [EMAIL PROTECTED]

Reply via email to