EPUBCheck OPF-018b: remote-resources non verificati
Aggiornato:
EPUBCheck OPF-018b è un messaggio di utilizzo: “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.” Un item del manifest dichiara remote-resources, non è stato trovato alcun riferimento remoto, e il documento è scriptato. Poiché uno script può caricare file dal web in fase di esecuzione, EPUBCheck non può dirlo, quindi segnala solo una nota di utilizzo (mostrata con -u).
Il messaggio ufficiale
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.
- Gravità predefinita
- Utilizzo. Solo informativo e nascosto per impostazione predefinita: appare quando EPUBCheck viene eseguito con -u (--usage). Non rende invalido il EPUB.
- versione EPUBCheck
- 5.4.0
Cause tipiche
- Un documento scriptato che una volta ha caricato contenuti remoti e ora non lo fa più.
- Un template che dichiara sia risorse scriptate che remote su ogni documento.
- Uno script che recupera file remoti, che EPUBCheck non può vedere; in tal caso la proprietà è corretta.
Come correggerlo
- Apri il documento e controlla cosa caricano i suoi script.
- Se uno script recupera qualsiasi cosa da un indirizzo http o https, mantieni remote-resources.
- Se non viene caricato nulla di remoto, rimuovi remote-resources dall'elemento manifesto.
Quando non è questo
Se il documento non ha script, la stessa situazione è riportata come OPF-018, un avviso.
Termini usati qui
Altri messaggi di OPF
OPF-018The "remote-resources" property was declared in the Package Document, but no reference to remote resources has been found.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.