OPF-016
Updated:
EPUBCheck OPF-016 is an error message: “The element "rootfile" is missing its required attribute "full-path".” A rootfile element in META-INF/container.xml has no full-path attribute, so it does not say where the package document is.
The official message
The element "rootfile" is missing its required attribute "full-path".
- 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
Typical causes
- A hand-written container.xml missing the attribute.
How to fix it
- Add full-path with the package document's path from the root of the archive, for example full-path="OEBPS/content.opf".
Terms used here
Other OPF messages
OPF-015The property "…" should not be declared in the OPF file.OPF-017The attribute "full-path" on element "rootfile" must not be empty.OPF-014The property "…" should be declared in the OPF file.OPF-018The "remote-resources" property was declared in the Package Document, but no reference to remote resources has been found.OPF-013Resource "…" is declared with MIME type "…" in content, but has MIME type "…" in the package document.OPF-012Item property "…" is not defined for media type "…".
Message text and severity from EPUBCheck 5.4.0 (W3C, BSD-3-Clause). Explanation by EPUBLab.