Skip to content
EPUBCheck · Resources and references

RSC-013

Updated:

EPUBCheck RSC-013 is a usage message: “Fragment identifier is used in a reference to a stylesheet resource.” A reference to a stylesheet includes a fragment identifier (#…), which has no meaning for CSS files.

The official message

Fragment identifier is used in a reference to a stylesheet resource.

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 link element with an href such as style.css#main.

How to fix it

  • Remove the #fragment from the stylesheet reference.

Terms used here

Other RSC messages

  • RSC-012 Fragment identifier is not defined.
  • RSC-011 Found a reference to a resource that is not a spine item.
  • RSC-015 A fragment identifier is required for svg use tag references.
  • RSC-010 Reference to non-standard resource type found.
  • RSC-016 Fatal Error while parsing file: …
  • RSC-009 A non-SVG image resource should not be defined with a fragment identifier.

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

FAQ

What does EPUBCheck RSC-013 mean?

EPUBCheck RSC-013 is a usage message: “Fragment identifier is used in a reference to a stylesheet resource.” A reference to a stylesheet includes a fragment identifier (#…), which has no meaning for CSS files.

Is RSC-013 an error?

RSC-013 is reported as usage by default. Informative only and hidden by default: it appears when EPUBCheck runs with -u (--usage). It does not make the EPUB invalid.