Skip to content
EPUBCheck · Resources and references

RSC-007w

Updated:

EPUBCheck RSC-007w is a warning message: “Referenced resource "…" could not be found in the EPUB.” A reference points to a file that is not in the EPUB; EPUBCheck reports this variant as a warning for references that do not break the publication's validity.

The official message

Referenced resource "%1$s" could not be found in the EPUB.

Default severity
Warning. The EPUB is still valid, but something is likely to cause problems in some reading apps. EPUBCheck exits with 0 unless you pass --failonwarnings.
EPUBCheck version
5.4.0

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

Typical causes

  • A misspelled path, wrong case, or a file that was deleted or renamed after being referenced.

How to fix it

  • Correct the path or add the missing file to the EPUB and the manifest.
  • Remove the reference if the target no longer exists.

Terms used here

Other RSC messages

  • RSC-007 Referenced resource "…" could not be found in the EPUB.
  • RSC-006 Remote resource reference is not allowed in this context; resource "…" must be located in the EPUB container.
  • RSC-008 Referenced resource "…" is not declared in the OPF manifest.
  • RSC-005 Error while parsing file: …
  • RSC-009 A non-SVG image resource should not be defined with a fragment identifier.
  • RSC-004 File "…" is encrypted, its content will not be checked.

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

FAQ

What does EPUBCheck RSC-007w mean?

EPUBCheck RSC-007w is a warning message: “Referenced resource "…" could not be found in the EPUB.” A reference points to a file that is not in the EPUB; EPUBCheck reports this variant as a warning for references that do not break the publication's validity.

Is RSC-007w an error?

RSC-007w is reported as warning by default. The EPUB is still valid, but something is likely to cause problems in some reading apps. EPUBCheck exits with 0 unless you pass --failonwarnings.