Its as thread safe as the Java parser basically. In either case, it is
assumed that each thread either has its own parser instance, or that
multiple thread access to a single parser instead is synchronized. Same for
DOM trees as well. I doubt very seriously that the MS parser is any
different because it wouldn't make any sense to do so.
----------------------------------------
Dean Roddey
Software Weenie
IBM Center for Java Technology - Silicon Valley
[EMAIL PROTECTED]
Scott Sanders <[EMAIL PROTECTED]> on 02/29/2000 04:39:52 PM
Please respond to [EMAIL PROTECTED]
To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
cc:
Subject: Xerces-C Multithreading
Pardon my ignorance, but I am trying to convince our development group to
use the Xerces-C parser instead of the Microsoft Parser in our future
projects.
I have been using Xerces-J in my own projects without a problem, but I do
not know C++. I pointed one of our developers to the xml.apache.org site,
and he just turned up his nose saying that the parser is not thread-safe in
Windows and the documentation is in source code, and that is
_unacceptable_.
I do not believe that is a good enough reason to dump Xerces, so my
question
to you is Xerces-C thread-safe, and in which version?
Thank you
Scott Sanders