Skip to content
EPUBCheck · Package document (OPF)

OPF-067

Updated:

EPUBCheck OPF-067 is an error message: “The resource "…" must not be listed both as a "link" element in the package metadata and as a manifest item.” The same resource is listed both as a link in the metadata and as a manifest item.

The official message

The resource "%1$s" must not be listed both as a "link" element in the package metadata and as a manifest item.

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

  • A metadata record or file linked with link and also added to the manifest.

How to fix it

  • Keep it in only one place: a manifest item if it is part of the publication, a link otherwise.

Terms used here

Other OPF messages

  • OPF-066 Missing "dc:source" or "source-of" pagination metadata. The pagination source must be identified using the "dc:source" and "source-of" properties when the content includes page break markers.
  • OPF-065 Invalid metadata declaration, probably due to a cycle in "refines" metadata.
  • OPF-062 Found Adobe page-map attribute on spine element in opf file.
  • OPF-060 Duplicate entry in the ZIP file: "…" (file names must be unique after Unicode canonical normalization and full case folding).
  • OPF-074 Package resource "…" is declared in several manifest items.

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

FAQ

What does EPUBCheck OPF-067 mean?

EPUBCheck OPF-067 is an error message: “The resource "…" must not be listed both as a "link" element in the package metadata and as a manifest item.” The same resource is listed both as a link in the metadata and as a manifest item.

Is OPF-067 an error?

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