Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

Adobe doesn't know how to zip EPUBs

OP Renate NST

20th July 2014, 07:57 PM   |  #1  
Renate NST's Avatar
OP Recognized Contributor / Recognized Developer
Boston
Thanks Meter: 813
 
1,999 posts
Join Date:Joined: Feb 2012
I've been running into strange problems.
All of the e-books that I borrow from my public library have problems.
(This problem also occurs downloading EPUBs from Adobe's demo site.)
Sometimes my Library.apk can't find the e-book's metadata.
It usually works fine on the Nook, but the JellyBeans have problems.
This has to do with the unzipper in Android.
The older unzipper was more resilient to failures.
The newer unzipper bombs on errors.

Quite simply, the EPUBs coming out of Adobe Digital Editions (versions 2.0 or 3.0 for Windows) zip EPUBs incorrectly.
META-INF/container.xml and OEBPS/content.opf have zeroes in the Local Header for the fields of crc, size1 and size2.
Additionally, some EPUBs have garbaged filenames in the Central Directory.

To fix, you can unzip and zip the files without changing the DRM.

Has anybody else noticed this?
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes