OPF-011
Updated:
EPUBCheck OPF-011 is an error message: “itemref can’t have both page-spread-right and page-spread-left properties.” A spine itemref has both page-spread-right and page-spread-left properties, which contradict each other.
The official message
itemref can’t have both page-spread-right and page-spread-left properties.
- 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
Typical causes
- Properties added twice by hand or by a tool when setting up a fixed-layout spread.
How to fix it
- Keep only the side where the page should appear (page-spread-left or page-spread-right).
Terms used here
Other OPF messages
OPF-012Item property "…" is not defined for media type "…".OPF-013Resource "…" is declared with MIME type "…" in content, but has MIME type "…" in the package document.OPF-014The property "…" should be declared in the OPF file.OPF-007Re-declaration of reserved prefix "…".OPF-015The property "…" should not be declared in the OPF file.OPF-006Invalid prefix declaration: URI "…" is not a valid URI.
Message text and severity from EPUBCheck 5.4.0 (W3C, BSD-3-Clause). Explanation by EPUBLab.