EPUBCheck OPF-043: spine item without fallback
Updated:
EPUBCheck OPF-043 is an error message: “Spine item with non-standard media-type "…" has no fallback.” The spine lists a file that is not an EPUB content document and gives no fallback to one. Reading apps must be able to show every spine item, so a foreign file needs a fallback chain ending in XHTML or SVG.
The official message
Spine item with non-standard media-type "%1$s" has no fallback.
- Default severity
- Error. The EPUB breaks a rule of the specification and is invalid. Stores and Send to Kindle may reject it, and EPUBCheck exits with status 1.
- EPUBCheck version
- 5.4.0
%1$s, %2$s… are filled in with the file, value or element EPUBCheck found.
Typical causes
- An image, PDF or other non-XHTML file placed directly in the spine.
- A spine item whose fallback attribute was removed.
- A media type typo that makes an XHTML file look like a foreign one.
How to fix it
When it's not this
If a fallback exists but none of its items is a content document, that is OPF-044.
Terms used here
Other OPF messages
OPF-042"…" is not a permissible spine media-type.OPF-044Spine item with non-standard media-type "…" has no EPUB content document fallback.OPF-041Fallback-style item with id "…" could not be found.OPF-045Encountered circular reference in fallback chain.OPF-040Fallback item with id "…" could not be found.OPF-048Package tag is missing its required unique-identifier attribute and value.
Sources
Message text and severity from EPUBCheck 5.4.0 (W3C, BSD-3-Clause). Explanation by EpubCC.