I just thought I'd point out that the docs for transcode say, "The size of this buffer 
should atleast be 'maxChars + 1'."

#define MAX_CHARS 50
 XMLCh* tmpstr = new XMLCh[MAX_CHARS + 1];
 XMLString::transcode("email", tmpstr, MAX_CHARS);

Sure, there is no reasonable way a 5-character string is going to overflow a 
50-character buffer, but good habits don't start tomorrow!  :)

Adam Heinz
Development Consultant
Exstream Software

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

Reply via email to