Skip to content
Novus Examples
epub3.4 KB

EPUB 3 - Spine Where Every Item Is linear="no"

The pathological spine: every itemref is marked linear="no", so the book declares no default reading order at all. For testing what a reader opens to when the sequence it was going to page through is empty.

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

Specifications

Seed
20260807
Epub Version
3.0
Spine Items
3
Linear No Items
3
Linear Reading Order
empty
Defect
no spine item is linear, so the default reading order has no members

Testing contract

Expected to recover
Scenario
Open the book with no prior reading position.
Expected result
The reader opens the first document anyway or shows the contents rather than a blank pane, and does not treat the empty reading order as a load failure.

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.

How to use this file for testing

“EPUB 3 - Spine Where Every Item Is linear="no"” is a deterministic Novus Examples fixture for Error handling, Conversion testing. Deliberately corrupt and invalid files, clearly labelled, for testing how your tool fails.

Documented properties for this file: seed 20260807. Compare results against paired or grouped companions on this page when present (clean↔damaged, searchable↔scanned, or format twins) so scores stay reproducible across runs.

Download the file once, keep the path stable in CI or local scripts, and treat the spec table as the contract: dimensions, seeds, field lists, and roles are intentional. Corrupt or invalid samples are labelled as such — expect parsers to fail loudly rather than silently accept them.

E-book fixtures are structured archives documented down to their spine and manifest. Test readers and converters, and where a valid↔intentionally-invalid pair exists, assert graceful handling of the malformed container.

Code examples

ebook-convert all-items-linear-no.epub out.pdf   # Calibre
unzip -l all-items-linear-no.epub                # EPUB is a ZIP

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