Skip to content
Novus Examples
epub6.9 KB

EPUB — Intentionally Invalid (bad OCF mimetype)

An intentionally invalid EPUB: identical to the valid twin except its OCF mimetype entry is compressed and mislabelled as application/zip — a real EPUB spec violation. For testing how readers and validators handle a malformed container. Clearly labelled; harmless content.

Archive contents — 10 entriesepub
  • mimetype
  • container.xml
  • content.opf
  • nav.xhtml
  • style.css
  • cover.xhtml
  • cover.png
  • chapter1.xhtml
  • chapter2.xhtml
  • chapter3.xhtml

Specifications

Format
EPUB (invalid OCF)
Defect
mimetype entry is compressed and set to application/zip
Chapters
3
Otherwise Valid
true

What is a .epub file?

EPUB is the open e-book standard, a ZIP archive containing XHTML content documents, CSS, images, and a package manifest describing reading order and metadata. It supports reflowable text that adapts to screen size and is supported by most e-readers except Kindle natively. It is the dominant format for distributable e-books.

How to use this file

Use an example EPUB to test e-book parsing, ZIP-package and manifest handling, reading-order and metadata extraction, and rendering in e-reader applications.

Generated by generation/ebooks.py. Free for any use, no attribution required — license.