EPUBCheck OPF-099: il manifesto elenca l'OPF
Aggiornato:
EPUBCheck OPF-099 è un messaggio di errore: “The manifest must not list the package document.” Il manifesto elenca il documento pacchetto stesso, il che non è permesso. Il documento pacchetto si trova tramite META-INF/container.xml e descrive la pubblicazione; non è una risorsa di essa.
Il messaggio ufficiale
The manifest must not list the package document.
- Gravità predefinita
- Errore. Il EPUB viola una regola della specifica ed è non valido. I negozi e Invia a Kindle potrebbero rifiutarlo, e EPUBCheck esce con stato 1.
- versione EPUBCheck
- 5.4.0
Cause tipiche
- Strumenti che aggiungono ogni file nella cartella al manifesto, compreso il .opf.
- Un manifesto generato da uno script che attraversa l'intera cartella del libro.
- Un elemento aggiunto a mano durante la risoluzione dei problemi.
Come correggerlo
- Trova gli elementi del manifesto il cui href punta al file .opf.
- Elimina quell'elemento.
- Verifica che nulla altro (spine, alternative) si riferisca al suo id.
Quando non è questo
Se un altro file è dichiarato due volte, ciò è OPF-074.
Termini usati qui
Altri messaggi di OPF
OPF-098The "href" attribute must reference resources, not elements in the package document, but found URL "…".OPF-100The "…" property only applies to pre-paginated content.OPF-097Resource "…" is listed in the manifest, but no reference to it was found in content documents.OPF-096Non-linear content must be reachable, but found no hyperlink to "…".OPF-096bNo hyperlink was found to non-linear document "…", please check that it can be reached from scripted content.OPF-095The "media-type" attribute of "voicing" links must be an audio MIME type, but found "…".
Fonti
Testo e gravità del messaggio da EPUBCheck 5.4.0 (W3C, BSD-3-Clause). Spiegazione di EpubCC.