EPUBCheck OPF-097: archivo del manifiesto nunca usado
Actualizado:
EPUBCheck OPF-097 es un mensaje de uso: “Resource "…" is listed in the manifest, but no reference to it was found in content documents.” Un archivo está listado en el manifiesto pero nada en el contenido lo referencia. Es una nota de uso (mostrada con -u): el archivo es válido pero probablemente no utilizado, lo que hace que el EPUB sea más grande sin razón.
El mensaje oficial
Resource "%1$s" is listed in the manifest, but no reference to it was found in content documents.
- Severidad por defecto
- Uso. Informativo solo y oculto por defecto: aparece cuando EPUBCheck se ejecuta con -u (--usage). No hace que el EPUB sea inválido.
- versión de EPUBCheck
- 5.4.0
%1$s, %2$s… se completan con el archivo, valor o elemento EPUBCheck encontrado.
Causas típicas
- Imágenes, fuentes o hojas de estilo que quedan después de la edición.
- Archivos que una plantilla agrega a cada libro.
- Una referencia escrita de una manera que EPUBCheck no puede seguir, como desde un script.
Cómo arreglarlo
- Lee los nombres de archivo EPUBCheck.
- Si el libro no lo necesita, elimina el archivo y su elemento en el manifiesto.
- Si es necesario, asegúrate de que el contenido lo referencie con una ruta correcta.
Cuándo no es esto
Si un archivo está en el archivo pero falta en el manifiesto, eso es OPF-003, el caso opuesto.
Términos usados aquí
Otros mensajes de OPF
OPF-096Non-linear content must be reachable, but found no hyperlink to "…".OPF-096bNo hyperlink was found to non-linear document "…", please check that it can be reached from scripted content.OPF-098The "href" attribute must reference resources, not elements in the package document, but found URL "…".OPF-095The "media-type" attribute of "voicing" links must be an audio MIME type, but found "…".OPF-099The manifest must not list the package document.OPF-094The "media-type" attribute is required for "…" links.
Fuentes
Texto y severidad del mensaje de EPUBCheck 5.4.0 (W3C, BSD-3-Clause). Explicación por EpubCC.