EPUBCheck OPF-018b: esquema URI no registrado
Actualizado:
EPUBCheck OPF-018b es un mensaje de uso: “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 ítem en el manifiesto declara recursos remotos, no se encontró ninguna referencia remota y el documento está programado. Dado que un script puede cargar archivos de la web en tiempo de ejecución, EPUBCheck no puede decir, por lo que solo informa una nota de uso (mostrada con -u).
El mensaje oficial
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.
- Severidad por defecto
- Uso. Informativo solo y oculto por defecto: aparece cuando EPUBCheck se ejecuta con -u (--usage). No hace que el EPUB sea inválido.
- versión de EPUBCheck
- 5.4.0
Causas típicas
- Un documento scriptado que una vez cargó contenido remoto y ya no lo hace.
- Una plantilla que declara tanto recursos scriptados como remotos en cada documento.
- Un script que obtiene archivos remotos, que EPUBCheck no puede ver; en ese caso la propiedad es correcta.
Cómo arreglarlo
- Abre el documento y verifica qué scripts carga.
- Si un script obtiene cualquier cosa de una dirección http o https, mantiene los recursos remotos.
- Si no se carga nada remoto, elimina remote-resources del elemento del manifiesto.
Cuándo no es esto
Si el documento no tiene scripts, la misma situación se informa como OPF-018, una advertencia.
Términos usados aquí
Otros mensajes de 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.
Fuentes
Texto y severidad del mensaje de EPUBCheck 5.4.0 (W3C, BSD-3-Clause). Explicación por EpubCC.