Saltar al contenido
EPUBCheck · Documento de paquete (OPF)

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

  1. Encuentra el item del manifiesto EPUBCheck que apunta.
  2. Confirma que el documento ya no carga nada desde una dirección http o https.
  3. 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-018b 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.
  • OPF-017 The attribute "full-path" on element "rootfile" must not be empty.
  • OPF-016 The element "rootfile" is missing its required attribute "full-path".
  • OPF-015 The property "…" should not be declared in the OPF file.
  • OPF-021 Use of non-registered URI scheme type in href: "…".
  • OPF-014 The 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.

FAQ

¿Qué significa EPUBCheck OPF-018?

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.

¿Es OPF-018 un error?

OPF-018 se informa como una advertencia por defecto. El EPUB sigue siendo válido, pero algo puede causar problemas en algunas aplicaciones de lectura. EPUBCheck sale con 0 a menos que pases --failonwarnings.

Herramientas de PDF a EPUB

Cada herramienta utiliza el mismo motor. Hasta 3 libros al día son gratuitos.

Ver todas las herramientas