RSC-008
Updated:
EPUBCheck RSC-008 is an error message: “Referenced resource "…" is not declared in the OPF manifest.” A file exists in the EPUB and is referenced, but the package document's manifest does not list it.
The official message
Referenced resource "%1$s" is not declared in the OPF manifest.
- 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
- An image or stylesheet added to the book folder without updating the manifest.
How to fix it
- Add an item for the file to the manifest with a unique id, its path and its media type, for example
<item id="fig1" href="images/fig1.png" media-type="image/png"/>.
Terms used here
Other RSC messages
RSC-007Referenced resource "…" could not be found in the EPUB.RSC-007wReferenced resource "…" could not be found in the EPUB.RSC-009A non-SVG image resource should not be defined with a fragment identifier.RSC-006Remote resource reference is not allowed in this context; resource "…" must be located in the EPUB container.RSC-010Reference to non-standard resource type found.RSC-005Error while parsing file: …
Message text and severity from EPUBCheck 5.4.0 (W3C, BSD-3-Clause). Explanation by EPUBLab.