DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6940>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6940

base64Binary does not appear to validate correctly.

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From [EMAIL PROTECTED]  2002-03-07 15:13 -------
Your data is invalid for a very simple reason: there doesn't exist any binary 
data, which can be transformed to your data by applying base64 encoding.

To make your data valid:
1. base64 data should have length divisible by 4, because each 3 bytes of raw 
data become 4 bytes of base64 data. In case the length of the raw data is not 
divisible by 3, pad character(s) '=' is appended to the end of base64 data. So 
the first step is to change your data to '3CEFA+25Ba21cX=='.
2. It's still invalid. If a base64 data ends with '==', the 3rd last character 
must have a value (base64 value, not ascii value) divisible by 16. But your 'X' 
has a value 23. Now let's change 'X' to 'A' (of value 0). The data 
becomes '3CEFA+25Ba21cA=='. Now it's valid.

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

Reply via email to