Skip to content

epub broken due to empty data-no-tooltip #2087

@petermm

Description

@petermm

So apparently according to standards data-no-tooltip must not be empty, eg. it has to be data-no-tooltip=""

This results in most/all epub being broken with "FATAL" error.

➜  ex_doc-0.37.0-rc.2 epubcheck ExDoc.epub
ERROR(PKG-005): ExDoc.epub/./ExDoc.epub(-1,-1): The mimetype file has an extra field of length 28. The use of the extra field feature of the ZIP format is not permitted for the mimetype file.
Validating using EPUB version 3.3 rules.
ERROR(RSC-005): ExDoc.epub/OEBPS/nav.xhtml(30,15): Error while parsing file: element "ol" not allowed yet; expected element "a" or "span"
ERROR(OPF-014): ExDoc.epub/OEBPS/readme.xhtml(-1,-1): The property "remote-resources" should be declared in the OPF file.
FATAL(RSC-016): ExDoc.epub/OEBPS/ExDoc.Markdown.xhtml(35,51): Fatal Error while parsing file: Attribute name "data-no-tooltip" associated with an element type "a" must be followed by the ' = ' character.
FATAL(RSC-016): ExDoc.epub/OEBPS/ExDoc.Markdown.Earmark.xhtml(33,45): Fatal Error while parsing file: Attribute name "data-no-tooltip" associated with an element type "a" must be followed by the ' = ' character.
ERROR(CSS-008): ExDoc.epub/OEBPS/dist/epub-elixir-FNUUKFP7.css(1,7722): An error occurred while parsing the CSS: Token "code" not allowed here.
ERROR(CSS-008): ExDoc.epub/OEBPS/dist/epub-elixir-FNUUKFP7.css(1,7862): An error occurred while parsing the CSS: Token "code" not allowed here.
ERROR(CSS-008): ExDoc.epub/OEBPS/dist/epub-elixir-FNUUKFP7.css(1,8908): An error occurred while parsing the CSS: Token "code" not allowed here.
ERROR(CSS-008): ExDoc.epub/OEBPS/dist/epub-elixir-FNUUKFP7.css(1,8908): An error occurred while parsing the CSS: Token "code" not allowed here.
ERROR(RSC-006): ExDoc.epub/OEBPS/readme.xhtml(17,178): Remote resource reference is not allowed in this context; resource "https://github.com/elixir-lang/ex_doc/workflows/CI/badge.svg" must be located in the EPUB container.
ERROR(RSC-012): ExDoc.epub/OEBPS/ExDoc.Markdown.xhtml(30,26): Fragment identifier is not defined.
ERROR(RSC-012): ExDoc.epub/OEBPS/ExDoc.Markdown.Earmark.xhtml(28,26): Fragment identifier is not defined.

Check finished with errors
Messages: 2 fatals / 10 errors / 0 warnings / 0 infos

EPUBCheck completed
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions