Moddy Te'eni wrote:
My application crashes when I try to delete a XalanDocument object that was
created with XalanSourceTreeParserLiaison::parseXMLStream.
Should i not delete the document?
No. Read the documentation for the member function you're calling:
http://xml.apache.org/xalan-c/apiDocs/classXalanSourceTreeParserLiaison.html#a10
The comment in the base class header file clearly states:
"The liaison owns the XalanDocument instance, and will delete it when
asked (see DestroyDocument()), or when the liaison is reset, or goes out
of scope."
And more important:
Is there some documentation I can look up such things?
There is user documentation available either on the web site, or as a
download. Also, the header files contain javadoc-style comments in
almost all cases, which are the sources for the API docs.
http://xml.apache.org/xalan-c/apiDocs/index.html
Dave