Skip to content
EPUBCheck · Package document (OPF)

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-012 Item property "…" is not defined for media type "…".
  • OPF-013 Resource "…" is declared with MIME type "…" in content, but has MIME type "…" in the package document.
  • OPF-014 The property "…" should be declared in the OPF file.
  • OPF-007 Re-declaration of reserved prefix "…".
  • OPF-015 The property "…" should not be declared in the OPF file.
  • OPF-006 Invalid prefix declaration: URI "…" is not a valid URI.

Message text and severity from EPUBCheck 5.4.0 (W3C, BSD-3-Clause). Explanation by EPUBLab.

FAQ

What does EPUBCheck OPF-011 mean?

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.

Is OPF-011 an error?

OPF-011 is reported as error by default. 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.