View Single Post
Old 11-23-2009, 03:31 PM   #18
pdurrant
The Grand Mouse 高貴的老鼠
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 74,186
Karma: 317179110
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Oasis
That's not his problem. If I unzip and then re-zip his file, it passes epubcheck.

The problem is the zip format.

If you look at his file with a hex editor, it should have

application/epub+zip

at bytes 0x26 to 0x3A, immediately following the mimetype filename.

In his file the mimetype filename is in the right place, but the file contents doesn't immediately follow it.

I've attached the working ePub. I don't know enough about the zip format to say exactly what's one wrong when zipping his files, but something has.

Quote:
Originally Posted by Jellby View Post
That mimetype includes a line termination (DOS style), that is an error, the mimetype file should not have any line-end, it should be just 20 bytes long (yours is 22).
Attached Files
File Type: epub test2.epub (943.9 KB, 506 views)
pdurrant is offline   Reply With Quote