RSC-033
Updated:
EPUBCheck RSC-033 is an error message: “Relative URL strings must not have a query component, but found one in "…".” A relative URL contains a query string (?…), which EPUB does not allow because there is no server to answer it.
The official message
Relative URL strings must not have a query component, but found one in "%1$s".
- 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
- Links copied from a website, such as page.xhtml?id=3.
How to fix it
- Remove the query part from the URL; use a #fragment to point inside a document.
Terms used here
Other RSC messages
RSC-032Fallback must be provided for foreign resources, but found none for resource "…" of type "…".RSC-031Remote resource references should use HTTPS, but found "…".RSC-030File URLs are not allowed in EPUB, but found "…".RSC-029Data URL is not allowed in this context.RSC-028XML documents must be encoded in UTF-8, but … was detected.RSC-027XML document is encoded in UTF-16. It should be encoded in UTF-8 instead.
Message text and severity from EPUBCheck 5.4.0 (W3C, BSD-3-Clause). Explanation by EPUBLab.