You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Jon Smirl <jo...@mediaone.net> on 2000/06/18 21:49:21 UTC

xalan-c: XercesParserLiaison

Is XercesParserLiaison threadsafe? I want some my documents to hang around
for the life of the process. Right now I was creating a XercesParserLiaison
on the stack before parsing each document and I just figured out that
XercesParserLiaison deletes my documents when it is deleted.

So now I need a long lived XercesParserLiaison object so that my document
tree won't be destroyed. I can either 1) create a single global one and
share it with all of the threads or 2) create one for each document and keep
it hanging around with my document tree. Which would be better?

Jon Smirl
jonsmirl@mediaone.net