Has anyone attempted to use Xerces' Base64 output with another Base64 encoder?  I have 
a Visual Basic project which is forcing me to use Microsoft's CAPICOM Base64 encoding, 
and I'm getting some strange results.  I can take CAPICOM-encoded output and 
successfully decode it with Xerces, but not vice versa.  For a test, I encoded the 
same bitmap with both Xerces and CAPICOM, and the Base64 text differs.  However, if I 
decode both CAPICOM-encoded and Xerces-encoded Base64 with Xerces, the resulting 
binary files are identical.  I haven't really attempted to understand the Base64 
algorithm beyond the basic 3-to-4 mapping.  How much flexibility is in the standard?  
Recommendations on how to get CAPICOM to ingest my Xerces-encoded output is beyond the 
purview of this list, but any recommendations on tools to validate the Base64, etc?

Adam Heinz
Development Consultant
Exstream Software


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

Reply via email to