Skip to content
EPUBCheck · Package and ZIP container

EPUBCheck PKG-023: validating as EPUB 2.0

Updated:

EPUBCheck PKG-023 is a usage message: “Validating the EPUB against version 2.0, default validation profile will be used.” EPUBCheck is validating the file as EPUB 2.0 and applying its default validation profile. It is a usage message, shown only with -u, and it does not mean anything is wrong.

The official message

Validating the EPUB against version 2.0, default validation profile will be used.

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

Typical causes

How to fix it

  1. Nothing to fix if the book is meant to be EPUB 2.
  2. If you meant to produce EPUB 3, update the package to version="3.0" with the required EPUB 3 metadata and a navigation document, then validate again.
  3. New books should be EPUB 3: current reading apps and Send to Kindle read it.

When it's not this

If the version you asked for differs from the one the file declares, the warning is PKG-001.

Terms used here

Other PKG messages

  • PKG-022 Wrong file extension for image. The image is a "…" file but has the file extension "…".
  • PKG-021 Corrupted image file encountered.
  • PKG-025 Publication resource must not be located in the META-INF directory
  • PKG-020 OPF file "…" could not be found.
  • PKG-026 Obfuscated resource must be a Font Core Media Type (was declared as "…" in "…").
  • PKG-027 Could not extract EPUB ZIP content, probably due to file names not encoded in UTF-8.

Sources

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

FAQ

What does EPUBCheck PKG-023 mean?

EPUBCheck PKG-023 is a usage message: “Validating the EPUB against version 2.0, default validation profile will be used.” EPUBCheck is validating the file as EPUB 2.0 and applying its default validation profile. It is a usage message, shown only with -u, and it does not mean anything is wrong.

Is PKG-023 an error?

PKG-023 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.