[jboss-jira] [JBoss JIRA] Updated: (JBXB-89) JBossXB automatically unzips gzipped content when decoding base64 data.

Alexey Loubyansky (JIRA) jira-events at jboss.com
Tue Feb 6 05:54:19 EST 2007


     [ http://jira.jboss.com/jira/browse/JBXB-89?page=all ]

Alexey Loubyansky updated JBXB-89:
----------------------------------

    Fix Version/s: JBossXB-1.0.0.CR9
                       (was: JBossXB-1.0)

> JBossXB automatically unzips gzipped content when decoding base64 data.
> -----------------------------------------------------------------------
>
>                 Key: JBXB-89
>                 URL: http://jira.jboss.com/jira/browse/JBXB-89
>             Project: JBoss XML Binding (JBossXB)
>          Issue Type: Bug
>    Affects Versions: JBossXB-1.0.0.CR7
>            Reporter: Darran Lofthouse
>         Assigned To: Darran Lofthouse
>             Fix For: JBossXB-1.0.0.CR9
>
>
> JBossXB automatically unzips gzipped content when decoding base64 data.
> The reason why it is automatically unzipped is becuase the method unmarshalBase64 in org.jboss.xb.binding.SimpleTypeBindings is calling the method decode in org.jboss.util.Base64, this decode method after converting from Base64 detects that it is gzipped so unzippes it.  If we do not need to unzip the data we could call the decode method that takes the byte array instead of a String as this does not perform any unzipping.

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

        



More information about the jboss-jira mailing list