Hi Jeff,

I suggest that you get the latest version of Base64.java from CVS (xerces
1.4.0 should be ok too, but I didn't confirm). Some bugs in decode method
have been fixed.

If you still have problem with it, feel free to let me know.

Thanks,
Sandy Gao
Software Developer, IBM Canada
(1-416) 448-3255
[EMAIL PROTECTED]



                                                                                       
                            
                    Jeff Macomber                                                      
                            
                    <JMacomber@Net       To:     [EMAIL PROTECTED]           
                            
                    ByTel.com>           cc:                                           
                            
                                         Subject:     Base64 Util class problem        
                            
                    06/18/2001                                                         
                            
                    10:42 AM                                                           
                            
                    Please respond                                                     
                            
                    to                                                                 
                            
                    xerces-j-dev                                                       
                            
                                                                                       
                            
                                                                                       
                            



Hey all,

I am seeing a problem using the encode and decode routines of xerces
(1.3.1)
to encode and decode binary data.  After encoding a file of exactly 1674
bytes I then decode it and find the file size is 1676 bytes.  After looking
at the source the problem appears to be in the padding.  The encode is
correct.  The decode is adding an extra byte all the time for no reason.

Can anyone verify this?

Thanks,
Jeff

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





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

Reply via email to