Hi,

I'm working with a software, which makes wide use of constructs like this:
myDocument->createElement(XMLString::transcode("MyELement"));

I think this should result in a memoryhole, at least with non xercesclasses I 
am sure.
And as the Parameter to createElement is const it should be here too.
So, am I right, that I need to create a local variable pointing to the string 
returned from transcode, to free with XMLString::release after the call of 
createElement?

Regards,

Jens Weller

Reply via email to