Skip to content
EPUBCheck · Package document (OPF)

OPF-060

Updated:

EPUBCheck OPF-060 is an error message: “Duplicate entry in the ZIP file: "…" (file names must be unique after Unicode canonical normalization and full case folding).” Two files in the ZIP have names that are the same once case and Unicode normalisation are ignored, such as Image.jpg and image.jpg.

The official message

Duplicate entry in the ZIP file: "%1$s" (file names must be unique after Unicode canonical normalization and full case folding).

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

  • Files added on a case-sensitive system, or the same file added twice under different spellings.

How to fix it

  • Rename or delete one of the two files.
  • After renaming, update every reference to the file: the manifest in the package document, links and image sources in the XHTML, and url() references in the CSS.

Terms used here

Other OPF messages

  • OPF-062 Found Adobe page-map attribute on spine element in opf file.
  • OPF-065 Invalid metadata declaration, probably due to a cycle in "refines" metadata.
  • OPF-054 Date value "…" is not valid as per http://www.w3.org/TR/NOTE-datetime:….
  • 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-053 Date value "…" does not follow recommended syntax as per http://www.w3.org/TR/NOTE-datetime:….
  • OPF-067 The resource "…" must not be listed both as a "link" element in the package metadata and as a manifest item.

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

FAQ

What does EPUBCheck OPF-060 mean?

EPUBCheck OPF-060 is an error message: “Duplicate entry in the ZIP file: "…" (file names must be unique after Unicode canonical normalization and full case folding).” Two files in the ZIP have names that are the same once case and Unicode normalisation are ignored, such as Image.jpg and image.jpg.

Is OPF-060 an error?

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