Documentation for the method:

char* XMLString::transcode(const XMLCh *const)  

found here:

http://xml.apache.org/xerces-c/apiDocs/class_XMLString.html#d57

states the following:

The returned buffer is dynamically allocated and is the responsibility
of the caller to delete it when not longer needed.

While looking at the source code for the method:

char* IconvLCPTranscoder::transcode(const XMLCh* const)

operator new[] is being called.

If this is correct then the documentation should state delete[] rather
than delete.

Many thanks

Paul Burlumi
Senior Developer

Argogroup
t: +44 (0) 1252 705771
f: +44 (0) 1252 705706
m: +44 (0) 7971 479985
e: [EMAIL PROTECTED]
w: www.argogroup.com

***********************************************************
This e-mail (including any attachments) is intended only for the
recipient named above. It may contain confidential or privileged
information and should not be read, copied or otherwise used by any
other person. If you are not a named recipient, please contact the
sender and delete the e-mail from your system.  E-mail transmission
cannot be guaranteed to be secure or error-free. The sender therefore
does not accept liability for any errors or omissions in the contents of
this message which arise as a result of e-mail transmission.


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

Reply via email to