EPUBCheck OPF-016: rootfile ohne full-path
Aktualisiert:
EPUBCheck OPF-016 ist eine Fehlermeldung: „The element "rootfile" is missing its required attribute "full-path".“ Ein rootfile-Element in META-INF/container.xml hat kein full-path-Attribut. Dieses Attribut ist das einzige, was den Lese-Anwendungen mitteilt, wo sich das Paketdokument befindet, sodass das Buch ohne es nicht geöffnet werden kann.
Die offizielle Nachricht
The element "rootfile" is missing its required attribute "full-path".
- Standard-Schweregrad
- Fehler. Das EPUB bricht eine Regel der Spezifikation und ist ungültig. Geschäfte und Sende an Kindle könnten es ablehnen, und EPUBCheck beendet die Ausführung mit Status 1.
- EPUBCheck Version
- 5.4.0
Typische Ursachen
- Eine handgeschriebene container.xml, der das Attribut fehlt.
- Der Attributname ist falsch geschrieben, wie z. B. fullpath oder full_path.
- Ein Vorlagen container.xml, das nie vervollständigt wurde.
Wie man es behebt
- Öffnen Sie META-INF/container.xml.
- Fügen Sie den vollständigen Pfad mit dem Pfad des Paketdokuments vom Stamm des Archivs hinzu, zum Beispiel
<rootfile full-path="OEBPS/content.opf" media-type="application/oebps-package+xml"/>. - Überprüfen Sie, ob der Pfad mit dem tatsächlichen Dateinamen und der Groß-/Kleinschreibung übereinstimmt, dann bauen Sie die EPUB neu auf.
Wann es nicht das ist
Wenn full-path vorhanden, aber leer ist, meldet EPUBCheck OPF-017; wenn es auf eine fehlende Datei verweist, OPF-002.
Hier verwendete Begriffe
Andere OPF Nachrichten
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-018bThe "remote-resources" property was declared in the Package Document, but no reference to remote resources has been found; please check scripted content to make sure the property is legit.OPF-013Resource "…" is declared with MIME type "…" in content, but has MIME type "…" in the package document.
Quellen
Nachrichtentext und Schweregrad von EPUBCheck 5.4.0 (W3C, BSD-3-Klausel). Erklärung durch EpubCC.