EPUBCheck OPF-018: remote-resources no verificados
Actualizado:
EPUBCheck OPF-018 es un mensaje de advertencia: “The "remote-resources" property was declared in the Package Document, but no reference to remote resources has been found.” Un ítem en el manifiesto declara recursos remotos, pero EPUBCheck no encontró ninguna referencia a un recurso remoto en él. La propiedad le dice a las aplicaciones de lectura que el documento necesita la red, por lo que solo debe estar allí cuando sea cierto.
El mensaje oficial
The "remote-resources" property was declared in the Package Document, but no reference to remote resources has been found.
- Severidad por defecto
- Advertencia. El EPUB sigue siendo válido, pero es probable que algo cause problemas en algunas aplicaciones de lectura. EPUBCheck sale con 0 a menos que pases --failonwarnings.
- versión de EPUBCheck
- 5.4.0
Causas típicas
- La imagen, fuente, audio o video remoto fue eliminado o copiado en el EPUB, pero la propiedad se mantuvo.
- Una plantilla de manifiesto que declaraba recursos remotos en cada documento.
- Una herramienta que agrega la propiedad por defecto.
Cómo arreglarlo
- Encuentra el item del manifiesto EPUBCheck que apunta.
- Confirma que el documento ya no carga nada desde una dirección http o https.
- Eliminar remote-resources del atributo properties de ese ítem, manteniendo cualquier otro atributo.
Cuándo no es esto
Si el documento utiliza scripts, EPUBCheck informa OPF-018b en su lugar, porque un script podría cargar el recurso.
Términos usados aquí
Otros mensajes de 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.
Fuentes
Texto y severidad del mensaje de EPUBCheck 5.4.0 (W3C, BSD-3-Clause). Explicación por EpubCC.