You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-users@xalan.apache.org by Charles Nicholson <cn...@liquidnet.com> on 2001/12/21 20:23:32 UTC

XalanSourceTreeParserLiaison question

Hey all-

If i make a read/write document with
XalanSourceTreeParserLiaison::createDOMFactory(), how do i destroy it?

createDOMFactory looks like it dispatches into its private member
m_xercesParserLiaison::createDocument(), and the documentation says that
XalanSourceTreeParserLiaison::DestroyDocument will delete any documents
produced in this fashion, but a peek into
XalanSourceTreeParserLiaison::DestroyDocument reveals that it only looks
through its own members m_documentMap and m_persistentDocumentMap, and not
into m_xercesParserLiaison::destroyDocument.

Am i missing something here?  I'd like to call
m_xercesParserLiaison::destroyDocument myself, but m_xercesParserLiaison is
a private member and there's no "getXercesParserLiaison"-esque method.

To nutshell, XalanSourceTreeParserLiaison::DestroyDocument does nothing with
documents created by XalanSourceTreeParserLiaison::createDOMFactory.  How do
i delete these documents?

Thanks in advance for any replies,
Charles Nicholson