[jboss-jira] [JBoss JIRA] Created: (JBXB-89) JBossXB automatically unzips gzipped content when decoding base64 data.
Darran Lofthouse (JIRA)
jira-events at jboss.com
Mon Nov 20 08:36:41 EST 2006
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
Fix For: JBossXB-1.0
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