EPUBCheck OPF-021: schema URI non registrato
Aggiornato:
EPUBCheck OPF-021 è un messaggio di avviso: “Use of non-registered URI scheme type in href: "…".” Un href utilizza uno schema URI che non è registrato, a differenza di http, https o mailto. Le app di lettura potrebbero non sapere come gestire uno schema non registrato, quindi il link può non funzionare silenziosamente.
Il messaggio ufficiale
Use of non-registered URI scheme type in href: "%1$s".
- 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
%1$s, %2$s… sono completati con il file, valore o elemento EPUBCheck trovato.
Cause tipiche
- Un errore di battitura nello schema, come htp:// o http//.
- Uno schema specifico dell'app che funziona solo in un programma, come un collegamento destinato a un lettore particolare.
- Un percorso di file locale (C:\…) scritto dove ci si aspettava un URL.
Come correggerlo
- Trova i nomi href EPUBCheck.
- Correggi lo schema in uno standard (https, http, mailto…) se è un errore di battitura.
- Se il link funziona solo in un'app o su un computer, rimuovilo o sostituiscilo con un indirizzo web.
Quando non è questo
Se il link punta a un file all'interno del EPUB che non esiste, è RSC-007.
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-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-025Property value list "…" is not allowed, only one value must be specified.OPF-016The element "rootfile" is missing its required attribute "full-path".OPF-026Found malformed property value: "…".
Fonti
Testo e gravità del messaggio da EPUBCheck 5.4.0 (W3C, BSD-3-Clause). Spiegazione di EpubCC.