Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

parsing XML document with compressed data

843834Dec 16 2008 — edited Dec 17 2008
Hello

I need to parse a XML document, but the document contains the next field:
<data encoding="base64" compression="gzip"> 
H4sIAAAAAAAAAGNgGDyAEY2GASYgZsZCwwAzVA86zYDEZ4KykWkQAAC47fiyAAEAAA==
</data>
So, my problem is decoding the data, with "base64" encoding, and "gzip" compression.

How can i decode this data?, Is this job for the xml parser? or, Must i do this using other libraries (independently of xml api)?

Thanks for your help.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 14 2009
Added on Dec 16 2008
2 comments
339 views