Re: [xml-dev] Avoid using the XML DOM because it is (a) slow and (b) not thread-safe

From
David Carlisle <>
To
"Costello, Roger L." <>
Date
2012-09-06T12:00:28Z
ID
<>
Thread
Re: [xml-dev] Avoid using the XML DOM because it is (a) slow and (b) not thread-safe
On 06/09/2012 12:41, Costello, Roger L. wrote:
> Michael also states [2]:
>
>      The DOM spec says that it isn't thread-safe, and the Xerces
>      implementation of the DOM takes this literally - innocent-looking
>      read operations can cause havoc if there are other threads active.
>
> Do you agree? Disagree?


This appears to be a statement of fact rather than an opinion with which 
one could agree or disagree.

http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/introduction.html

says:

DOM Level 3 does not specify multithreading mechanisms.



David


________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 
________________________________________________________________________