Skip to content
EPUBCheck · Package document (OPF)

OPF-097

Updated:

EPUBCheck OPF-097 is a usage message: “Resource "…" is listed in the manifest, but no reference to it was found in content documents.” A file is listed in the manifest but nothing in the content references it.

The official message

Resource "%1$s" is listed in the manifest, but no reference to it was found in content documents.

Default severity
Usage. Informative only and hidden by default: it appears when EPUBCheck runs with -u (--usage). It does not make the EPUB invalid.
EPUBCheck version
5.4.0

%1$s, %2$s… are filled in with the file, value or element EPUBCheck found.

Typical causes

  • Unused images, fonts or stylesheets left after editing.

How to fix it

  • Delete the file and its manifest item if it is not needed; if it is, reference it from the content.

Terms used here

Other OPF messages

  • OPF-096 Non-linear content must be reachable, but found no hyperlink to "…".
  • OPF-099 The manifest must not list the package document.
  • OPF-100 The "…" property only applies to pre-paginated content.
  • OPF-093 The "media-type" attribute is required for linked resources located in the EPUB container
  • OPF-092 Language tag "…" is not well-formed: …
  • OPF-091 The item href URL must not have a fragment identifier.

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

FAQ

What does EPUBCheck OPF-097 mean?

EPUBCheck OPF-097 is a usage message: “Resource "…" is listed in the manifest, but no reference to it was found in content documents.” A file is listed in the manifest but nothing in the content references it.

Is OPF-097 an error?

OPF-097 is reported as usage by default. Informative only and hidden by default: it appears when EPUBCheck runs with -u (--usage). It does not make the EPUB invalid.