[ 
http://issues.apache.org/jira/browse/WSCOMMONS-101?page=comments#action_12457792
 ] 
            
stefan stieglitz commented on WSCOMMONS-101:
--------------------------------------------

I'm using axiom 1.0 as distributed with axis2 (1.0). Sorry I was not aware, 
that axiom is released separately from axis and did not find any similar 
reports. The change list distributed with axiom 1.1 binary is also not     
illuminative in this respect.  Anyway if this is fixed with Axiom 1.1 this 
issue may be closed. My first chance to check this will be presumably next year.

> axiom base64 encoding is incorrect
> ----------------------------------
>
>                 Key: WSCOMMONS-101
>                 URL: http://issues.apache.org/jira/browse/WSCOMMONS-101
>             Project: WS-Commons
>          Issue Type: Bug
>          Components: AXIOM
>         Environment: axis2 tomcat win32
>            Reporter: stefan stieglitz
>         Assigned To: Thilina Gunarathne
>         Attachments: test.jpg
>
>
> The base64 encoding of axiom seems to be incorrect. It produces filler 
> characters '=' inside the encoded text. Those are only allowed at the end. In 
> result the encoded text can't be decoded by other libraries. The decoder used 
> by axiom can decode his own encoding, for example xerces-c can not.
> Reproduction:
> To reproduce this behavior try to encode any inhomogeneous image lager than 
> 10kb.
> To ease the error analysis a linefeed has been inserted every 76 characters 
> in booth encoded texts. I'm aware that this manipulation makes any
> decoding of the text impossible. (unless the filler characters at the end are 
> recalculated)
> Example for error:
> [..]
> NDpscUkzSTNI8rTTOxeSRuXdiwB/YjZfDHx7erM48M39gkBiDNrjW3h1ZDL5m0W7a/Ppouyvlt5o
> tTMYN0XneX50O+pN8PPHkMssJ8HeJpTDJJEZbXRdQvbaQxuUL295Z289pdwMVJiubWaa3njKyw==  
> (line 18)
> DLJGyuf8/wA8Y/tE/tBeLL77XrPxY8b6u87tNdm/8Q6rcK825WR0jecqhViSO2cYxgE62mftL/tC
> [..]
> zcYBGSQeoOBg8j6YruYPA9qsqqNoDZULt+8xAAGBnPIxgZ9eMcAHzXY+Fo5BIblHBygTbjpg8kYy
> f8c4z0rK1zwzLGEMSEwwNJKmQOjLg5GNoxjjH1JPGPq+bwfbW8mwkKwxuTByO3IC7RjHHTPOeg==  
> (line 36)
> [..]
> Expected encoding:
> [..]
> NDpscUkzSTNI8rTTOxeSRuXdiwB/YjZfDHx7erM48M39gkBiDNrjW3h1ZDL5m0W7a/Ppouyvlt5o
> tTMYN0XneX50O+pN8PPHkMssJ8HeJpTDJJEZbXRdQvbaQxuUL295Z289pdwMVJiubWaa3njKywyy  
> (line 18)
> Rsrn/P8APGP7RP7QXiy++16z8WPG+rvO7TXZv/EOq3CvNuVkdI3nKoVYkjtnGMYBOtpn7S/7Qvh+
> [..]
> ARkkHqDgYPI+mK7mDwParKqjaA2VC7fvMQABgZzyMYGfXjHAB812PhaOQSG5RwcoE246YPJGMn/H
> OM9Kytc8MyxhDEhMMDSSpkDoy4ORjaMY4x9STxj6vm8H21vJsJCsMbkwcjtyAu0Yxx0zznoa5nXd  
> (line 36)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Reply via email to