Saltar al contenido
EPUBCheck · Documento de paquete (OPF)

EPUBCheck OPF-016: rootfile full-path vacío

Actualizado:

EPUBCheck OPF-016 es un mensaje de error: “The element "rootfile" is missing its required attribute "full-path".” Un elemento rootfile en META-INF/container.xml no tiene un atributo full-path. Ese atributo es lo único que le dice a las aplicaciones de lectura dónde se encuentra el documento del paquete, por lo que el libro no se puede abrir sin él.

El mensaje oficial

The element "rootfile" is missing its required attribute "full-path".

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 container.xml escrito a mano que falta el atributo.
  • El nombre del atributo está mal escrito, como fullpath o full_path.
  • Un contenedor de plantilla container.xml que nunca se completó.

Cómo arreglarlo

  1. Abre META-INF/container.xml.
  2. Añadir el camino completo con la ruta del documento de paquete desde la raíz del archivo, por ejemplo <rootfile full-path="OEBPS/content.opf" media-type="application/oebps-package+xml"/>.
  3. Verifica que la ruta coincida con el nombre de archivo y el caso reales, luego vuelve a construir el EPUB.

Cuándo no es esto

Si full-path está presente pero vacío, EPUBCheck informa OPF-017; si apunta a un archivo faltante, OPF-002.

Términos usados aquí

Otros mensajes de OPF

  • OPF-015 The property "…" should not be declared in the OPF file.
  • OPF-017 The attribute "full-path" on element "rootfile" must not be empty.
  • OPF-014 The property "…" should be declared in the OPF file.
  • 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-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-016?

EPUBCheck OPF-016 es un mensaje de error: “The element "rootfile" is missing its required attribute "full-path".” Un elemento rootfile en META-INF/container.xml no tiene un atributo full-path. Ese atributo es lo único que le dice a las aplicaciones de lectura dónde se encuentra el documento del paquete, por lo que el libro no se puede abrir sin él.

¿Es OPF-016 un error?

OPF-016 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