RSC-009
Updated:
EPUBCheck RSC-009 is a warning message: “A non-SVG image resource should not be defined with a fragment identifier.” A reference to a raster image (JPEG, PNG, GIF, WebP) includes a fragment identifier (#…), which only makes sense for SVG images.
The official message
A non-SVG image resource should not be defined with a fragment identifier.
- 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
Typical causes
- A URL such as images/map.png#region copied from a web page or an image map.
How to fix it
- Remove the #fragment from the reference to the image.
Terms used here
Other RSC messages
RSC-008Referenced resource "…" is not declared in the OPF manifest.RSC-010Reference to non-standard resource type found.RSC-007Referenced resource "…" could not be found in the EPUB.RSC-007wReferenced resource "…" could not be found in the EPUB.RSC-011Found a reference to a resource that is not a spine item.RSC-006Remote resource reference is not allowed in this context; resource "…" must be located in the EPUB container.
Message text and severity from EPUBCheck 5.4.0 (W3C, BSD-3-Clause). Explanation by EPUBLab.