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
- Open META-INF/container.xml.
- 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"/>. - 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-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.
Bronnen
Berichttekst en ernst van EPUBCheck 5.4.0 (W3C, BSD-3-Clause). Uitleg door EpubCC.