ePub Version 2.0 Validation

compared with
Current by David Tarrant
on May 22, 2012 15:45.

Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (7)

View Page History
| *Other interested parties* \\ | |
| *Possible Solution approaches* | _There are a couple of ePub validators:_ \\
           ePubCheck \- [http://code.google.com/p/epubcheck]as used by [http://validator.idpf.org/] the official site \\
           flightcrew \- [http://code.google.com/p/flightcrew/]\\
(at the time of checking was NOT a better checker) |
_They decided to stick to a 2.0 specification for the format due to wide support for the format._ |
| *Lessons Learned* | _There are a number of exemplar files available at:_ \\
            \[http://code.google.com/p/epub-samples/\\
            [http://code.google.com/p/epub-samples/_\\]_These _\]_These are all version 3.0 ePubs so the validating version 2.0 ePubs is a bit of a problem_ \\
_Version 2.0 samples are openly available from the BnF at:_ \\
         \[http://gallica.bnf.fr/ebooks?lang=EN_\\] \\
_Trying to parse one of these ePub with ePubCheck resulted in the following error:_ \\
_         ERROR: bnf_v2.epub/mimetype: Mimetype file should contain only the string "application/epub+zip"._ \\
_We thingk this is incorrect as the mimetype file was present and not compressed, on OS X the epub can be remade using zip as follows:_ \\
         zip \-X0 book.epub mimetype; zip \-Xur9D book.epub META-INF OEBPS \-x \*.DS_Store \\
We submitted this as an issue to ePubCheck \\
         [http://code.google.com/p/epubcheck/issues/detail?id=180] |
| *Datasets* | [http://gallica.bnf.fr/ebooks?lang=EN] (Version 2.0 ePubs)\_ \\
[http://code.google.com/p/epub-samples/] Version 3.0 ePubs)\_ |
| *Solutions* | _here_ |