Sla over naar inhoud
EPUBCheck · Pakketdocument (OPF)

EPUBCheck OPF-016: rootfile zonder full-path

Bijgewerkt:

EPUBCheck OPF-016 is een foutmelding: “The element "rootfile" is missing its required attribute "full-path".” Een rootfile-element in META-INF/container.xml heeft geen full-path-attribuut. Dat attribuut is het enige dat lees-apps vertelt waar het pakketdocument zich bevindt, dus het boek kan niet worden geopend zonder dit.

Het officiële bericht

The element "rootfile" is missing its required attribute "full-path".

Standaard ernst
Fout. De EPUB overtreedt een regel van de specificatie en is ongeldig. Opslaan en Verzenden naar Kindle kunnen het afwijzen, en EPUBCheck verlaat met status 1.
EPUBCheck versie
5.4.0

Typische oorzaken

  • Een handgeschreven container.xml zonder het attribuut.
  • De attribuutnaam verkeerd gespeld, zoals fullpath of full_path.
  • Een sjabloon container.xml dat nooit is voltooid.

Hoe het te repareren

  1. Open META-INF/container.xml.
  2. Voeg volledige pad toe met het pad van het pakketdocument vanaf de root van het archief, bijvoorbeeld <rootfile full-path="OEBPS/content.opf" media-type="application/oebps-package+xml"/>.
  3. Controleer of het pad overeenkomt met de echte bestandsnaam en hoofdlettergebruik, bouw dan de EPUB opnieuw.

Wanneer het niet dit is

Als full-path aanwezig is maar leeg, meldt EPUBCheck OPF-017; als het naar een ontbrekend bestand wijst, OPF-002.

Termen die hier worden gebruikt

Andere OPF berichten

  • 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.

Bronnen

Berichttekst en ernst van EPUBCheck 5.4.0 (W3C, BSD-3-Clause). Uitleg door EpubCC.

FAQ

Wat betekent EPUBCheck OPF-016?

EPUBCheck OPF-016 is een foutmelding: “The element "rootfile" is missing its required attribute "full-path".” Een rootfile-element in META-INF/container.xml heeft geen full-path-attribuut. Dat attribuut is het enige dat lees-apps vertelt waar het pakketdocument zich bevindt, dus het boek kan niet worden geopend zonder dit.

Is OPF-016 een fout?

OPF-016 wordt standaard als fout gerapporteerd. De EPUB overtreedt een regel van de specificatie en is ongeldig. Winkels en Verzenden naar Kindle kunnen het afwijzen, en EPUBCheck beëindigt met status 1.

PDF naar EPUB tools

Elke tool gebruikt dezelfde engine. Tot 3 boeken per dag zijn gratis.

Bekijk alle tools