Christoph Kies wrote:
Am Donnerstag, 19. Januar 2006 18:29 schrieb David Bertoni:
if you mean XMLString::transcode() calls the exit() function, then
that's a bug, although I find it hard to believe.
I also don't believe that exit() ist called directly. But it _seems_ so. On
_my_ System transcode() does not return and the Process terminates with exit
code 0.
If however, you mean that XMLString::transcode() does not fail when you
pass a null pointer for the source argument, then that makes sense.
Any return of NULL or a string with size 0 would be OK, but that does not
happen on _my_ System.
I will try to find out what is happening here.
Could it be that you are not handling exceptions, and an exception is
thrown? It might also depend on the particular transcoder you're using.
You don't mention what system and compiler you're using, but the default
transcoding system varies with the system and compiler. Also, you
weren't specific about which XMLString::transcode() overload you're
using, so a code snippet would help.
Dave