It makes no sense to me, Base 64 is for encoding binary data, when you decode it (regardless of whether the encoded source is in UTF16 (i.e. from a parsed XML file DOMNode) or ASCII form) the output should be bytes.

But the decode method that takes XMLCh* as it's source returns XMLCh* so that {0x01, 0x02, 0x03} becomes (0x01, 0x00, 0x02, 0x00, 0x03, 0x00 }. You have to transliterate the encoded data down to ASCII form to send to the XMLByte* decode method which seems a bit pointless.

Is this a bug or am I missing something?

Scott Morgan


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



Reply via email to