RSC-015
Updated:
EPUBCheck RSC-015 is a usage message: “A fragment identifier is required for svg use tag references.” An SVG use element references a file without a fragment identifier; it must point to a specific element with #id.
The official message
A fragment identifier is required for svg use tag references.
- 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
- A use element written as
<use href="icons.svg"/>instead of<use href="icons.svg#star"/>.
How to fix it
- Add the id of the element to reuse at the end of the reference.
Terms used here
Other RSC messages
RSC-016Fatal Error while parsing file: …RSC-013Fragment identifier is used in a reference to a stylesheet resource.RSC-017Warning while parsing file: …RSC-012Fragment identifier is not defined.RSC-011Found a reference to a resource that is not a spine item.RSC-010Reference to non-standard resource type found.
Message text and severity from EPUBCheck 5.4.0 (W3C, BSD-3-Clause). Explanation by EPUBLab.