Saltar al contenido
EPUBCheck · Documento de paquete (OPF)

EPUBCheck OPF-017: remote-resources innecesarios

Actualizado:

EPUBCheck OPF-017 es un mensaje de error: “The attribute "full-path" on element "rootfile" must not be empty.” Un elemento rootfile en META-INF/container.xml tiene un atributo full-path vacío. El atributo debe contener la ruta al documento del paquete; un valor vacío deja a las aplicaciones de lectura sin nada que abrir.

El mensaje oficial

The attribute "full-path" on element "rootfile" must not be empty.

Severidad por defecto
Error. El EPUB rompe una regla de la especificación y es inválido. Las tiendas y el envío a Kindle pueden rechazarlo, y EPUBCheck sale con estado 1.
versión de EPUBCheck
5.4.0

Causas típicas

  • Un contenedor de plantilla container.xml cuyo camino nunca se llenó.
  • Un script de construcción que escribe la ruta desde una variable que resultó vacía.
  • Un camino eliminado por error al editar el archivo.

Cómo arreglarlo

  1. Abre META-INF/container.xml.
  2. Escribe la ruta del documento del paquete desde la raíz del archivo, por ejemplo full-path="OEBPS/content.opf".
  3. Verifica la ruta letra por letra contra el archivo real, luego vuelve a construir el EPUB.

Cuándo no es esto

Si el atributo falta por completo, eso es OPF-016.

Términos usados aquí

Otros mensajes de OPF

  • OPF-016 The element "rootfile" is missing its required attribute "full-path".
  • OPF-018 The "remote-resources" property was declared in the Package Document, but no reference to remote resources has been found.
  • 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-015 The property "…" should not be declared in the OPF file.
  • OPF-014 The property "…" should be declared in the OPF file.
  • OPF-013 Resource "…" is declared with MIME type "…" in content, but has MIME type "…" in the package document.

Fuentes

Texto y severidad del mensaje de EPUBCheck 5.4.0 (W3C, BSD-3-Clause). Explicación por EpubCC.

FAQ

¿Qué significa EPUBCheck OPF-017?

EPUBCheck OPF-017 es un mensaje de error: “The attribute "full-path" on element "rootfile" must not be empty.” Un elemento rootfile en META-INF/container.xml tiene un atributo full-path vacío. El atributo debe contener la ruta al documento del paquete; un valor vacío deja a las aplicaciones de lectura sin nada que abrir.

¿Es OPF-017 un error?

OPF-017 se informa como un error por defecto. El EPUB infringe una regla de la especificación y es inválido. Las tiendas y el envío a Kindle pueden rechazarlo, y EPUBCheck sale con el estado 1.

Herramientas de PDF a EPUB

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

Ver todas las herramientas