You should call DOMWriter::release() instead of delete.
And as far as I understand, yes you are responsible for delteting the writer.

Regards,

jw

-----Ursprüngliche Nachricht-----
Von: Stanisław Findeisen [mailto:[email protected]] 
Gesendet: Dienstag, 27. Juli 2010 10:47
An: [email protected]
Betreff: DOMImplementationLS::createDOMWriter

http://xerces.apache.org/xerces-c/apiDocs-2/classDOMImplementationLS.html#9ca56e17b9295c1ec52512c75557f799

virtual DOMWriter* DOMImplementationLS::createDOMWriter(MemoryManager *const 
manager = XMLPlatformUtils::fgMemoryManager) =0

Is the caller supposed to delete the writer?

Thanks!

STF

Reply via email to