Skip to content
EPUBCheck · Package document (OPF)

OPF-091

Updated:

EPUBCheck OPF-091 is an error message: “The item href URL must not have a fragment identifier.” A manifest item's href contains a fragment (#…); manifest items must point to whole files.

The official message

The item href URL must not have a fragment identifier.

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

  • An href copied from a link, such as chapter1.xhtml#start.

How to fix it

  • Remove the #fragment from the manifest href.

Terms used here

Other OPF messages

  • OPF-090 It is encouraged to use MIME media type "…" instead of "…".
  • OPF-092 Language tag "…" is not well-formed: …
  • OPF-093 The "media-type" attribute is required for linked resources located in the EPUB container
  • OPF-088 Unrecognized epub:type value "…".
  • OPF-086 Property "…" is deprecated. Consider using … instead.
  • OPF-086b epub:type value "…" is deprecated. Consider using … instead.

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

FAQ

What does EPUBCheck OPF-091 mean?

EPUBCheck OPF-091 is an error message: “The item href URL must not have a fragment identifier.” A manifest item's href contains a fragment (#…); manifest items must point to whole files.

Is OPF-091 an error?

OPF-091 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.