Skip to content
EPUBCheck · Resources and references

RSC-003

Updated:

EPUBCheck RSC-003 is an error message: “No rootfile tag with media type "application/oebps-package+xml" was found in the container.” META-INF/container.xml exists but none of its rootfile elements has the media type application/oebps-package+xml, so the package document cannot be found.

The official message

No rootfile tag with media type "application/oebps-package+xml" was found in the container.

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

  • A misspelled or missing media-type attribute on the rootfile element.

How to fix it

  • Set media-type="application/oebps-package+xml" on the rootfile element that points to the package document.

Terms used here

Other RSC messages

  • RSC-002 Required META-INF/container.xml resource could not be found.
  • RSC-004 File "…" is encrypted, its content will not be checked.
  • RSC-001 File "…" could not be found.
  • RSC-005 Error while parsing file: …
  • RSC-006 Remote resource reference is not allowed in this context; resource "…" must be located in the EPUB container.
  • RSC-007 Referenced resource "…" could not be found in the EPUB.

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

FAQ

What does EPUBCheck RSC-003 mean?

EPUBCheck RSC-003 is an error message: “No rootfile tag with media type "application/oebps-package+xml" was found in the container.” META-INF/container.xml exists but none of its rootfile elements has the media type application/oebps-package+xml, so the package document cannot be found.

Is RSC-003 an error?

RSC-003 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.