According to the programming guidelines on the Xerces-C website: " 
When parsing a document using an IDOMParser, the storage allocated will be
automatically deleted when the parser instance is deleted (implicit). If a
user is manually building a DOM tree in memory using the document factory
methods, then the user needs to explicilty delete the document object to
free all allocated memory.
"

What happens when one uses the IDOMParser to parse xml from a file and
construct the DOM tree and later manipulates that DOM tree by
adding/removing nodes to it? If we delete the document object and later
delete the IDOMParser object, then would it not result in a segmentation
fault?

BTW, the IDOM classes result in a dramatic improvement in performance on
Solaris, and a noticeable improvement on Win2K. Hope they are here to stay.

Thanks,
Jeetu


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to