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
- Abre META-INF/container.xml.
- Escribe la ruta del documento del paquete desde la raíz del archivo, por ejemplo full-path="OEBPS/content.opf".
- 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-016The element "rootfile" is missing its required attribute "full-path".OPF-018The "remote-resources" property was declared in the Package Document, but no reference to remote resources has been found.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-015The property "…" should not be declared in the OPF file.OPF-014The property "…" should be declared in the OPF file.OPF-013Resource "…" 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.