EPUBCheck OPF-018: remote-resources non necessari
Aggiornato:
EPUBCheck OPF-018 è un messaggio di avviso: “The "remote-resources" property was declared in the Package Document, but no reference to remote resources has been found.” Un item del manifest dichiara remote-resources, ma EPUBCheck non ha trovato riferimenti a una risorsa remota in esso. La proprietà indica alle app di lettura che il documento ha bisogno della rete, quindi dovrebbe essere presente solo quando è vero.
Il messaggio ufficiale
The "remote-resources" property was declared in the Package Document, but no reference to remote resources has been found.
- Gravità predefinita
- Avviso. Il EPUB è ancora valido, ma qualcosa potrebbe causare problemi in alcune app di lettura. EPUBCheck esce con 0 a meno che non passi --failonwarnings.
- versione EPUBCheck
- 5.4.0
Cause tipiche
- L'immagine remota, il font, l'audio o il video sono stati rimossi o copiati nel EPUB, ma la proprietà è rimasta.
- Un template manifest che dichiarava risorse remote su ogni documento.
- Uno strumento che aggiunge la proprietà per impostazione predefinita.
Come correggerlo
- Trova l'elemento del manifesto a cui punta EPUBCheck.
- Conferma che il documento non carichi più nulla da un indirizzo http o https.
- Rimuovi remote-resources dall'attributo delle proprietà di quell'elemento, mantenendo eventuali altre proprietà.
Quando non è questo
Se il documento usa script, EPUBCheck riporta OPF-018b invece, perché uno script potrebbe caricare la risorsa.
Termini usati qui
Altri messaggi di OPF
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-017The attribute "full-path" on element "rootfile" must not be empty.OPF-016The element "rootfile" is missing its required attribute "full-path".OPF-015The property "…" should not be declared in the OPF file.OPF-021Use of non-registered URI scheme type in href: "…".OPF-014The property "…" should be declared in the OPF file.
Fonti
Testo e gravità del messaggio da EPUBCheck 5.4.0 (W3C, BSD-3-Clause). Spiegazione di EpubCC.