ePub Version 2.0 Validation

Skip to end of metadata
Go to start of metadata
Title
Validating ePub files
Detailed description The BnF is currently experimenting with dissemination in the ePub to support eBook readers (enabling reflow)
They decided to stick to a 2.0 specification for the format due to wide support for the format.
Issue champion Thomas
Other interested parties
 
Possible Solution approaches There are a couple of ePub validators:
           ePubCheck - http://code.google.com/p/epubcheckas 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)
Context The BnF is currently experimenting with dissemination in the ePub to support eBook readers (enabling reflow)
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/
_]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 think 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
Labels:
opf_montpellier opf_montpellier Delete
issue issue Delete
conformance conformance Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.
  1. May 22, 2012

    I believe the SCAPE Project is looking to do some work in the ePub domain, although I think mainly focused on DRM issues around published ebook formats. Per would be probably be a good person to check with.