Zum Inhalt springen
EPUBCheck · Paketdokument (OPF)

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

  1. Öffnen Sie META-INF/container.xml.
  2. 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"/>.
  3. Ü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-015 The property "…" should not be declared in the OPF file.
  • OPF-017 The attribute "full-path" on element "rootfile" must not be empty.
  • OPF-014 The property "…" should be declared in the OPF file.
  • OPF-018 The "remote-resources" property was declared in the Package Document, but no reference to remote resources has been found.
  • OPF-018b The "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-013 Resource "…" 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.

FAQ

Was bedeutet EPUBCheck OPF-016?

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.

Ist OPF-016 ein Fehler?

OPF-016 wird standardmäßig als Fehler gemeldet. Das EPUB verstößt gegen eine Regel der Spezifikation und ist ungültig. Läden und Senden zu Kindle könnten es ablehnen, und EPUBCheck endet mit Status 1.

PDF zu EPUB Tools

Jedes Tool verwendet die gleiche Engine. Bis zu 3 Bücher pro Tag sind kostenlos.

Alle Werkzeuge ansehen