Re: How to Build Xerces Source code as a Static Library..

2005-03-18 Thread James Fitzgerald
Someone posted the following someplace. I wish that I could give appropriate credit. It is a very useful script that puts all of the already-compiled object files into an archive. Run it in $XERCESCROOT/src/xerces. make -n XML_LIB_DIR=$XERCESCROOT/lib/dummy | grep 'g++ .*\.so' | tr \ \\n | g

GrammarPools thread safe?

2005-03-01 Thread James Fitzgerald
I am experimenting with the GrammarPool code and threads and am getting a crash. I create an XMLGrammarPool object and populate it with my schema. I lock it. I create 2 threads, instantiate a SAX2 parser in each thread and pass each the same pool and parse and validate a document in each thread. It