sphinx-doc / sphinx

The Sphinx documentation generator
https://www.sphinx-doc.org/
Other
6.48k stars 2.11k forks source link

Run epubcheck as a testing #4611

Closed tk0miya closed 4 years ago

tk0miya commented 6 years ago

Problem

Expected results

Run epubcheck as a part of testing.

tk0miya commented 6 years ago

As a trial, I ran it with following Dockerfile:

FROM tk0miya/sphinx-html

RUN rm -rf /var/lib/apt/lists/*
RUN apt update
RUN apt install -y openjdk-8-jre-headless epubcheck
RUN git clone http://github.com/sphinx-doc/sphinx
WORKDIR /docs/sphinx
RUN sphinx-build -b epub doc/ build/epub
RUN java -jar /usr/share/java/epubcheck.jar build/epub/sphinx.epub

And I got following result. We have to fix them all before enabling epubcheck.

Validating using EPUB version 3.0.1 rules.
ERROR(OPF-049): build/epub/sphinx.epub/content.opf(196,33): Item id 'epub-101' was not found in the manifest.
ERROR(RSC-005): build/epub/sphinx.epub/content.opf(196,33): Error while parsing file 'itemref element idref attribute does not resolve to a manifest item element'.
ERROR(RSC-005): build/epub/sphinx.epub/authors.xhtml(5,64): Error while parsing file 'value of attribute "http-equiv" is invalid; must be a string matching the regular expression "([Dd][Ee][Ff][Aa][Uu][Ll][Tt]\-[Ss][Tt][Yy][Ll][Ee])|([Rr][Ee][Ff][Rr][Ee][Ss][Hh])|([Cc][Oo][Nn][Tt][Ee][Nn][Tt]\-[Tt][Yy][Pp][Ee])"'.
ERROR(RSC-005): build/epub/sphinx.epub/builders.xhtml(5,64): Error while parsing file 'value of attribute "http-equiv" is invalid; must be a string matching the regular expression "([Dd][Ee][Ff][Aa][Uu][Ll][Tt]\-[Ss][Tt][Yy][Ll][Ee])|([Rr][Ee][Ff][Rr][Ee][Ss][Hh])|([Cc][Oo][Nn][Tt][Ee][Nn][Tt]\-[Tt][Yy][Pp][Ee])"'.
ERROR(RSC-005): build/epub/sphinx.epub/changes.xhtml(5,64): Error while parsing file 'value of attribute "http-equiv" is invalid; must be a string matching the regular expression "([Dd][Ee][Ff][Aa][Uu][Ll][Tt]\-[Ss][Tt][Yy][Ll][Ee])|([Rr][Ee][Ff][Rr][Ee][Ss][Hh])|([Cc][Oo][Nn][Tt][Ee][Nn][Tt]\-[Tt][Yy][Pp][Ee])"'.
ERROR(RSC-005): build/epub/sphinx.epub/config.xhtml(5,64): Error while parsing file 'value of attribute "http-equiv" is invalid; must be a string matching the regular expression "([Dd][Ee][Ff][Aa][Uu][Ll][Tt]\-[Ss][Tt][Yy][Ll][Ee])|([Rr][Ee][Ff][Rr][Ee][Ss][Hh])|([Cc][Oo][Nn][Tt][Ee][Nn][Tt]\-[Tt][Yy][Pp][Ee])"'.
ERROR(RSC-005): build/epub/sphinx.epub/contents.xhtml(5,64): Error while parsing file 'value of attribute "http-equiv" is invalid; must be a string matching the regular expression "([Dd][Ee][Ff][Aa][Uu][Ll][Tt]\-[Ss][Tt][Yy][Ll][Ee])|([Rr][Ee][Ff][Rr][Ee][Ss][Hh])|([Cc][Oo][Nn][Tt][Ee][Nn][Tt]\-[Tt][Yy][Pp][Ee])"'.
ERROR(RSC-005): build/epub/sphinx.epub/develop.xhtml(5,64): Error while parsing file 'value of attribute "http-equiv" is invalid; must be a string matching the regular expression "([Dd][Ee][Ff][Aa][Uu][Ll][Tt]\-[Ss][Tt][Yy][Ll][Ee])|([Rr][Ee][Ff][Rr][Ee][Ss][Hh])|([Cc][Oo][Nn][Tt][Ee][Nn][Tt]\-[Tt][Yy][Pp][Ee])"'.
ERROR(RSC-005): build/epub/sphinx.epub/devguide.xhtml(5,64): Error while parsing file 'value of attribute "http-equiv" is invalid; must be a string matching the regular expression "([Dd][Ee][Ff][Aa][Uu][Ll][Tt]\-[Ss][Tt][Yy][Ll][Ee])|([Rr][Ee][Ff][Rr][Ee][Ss][Hh])|([Cc][Oo][Nn][Tt][Ee][Nn][Tt]\-[Tt][Yy][Pp][Ee])"'.
ERROR(RSC-005): build/epub/sphinx.epub/domains.xhtml(5,64): Error while parsing file 'value of attribute "http-equiv" is invalid; must be a string matching the regular expression "([Dd][Ee][Ff][Aa][Uu][Ll][Tt]\-[Ss][Tt][Yy][Ll][Ee])|([Rr][Ee][Ff][Rr][Ee][Ss][Hh])|([Cc][Oo][Nn][Tt][Ee][Nn][Tt]\-[Tt][Yy][Pp][Ee])"'.
ERROR(RSC-005): build/epub/sphinx.epub/examples.xhtml(5,64): Error while parsing file 'value of attribute "http-equiv" is invalid; must be a string matching the regular expression "([Dd][Ee][Ff][Aa][Uu][Ll][Tt]\-[Ss][Tt][Yy][Ll][Ee])|([Rr][Ee][Ff][Rr][Ee][Ss][Hh])|([Cc][Oo][Nn][Tt][Ee][Nn][Tt]\-[Tt][Yy][Pp][Ee])"'.
ERROR(RSC-005): build/epub/sphinx.epub/extensions.xhtml(5,64): Error while parsing file 'value of attribute "http-equiv" is invalid; must be a string matching the regular expression "([Dd][Ee][Ff][Aa][Uu][Ll][Tt]\-[Ss][Tt][Yy][Ll][Ee])|([Rr][Ee][Ff][Rr][Ee][Ss][Hh])|([Cc][Oo][Nn][Tt][Ee][Nn][Tt]\-[Tt][Yy][Pp][Ee])"'.
ERROR(RSC-005): build/epub/sphinx.epub/faq.xhtml(5,64): Error while parsing file 'value of attribute "http-equiv" is invalid; must be a string matching the regular expression "([Dd][Ee][Ff][Aa][Uu][Ll][Tt]\-[Ss][Tt][Yy][Ll][Ee])|([Rr][Ee][Ff][Rr][Ee][Ss][Hh])|([Cc][Oo][Nn][Tt][Ee][Nn][Tt]\-[Tt][Yy][Pp][Ee])"'.
ERROR(RSC-005): build/epub/sphinx.epub/glossary.xhtml(5,64): Error while parsing file 'value of attribute "http-equiv" is invalid; must be a string matching the regular expression "([Dd][Ee][Ff][Aa][Uu][Ll][Tt]\-[Ss][Tt][Yy][Ll][Ee])|([Rr][Ee][Ff][Rr][Ee][Ss][Hh])|([Cc][Oo][Nn][Tt][Ee][Nn][Tt]\-[Tt][Yy][Pp][Ee])"'.
ERROR(RSC-005): build/epub/sphinx.epub/index.xhtml(5,64): Error while parsing file 'value of attribute "http-equiv" is invalid; must be a string matching the regular expression "([Dd][Ee][Ff][Aa][Uu][Ll][Tt]\-[Ss][Tt][Yy][Ll][Ee])|([Rr][Ee][Ff][Rr][Ee][Ss][Hh])|([Cc][Oo][Nn][Tt][Ee][Nn][Tt]\-[Tt][Yy][Pp][Ee])"'.
ERROR(RSC-005): build/epub/sphinx.epub/intl.xhtml(5,64): Error while parsing file 'value of attribute "http-equiv" is invalid; must be a string matching the regular expression "([Dd][Ee][Ff][Aa][Uu][Ll][Tt]\-[Ss][Tt][Yy][Ll][Ee])|([Rr][Ee][Ff][Rr][Ee][Ss][Hh])|([Cc][Oo][Nn][Tt][Ee][Nn][Tt]\-[Tt][Yy][Pp][Ee])"'.
ERROR(RSC-005): build/epub/sphinx.epub/intro.xhtml(5,64): Error while parsing file 'value of attribute "http-equiv" is invalid; must be a string matching the regular expression "([Dd][Ee][Ff][Aa][Uu][Ll][Tt]\-[Ss][Tt][Yy][Ll][Ee])|([Rr][Ee][Ff][Rr][Ee][Ss][Hh])|([Cc][Oo][Nn][Tt][Ee][Nn][Tt]\-[Tt][Yy][Pp][Ee])"'.
ERROR(RSC-005): build/epub/sphinx.epub/latex.xhtml(5,64): Error while parsing file 'value of attribute "http-equiv" is invalid; must be a string matching the regular expression "([Dd][Ee][Ff][Aa][Uu][Ll][Tt]\-[Ss][Tt][Yy][Ll][Ee])|([Rr][Ee][Ff][Rr][Ee][Ss][Hh])|([Cc][Oo][Nn][Tt][Ee][Nn][Tt]\-[Tt][Yy][Pp][Ee])"'.
ERROR(RSC-005): build/epub/sphinx.epub/markdown.xhtml(5,64): Error while parsing file 'value of attribute "http-equiv" is invalid; must be a string matching the regular expression "([Dd][Ee][Ff][Aa][Uu][Ll][Tt]\-[Ss][Tt][Yy][Ll][Ee])|([Rr][Ee][Ff][Rr][Ee][Ss][Hh])|([Cc][Oo][Nn][Tt][Ee][Nn][Tt]\-[Tt][Yy][Pp][Ee])"'.
ERROR(RSC-005): build/epub/sphinx.epub/py-modindex.xhtml(5,64): Error while parsing file 'value of attribute "http-equiv" is invalid; must be a string matching the regular expression "([Dd][Ee][Ff][Aa][Uu][Ll][Tt]\-[Ss][Tt][Yy][Ll][Ee])|([Rr][Ee][Ff][Rr][Ee][Ss][Hh])|([Cc][Oo][Nn][Tt][Ee][Nn][Tt]\-[Tt][Yy][Pp][Ee])"'.
ERROR(RSC-005): build/epub/sphinx.epub/rest.xhtml(5,64): Error while parsing file 'value of attribute "http-equiv" is invalid; must be a string matching the regular expression "([Dd][Ee][Ff][Aa][Uu][Ll][Tt]\-[Ss][Tt][Yy][Ll][Ee])|([Rr][Ee][Ff][Rr][Ee][Ss][Hh])|([Cc][Oo][Nn][Tt][Ee][Nn][Tt]\-[Tt][Yy][Pp][Ee])"'.
ERROR(RSC-005): build/epub/sphinx.epub/setuptools.xhtml(5,64): Error while parsing file 'value of attribute "http-equiv" is invalid; must be a string matching the regular expression "([Dd][Ee][Ff][Aa][Uu][Ll][Tt]\-[Ss][Tt][Yy][Ll][Ee])|([Rr][Ee][Ff][Rr][Ee][Ss][Hh])|([Cc][Oo][Nn][Tt][Ee][Nn][Tt]\-[Tt][Yy][Pp][Ee])"'.
ERROR(RSC-005): build/epub/sphinx.epub/templating.xhtml(5,64): Error while parsing file 'value of attribute "http-equiv" is invalid; must be a string matching the regular expression "([Dd][Ee][Ff][Aa][Uu][Ll][Tt]\-[Ss][Tt][Yy][Ll][Ee])|([Rr][Ee][Ff][Rr][Ee][Ss][Hh])|([Cc][Oo][Nn][Tt][Ee][Nn][Tt]\-[Tt][Yy][Pp][Ee])"'.
ERROR(RSC-005): build/epub/sphinx.epub/theming.xhtml(5,64): Error while parsing file 'value of attribute "http-equiv" is invalid; must be a string matching the regular expression "([Dd][Ee][Ff][Aa][Uu][Ll][Tt]\-[Ss][Tt][Yy][Ll][Ee])|([Rr][Ee][Ff][Rr][Ee][Ss][Hh])|([Cc][Oo][Nn][Tt][Ee][Nn][Tt]\-[Tt][Yy][Pp][Ee])"'.
ERROR(RSC-005): build/epub/sphinx.epub/tutorial.xhtml(5,64): Error while parsing file 'value of attribute "http-equiv" is invalid; must be a string matching the regular expression "([Dd][Ee][Ff][Aa][Uu][Ll][Tt]\-[Ss][Tt][Yy][Ll][Ee])|([Rr][Ee][Ff][Rr][Ee][Ss][Hh])|([Cc][Oo][Nn][Tt][Ee][Nn][Tt]\-[Tt][Yy][Pp][Ee])"'.
ERROR(RSC-005): build/epub/sphinx.epub/websupport.xhtml(5,64): Error while parsing file 'value of attribute "http-equiv" is invalid; must be a string matching the regular expression "([Dd][Ee][Ff][Aa][Uu][Ll][Tt]\-[Ss][Tt][Yy][Ll][Ee])|([Rr][Ee][Ff][Rr][Ee][Ss][Hh])|([Cc][Oo][Nn][Tt][Ee][Nn][Tt]\-[Tt][Yy][Pp][Ee])"'.
ERROR(RSC-005): build/epub/sphinx.epub/ext/autodoc.xhtml(5,64): Error while parsing file 'value of attribute "http-equiv" is invalid; must be a string matching the regular expression "([Dd][Ee][Ff][Aa][Uu][Ll][Tt]\-[Ss][Tt][Yy][Ll][Ee])|([Rr][Ee][Ff][Rr][Ee][Ss][Hh])|([Cc][Oo][Nn][Tt][Ee][Nn][Tt]\-[Tt][Yy][Pp][Ee])"'.
ERROR(RSC-005): build/epub/sphinx.epub/ext/autosectionlabel.xhtml(5,64): Error while parsing file 'value of attribute "http-equiv" is invalid; must be a string matching the regular expression "([Dd][Ee][Ff][Aa][Uu][Ll][Tt]\-[Ss][Tt][Yy][Ll][Ee])|([Rr][Ee][Ff][Rr][Ee][Ss][Hh])|([Cc][Oo][Nn][Tt][Ee][Nn][Tt]\-[Tt][Yy][Pp][Ee])"'.
ERROR(RSC-005): build/epub/sphinx.epub/ext/autosummary.xhtml(5,64): Error while parsing file 'value of attribute "http-equiv" is invalid; must be a string matching the regular expression "([Dd][Ee][Ff][Aa][Uu][Ll][Tt]\-[Ss][Tt][Yy][Ll][Ee])|([Rr][Ee][Ff][Rr][Ee][Ss][Hh])|([Cc][Oo][Nn][Tt][Ee][Nn][Tt]\-[Tt][Yy][Pp][Ee])"'.
ERROR(RSC-005): build/epub/sphinx.epub/ext/builtins.xhtml(5,64): Error while parsing file 'value of attribute "http-equiv" is invalid; must be a string matching the regular expression "([Dd][Ee][Ff][Aa][Uu][Ll][Tt]\-[Ss][Tt][Yy][Ll][Ee])|([Rr][Ee][Ff][Rr][Ee][Ss][Hh])|([Cc][Oo][Nn][Tt][Ee][Nn][Tt]\-[Tt][Yy][Pp][Ee])"'.
ERROR(RSC-005): build/epub/sphinx.epub/ext/coverage.xhtml(5,64): Error while parsing file 'value of attribute "http-equiv" is invalid; must be a string matching the regular expression "([Dd][Ee][Ff][Aa][Uu][Ll][Tt]\-[Ss][Tt][Yy][Ll][Ee])|([Rr][Ee][Ff][Rr][Ee][Ss][Hh])|([Cc][Oo][Nn][Tt][Ee][Nn][Tt]\-[Tt][Yy][Pp][Ee])"'.
ERROR(RSC-005): build/epub/sphinx.epub/ext/doctest.xhtml(5,64): Error while parsing file 'value of attribute "http-equiv" is invalid; must be a string matching the regular expression "([Dd][Ee][Ff][Aa][Uu][Ll][Tt]\-[Ss][Tt][Yy][Ll][Ee])|([Rr][Ee][Ff][Rr][Ee][Ss][Hh])|([Cc][Oo][Nn][Tt][Ee][Nn][Tt]\-[Tt][Yy][Pp][Ee])"'.
ERROR(RSC-005): build/epub/sphinx.epub/ext/example_google.xhtml(5,64): Error while parsing file 'value of attribute "http-equiv" is invalid; must be a string matching the regular expression "([Dd][Ee][Ff][Aa][Uu][Ll][Tt]\-[Ss][Tt][Yy][Ll][Ee])|([Rr][Ee][Ff][Rr][Ee][Ss][Hh])|([Cc][Oo][Nn][Tt][Ee][Nn][Tt]\-[Tt][Yy][Pp][Ee])"'.
ERROR(RSC-005): build/epub/sphinx.epub/ext/example_numpy.xhtml(5,64): Error while parsing file 'value of attribute "http-equiv" is invalid; must be a string matching the regular expression "([Dd][Ee][Ff][Aa][Uu][Ll][Tt]\-[Ss][Tt][Yy][Ll][Ee])|([Rr][Ee][Ff][Rr][Ee][Ss][Hh])|([Cc][Oo][Nn][Tt][Ee][Nn][Tt]\-[Tt][Yy][Pp][Ee])"'.
ERROR(RSC-005): build/epub/sphinx.epub/ext/extlinks.xhtml(5,64): Error while parsing file 'value of attribute "http-equiv" is invalid; must be a string matching the regular expression "([Dd][Ee][Ff][Aa][Uu][Ll][Tt]\-[Ss][Tt][Yy][Ll][Ee])|([Rr][Ee][Ff][Rr][Ee][Ss][Hh])|([Cc][Oo][Nn][Tt][Ee][Nn][Tt]\-[Tt][Yy][Pp][Ee])"'.
ERROR(RSC-005): build/epub/sphinx.epub/ext/githubpages.xhtml(5,64): Error while parsing file 'value of attribute "http-equiv" is invalid; must be a string matching the regular expression "([Dd][Ee][Ff][Aa][Uu][Ll][Tt]\-[Ss][Tt][Yy][Ll][Ee])|([Rr][Ee][Ff][Rr][Ee][Ss][Hh])|([Cc][Oo][Nn][Tt][Ee][Nn][Tt]\-[Tt][Yy][Pp][Ee])"'.
ERROR(RSC-005): build/epub/sphinx.epub/ext/graphviz.xhtml(5,64): Error while parsing file 'value of attribute "http-equiv" is invalid; must be a string matching the regular expression "([Dd][Ee][Ff][Aa][Uu][Ll][Tt]\-[Ss][Tt][Yy][Ll][Ee])|([Rr][Ee][Ff][Rr][Ee][Ss][Hh])|([Cc][Oo][Nn][Tt][Ee][Nn][Tt]\-[Tt][Yy][Pp][Ee])"'.
ERROR(RSC-005): build/epub/sphinx.epub/ext/ifconfig.xhtml(5,64): Error while parsing file 'value of attribute "http-equiv" is invalid; must be a string matching the regular expression "([Dd][Ee][Ff][Aa][Uu][Ll][Tt]\-[Ss][Tt][Yy][Ll][Ee])|([Rr][Ee][Ff][Rr][Ee][Ss][Hh])|([Cc][Oo][Nn][Tt][Ee][Nn][Tt]\-[Tt][Yy][Pp][Ee])"'.
ERROR(RSC-005): build/epub/sphinx.epub/ext/imgconverter.xhtml(5,64): Error while parsing file 'value of attribute "http-equiv" is invalid; must be a string matching the regular expression "([Dd][Ee][Ff][Aa][Uu][Ll][Tt]\-[Ss][Tt][Yy][Ll][Ee])|([Rr][Ee][Ff][Rr][Ee][Ss][Hh])|([Cc][Oo][Nn][Tt][Ee][Nn][Tt]\-[Tt][Yy][Pp][Ee])"'.
ERROR(RSC-005): build/epub/sphinx.epub/ext/inheritance.xhtml(5,64): Error while parsing file 'value of attribute "http-equiv" is invalid; must be a string matching the regular expression "([Dd][Ee][Ff][Aa][Uu][Ll][Tt]\-[Ss][Tt][Yy][Ll][Ee])|([Rr][Ee][Ff][Rr][Ee][Ss][Hh])|([Cc][Oo][Nn][Tt][Ee][Nn][Tt]\-[Tt][Yy][Pp][Ee])"'.
ERROR(RSC-005): build/epub/sphinx.epub/ext/intersphinx.xhtml(5,64): Error while parsing file 'value of attribute "http-equiv" is invalid; must be a string matching the regular expression "([Dd][Ee][Ff][Aa][Uu][Ll][Tt]\-[Ss][Tt][Yy][Ll][Ee])|([Rr][Ee][Ff][Rr][Ee][Ss][Hh])|([Cc][Oo][Nn][Tt][Ee][Nn][Tt]\-[Tt][Yy][Pp][Ee])"'.
ERROR(RSC-005): build/epub/sphinx.epub/ext/linkcode.xhtml(5,64): Error while parsing file 'value of attribute "http-equiv" is invalid; must be a string matching the regular expression "([Dd][Ee][Ff][Aa][Uu][Ll][Tt]\-[Ss][Tt][Yy][Ll][Ee])|([Rr][Ee][Ff][Rr][Ee][Ss][Hh])|([Cc][Oo][Nn][Tt][Ee][Nn][Tt]\-[Tt][Yy][Pp][Ee])"'.
ERROR(RSC-005): build/epub/sphinx.epub/ext/math.xhtml(5,64): Error while parsing file 'value of attribute "http-equiv" is invalid; must be a string matching the regular expression "([Dd][Ee][Ff][Aa][Uu][Ll][Tt]\-[Ss][Tt][Yy][Ll][Ee])|([Rr][Ee][Ff][Rr][Ee][Ss][Hh])|([Cc][Oo][Nn][Tt][Ee][Nn][Tt]\-[Tt][Yy][Pp][Ee])"'.
ERROR(RSC-005): build/epub/sphinx.epub/ext/napoleon.xhtml(5,64): Error while parsing file 'value of attribute "http-equiv" is invalid; must be a string matching the regular expression "([Dd][Ee][Ff][Aa][Uu][Ll][Tt]\-[Ss][Tt][Yy][Ll][Ee])|([Rr][Ee][Ff][Rr][Ee][Ss][Hh])|([Cc][Oo][Nn][Tt][Ee][Nn][Tt]\-[Tt][Yy][Pp][Ee])"'.
ERROR(RSC-005): build/epub/sphinx.epub/ext/thirdparty.xhtml(5,64): Error while parsing file 'value of attribute "http-equiv" is invalid; must be a string matching the regular expression "([Dd][Ee][Ff][Aa][Uu][Ll][Tt]\-[Ss][Tt][Yy][Ll][Ee])|([Rr][Ee][Ff][Rr][Ee][Ss][Hh])|([Cc][Oo][Nn][Tt][Ee][Nn][Tt]\-[Tt][Yy][Pp][Ee])"'.
ERROR(RSC-005): build/epub/sphinx.epub/ext/todo.xhtml(5,64): Error while parsing file 'value of attribute "http-equiv" is invalid; must be a string matching the regular expression "([Dd][Ee][Ff][Aa][Uu][Ll][Tt]\-[Ss][Tt][Yy][Ll][Ee])|([Rr][Ee][Ff][Rr][Ee][Ss][Hh])|([Cc][Oo][Nn][Tt][Ee][Nn][Tt]\-[Tt][Yy][Pp][Ee])"'.
ERROR(RSC-005): build/epub/sphinx.epub/ext/viewcode.xhtml(5,64): Error while parsing file 'value of attribute "http-equiv" is invalid; must be a string matching the regular expression "([Dd][Ee][Ff][Aa][Uu][Ll][Tt]\-[Ss][Tt][Yy][Ll][Ee])|([Rr][Ee][Ff][Rr][Ee][Ss][Hh])|([Cc][Oo][Nn][Tt][Ee][Nn][Tt]\-[Tt][Yy][Pp][Ee])"'.
ERROR(RSC-005): build/epub/sphinx.epub/extdev/appapi.xhtml(5,64): Error while parsing file 'value of attribute "http-equiv" is invalid; must be a string matching the regular expression "([Dd][Ee][Ff][Aa][Uu][Ll][Tt]\-[Ss][Tt][Yy][Ll][Ee])|([Rr][Ee][Ff][Rr][Ee][Ss][Hh])|([Cc][Oo][Nn][Tt][Ee][Nn][Tt]\-[Tt][Yy][Pp][Ee])"'.
ERROR(RSC-005): build/epub/sphinx.epub/extdev/builderapi.xhtml(5,64): Error while parsing file 'value of attribute "http-equiv" is invalid; must be a string matching the regular expression "([Dd][Ee][Ff][Aa][Uu][Ll][Tt]\-[Ss][Tt][Yy][Ll][Ee])|([Rr][Ee][Ff][Rr][Ee][Ss][Hh])|([Cc][Oo][Nn][Tt][Ee][Nn][Tt]\-[Tt][Yy][Pp][Ee])"'.
ERROR(RSC-005): build/epub/sphinx.epub/extdev/collectorapi.xhtml(5,64): Error while parsing file 'value of attribute "http-equiv" is invalid; must be a string matching the regular expression "([Dd][Ee][Ff][Aa][Uu][Ll][Tt]\-[Ss][Tt][Yy][Ll][Ee])|([Rr][Ee][Ff][Rr][Ee][Ss][Hh])|([Cc][Oo][Nn][Tt][Ee][Nn][Tt]\-[Tt][Yy][Pp][Ee])"'.
ERROR(RSC-005): build/epub/sphinx.epub/extdev/domainapi.xhtml(5,64): Error while parsing file 'value of attribute "http-equiv" is invalid; must be a string matching the regular expression "([Dd][Ee][Ff][Aa][Uu][Ll][Tt]\-[Ss][Tt][Yy][Ll][Ee])|([Rr][Ee][Ff][Rr][Ee][Ss][Hh])|([Cc][Oo][Nn][Tt][Ee][Nn][Tt]\-[Tt][Yy][Pp][Ee])"'.
ERROR(RSC-005): build/epub/sphinx.epub/extdev/envapi.xhtml(5,64): Error while parsing file 'value of attribute "http-equiv" is invalid; must be a string matching the regular expression "([Dd][Ee][Ff][Aa][Uu][Ll][Tt]\-[Ss][Tt][Yy][Ll][Ee])|([Rr][Ee][Ff][Rr][Ee][Ss][Hh])|([Cc][Oo][Nn][Tt][Ee][Nn][Tt]\-[Tt][Yy][Pp][Ee])"'.
ERROR(RSC-005): build/epub/sphinx.epub/extdev/index.xhtml(5,64): Error while parsing file 'value of attribute "http-equiv" is invalid; must be a string matching the regular expression "([Dd][Ee][Ff][Aa][Uu][Ll][Tt]\-[Ss][Tt][Yy][Ll][Ee])|([Rr][Ee][Ff][Rr][Ee][Ss][Hh])|([Cc][Oo][Nn][Tt][Ee][Nn][Tt]\-[Tt][Yy][Pp][Ee])"'.
ERROR(RSC-005): build/epub/sphinx.epub/extdev/logging.xhtml(5,64): Error while parsing file 'value of attribute "http-equiv" is invalid; must be a string matching the regular expression "([Dd][Ee][Ff][Aa][Uu][Ll][Tt]\-[Ss][Tt][Yy][Ll][Ee])|([Rr][Ee][Ff][Rr][Ee][Ss][Hh])|([Cc][Oo][Nn][Tt][Ee][Nn][Tt]\-[Tt][Yy][Pp][Ee])"'.
ERROR(RSC-005): build/epub/sphinx.epub/extdev/markupapi.xhtml(5,64): Error while parsing file 'value of attribute "http-equiv" is invalid; must be a string matching the regular expression "([Dd][Ee][Ff][Aa][Uu][Ll][Tt]\-[Ss][Tt][Yy][Ll][Ee])|([Rr][Ee][Ff][Rr][Ee][Ss][Hh])|([Cc][Oo][Nn][Tt][Ee][Nn][Tt]\-[Tt][Yy][Pp][Ee])"'.
ERROR(RSC-005): build/epub/sphinx.epub/extdev/nodes.xhtml(5,64): Error while parsing file 'value of attribute "http-equiv" is invalid; must be a string matching the regular expression "([Dd][Ee][Ff][Aa][Uu][Ll][Tt]\-[Ss][Tt][Yy][Ll][Ee])|([Rr][Ee][Ff][Rr][Ee][Ss][Hh])|([Cc][Oo][Nn][Tt][Ee][Nn][Tt]\-[Tt][Yy][Pp][Ee])"'.
ERROR(RSC-005): build/epub/sphinx.epub/extdev/parserapi.xhtml(5,64): Error while parsing file 'value of attribute "http-equiv" is invalid; must be a string matching the regular expression "([Dd][Ee][Ff][Aa][Uu][Ll][Tt]\-[Ss][Tt][Yy][Ll][Ee])|([Rr][Ee][Ff][Rr][Ee][Ss][Hh])|([Cc][Oo][Nn][Tt][Ee][Nn][Tt]\-[Tt][Yy][Pp][Ee])"'.
ERROR(RSC-005): build/epub/sphinx.epub/extdev/tutorial.xhtml(5,64): Error while parsing file 'value of attribute "http-equiv" is invalid; must be a string matching the regular expression "([Dd][Ee][Ff][Aa][Uu][Ll][Tt]\-[Ss][Tt][Yy][Ll][Ee])|([Rr][Ee][Ff][Rr][Ee][Ss][Hh])|([Cc][Oo][Nn][Tt][Ee][Nn][Tt]\-[Tt][Yy][Pp][Ee])"'.
ERROR(RSC-005): build/epub/sphinx.epub/man/index.xhtml(5,64): Error while parsing file 'value of attribute "http-equiv" is invalid; must be a string matching the regular expression "([Dd][Ee][Ff][Aa][Uu][Ll][Tt]\-[Ss][Tt][Yy][Ll][Ee])|([Rr][Ee][Ff][Rr][Ee][Ss][Hh])|([Cc][Oo][Nn][Tt][Ee][Nn][Tt]\-[Tt][Yy][Pp][Ee])"'.
ERROR(RSC-005): build/epub/sphinx.epub/man/sphinx-apidoc.xhtml(5,64): Error while parsing file 'value of attribute "http-equiv" is invalid; must be a string matching the regular expression "([Dd][Ee][Ff][Aa][Uu][Ll][Tt]\-[Ss][Tt][Yy][Ll][Ee])|([Rr][Ee][Ff][Rr][Ee][Ss][Hh])|([Cc][Oo][Nn][Tt][Ee][Nn][Tt]\-[Tt][Yy][Pp][Ee])"'.
ERROR(RSC-005): build/epub/sphinx.epub/man/sphinx-autogen.xhtml(5,64): Error while parsing file 'value of attribute "http-equiv" is invalid; must be a string matching the regular expression "([Dd][Ee][Ff][Aa][Uu][Ll][Tt]\-[Ss][Tt][Yy][Ll][Ee])|([Rr][Ee][Ff][Rr][Ee][Ss][Hh])|([Cc][Oo][Nn][Tt][Ee][Nn][Tt]\-[Tt][Yy][Pp][Ee])"'.
ERROR(RSC-005): build/epub/sphinx.epub/man/sphinx-build.xhtml(5,64): Error while parsing file 'value of attribute "http-equiv" is invalid; must be a string matching the regular expression "([Dd][Ee][Ff][Aa][Uu][Ll][Tt]\-[Ss][Tt][Yy][Ll][Ee])|([Rr][Ee][Ff][Rr][Ee][Ss][Hh])|([Cc][Oo][Nn][Tt][Ee][Nn][Tt]\-[Tt][Yy][Pp][Ee])"'.
ERROR(RSC-005): build/epub/sphinx.epub/man/sphinx-quickstart.xhtml(5,64): Error while parsing file 'value of attribute "http-equiv" is invalid; must be a string matching the regular expression "([Dd][Ee][Ff][Aa][Uu][Ll][Tt]\-[Ss][Tt][Yy][Ll][Ee])|([Rr][Ee][Ff][Rr][Ee][Ss][Hh])|([Cc][Oo][Nn][Tt][Ee][Nn][Tt]\-[Tt][Yy][Pp][Ee])"'.
ERROR(RSC-005): build/epub/sphinx.epub/markup/code.xhtml(5,64): Error while parsing file 'value of attribute "http-equiv" is invalid; must be a string matching the regular expression "([Dd][Ee][Ff][Aa][Uu][Ll][Tt]\-[Ss][Tt][Yy][Ll][Ee])|([Rr][Ee][Ff][Rr][Ee][Ss][Hh])|([Cc][Oo][Nn][Tt][Ee][Nn][Tt]\-[Tt][Yy][Pp][Ee])"'.
ERROR(RSC-005): build/epub/sphinx.epub/markup/index.xhtml(5,64): Error while parsing file 'value of attribute "http-equiv" is invalid; must be a string matching the regular expression "([Dd][Ee][Ff][Aa][Uu][Ll][Tt]\-[Ss][Tt][Yy][Ll][Ee])|([Rr][Ee][Ff][Rr][Ee][Ss][Hh])|([Cc][Oo][Nn][Tt][Ee][Nn][Tt]\-[Tt][Yy][Pp][Ee])"'.
ERROR(RSC-005): build/epub/sphinx.epub/markup/inline.xhtml(5,64): Error while parsing file 'value of attribute "http-equiv" is invalid; must be a string matching the regular expression "([Dd][Ee][Ff][Aa][Uu][Ll][Tt]\-[Ss][Tt][Yy][Ll][Ee])|([Rr][Ee][Ff][Rr][Ee][Ss][Hh])|([Cc][Oo][Nn][Tt][Ee][Nn][Tt]\-[Tt][Yy][Pp][Ee])"'.
ERROR(RSC-005): build/epub/sphinx.epub/markup/misc.xhtml(5,64): Error while parsing file 'value of attribute "http-equiv" is invalid; must be a string matching the regular expression "([Dd][Ee][Ff][Aa][Uu][Ll][Tt]\-[Ss][Tt][Yy][Ll][Ee])|([Rr][Ee][Ff][Rr][Ee][Ss][Hh])|([Cc][Oo][Nn][Tt][Ee][Nn][Tt]\-[Tt][Yy][Pp][Ee])"'.
ERROR(RSC-005): build/epub/sphinx.epub/markup/para.xhtml(5,64): Error while parsing file 'value of attribute "http-equiv" is invalid; must be a string matching the regular expression "([Dd][Ee][Ff][Aa][Uu][Ll][Tt]\-[Ss][Tt][Yy][Ll][Ee])|([Rr][Ee][Ff][Rr][Ee][Ss][Hh])|([Cc][Oo][Nn][Tt][Ee][Nn][Tt]\-[Tt][Yy][Pp][Ee])"'.
ERROR(RSC-005): build/epub/sphinx.epub/markup/toctree.xhtml(5,64): Error while parsing file 'value of attribute "http-equiv" is invalid; must be a string matching the regular expression "([Dd][Ee][Ff][Aa][Uu][Ll][Tt]\-[Ss][Tt][Yy][Ll][Ee])|([Rr][Ee][Ff][Rr][Ee][Ss][Hh])|([Cc][Oo][Nn][Tt][Ee][Nn][Tt]\-[Tt][Yy][Pp][Ee])"'.
ERROR(RSC-005): build/epub/sphinx.epub/usage/installation.xhtml(5,64): Error while parsing file 'value of attribute "http-equiv" is invalid; must be a string matching the regular expression "([Dd][Ee][Ff][Aa][Uu][Ll][Tt]\-[Ss][Tt][Yy][Ll][Ee])|([Rr][Ee][Ff][Rr][Ee][Ss][Hh])|([Cc][Oo][Nn][Tt][Ee][Nn][Tt]\-[Tt][Yy][Pp][Ee])"'.
ERROR(RSC-005): build/epub/sphinx.epub/web/api.xhtml(5,64): Error while parsing file 'value of attribute "http-equiv" is invalid; must be a string matching the regular expression "([Dd][Ee][Ff][Aa][Uu][Ll][Tt]\-[Ss][Tt][Yy][Ll][Ee])|([Rr][Ee][Ff][Rr][Ee][Ss][Hh])|([Cc][Oo][Nn][Tt][Ee][Nn][Tt]\-[Tt][Yy][Pp][Ee])"'.
ERROR(RSC-005): build/epub/sphinx.epub/web/quickstart.xhtml(5,64): Error while parsing file 'value of attribute "http-equiv" is invalid; must be a string matching the regular expression "([Dd][Ee][Ff][Aa][Uu][Ll][Tt]\-[Ss][Tt][Yy][Ll][Ee])|([Rr][Ee][Ff][Rr][Ee][Ss][Hh])|([Cc][Oo][Nn][Tt][Ee][Nn][Tt]\-[Tt][Yy][Pp][Ee])"'.
ERROR(RSC-005): build/epub/sphinx.epub/web/searchadapters.xhtml(5,64): Error while parsing file 'value of attribute "http-equiv" is invalid; must be a string matching the regular expression "([Dd][Ee][Ff][Aa][Uu][Ll][Tt]\-[Ss][Tt][Yy][Ll][Ee])|([Rr][Ee][Ff][Rr][Ee][Ss][Hh])|([Cc][Oo][Nn][Tt][Ee][Nn][Tt]\-[Tt][Yy][Pp][Ee])"'.
ERROR(RSC-005): build/epub/sphinx.epub/web/storagebackends.xhtml(5,64): Error while parsing file 'value of attribute "http-equiv" is invalid; must be a string matching the regular expression "([Dd][Ee][Ff][Aa][Uu][Ll][Tt]\-[Ss][Tt][Yy][Ll][Ee])|([Rr][Ee][Ff][Rr][Ee][Ss][Hh])|([Cc][Oo][Nn][Tt][Ee][Nn][Tt]\-[Tt][Yy][Pp][Ee])"'.
ERROR(RSC-007): build/epub/sphinx.epub/toc.ncx(2105,38): Referenced resource could not be found in the EPUB.
ERROR(RSC-007): build/epub/sphinx.epub/nav.xhtml(1007,35): Referenced resource could not be found in the EPUB.
ERROR(RSC-007): build/epub/sphinx.epub/man/sphinx-apidoc.xhtml(29,56): Referenced resource could not be found in the EPUB.
ERROR(OPF-049): build/epub/sphinx.epub/toc.ncx(-1,-1): Item id 'epub-101' was not found in the manifest.

Check finished with errors

epubcheck completed
tk0miya commented 6 years ago

Oh, sorry. I have to use HEAD of 1.7 branch:

FROM tk0miya/sphinx-html

RUN rm -rf /var/lib/apt/lists/*
RUN apt update
RUN apt install -y openjdk-8-jre-headless epubcheck
RUN git clone http://github.com/sphinx-doc/sphinx
WORKDIR /docs/sphinx
RUN git checkout 1.7
RUN python3 setup.py install
RUN sphinx-build -b epub doc/ build/epub
RUN java -jar /usr/share/java/epubcheck.jar build/epub/sphinx.epub

This is result of HEAD of 1.7:

Validating using EPUB version 3.0.1 rules.
ERROR(RSC-005): build/epub/sphinx.epub/content.opf(14,51): Error while parsing file 'found attribute "opf:scheme", but no attributes allowed here'.

Check finished with errors

epubcheck completed
tk0miya commented 6 years ago

Hmm... it seems opf:scheme is not allowed in EPUB3.

In EPUB2:

The identifier element has an optional OPF scheme attribute defined by this specification. http://www.idpf.org/epub/20/spec/OPF_2.0.1_draft.htm#Section2.2.10

In EPUB3:

For additional precision (e.g., if the scheme cannot be determined from the value or could lead to an ambiguous result), Authors may attach an identifier-type property to assist in Reading System identification. When included, the identifier-type property should take precedence over value parsing the identifier. http://www.idpf.org/epub/30/spec/epub30-publications.html#sec-opf-dcidentifier

In EPUB3.1:

For additional precision (e.g., if the scheme cannot be determined from the value or could lead to an ambiguous result), Authors may attach an opf:scheme attribute to assist in Reading System identification. http://www.idpf.org/epub/31/spec/epub-packages.html#sec-opf-dcidentifier

tk0miya commented 6 years ago

With #4640, epubcheck says okay for sphinx. So I'd like to update our Dockerfiles after merged.

tk0miya commented 6 years ago

I just updated our docker-ci image for epubcheck https://github.com/sphinx-doc/docker-ci

tk0miya commented 6 years ago

Finally, I reverted. It seems there are some epub issues for test-root. Before enabling epubcheck, we have to fix them all.

tk0miya commented 6 years ago

At present, I got following errors for current HEAD of 1.8 branch:

Validating using EPUB version 3.0.1 rules.
epubcheck completed

ERROR(RSC-005): ./tests/build/root/_build/epub/SphinxTests.epub/toc.ncx(229,46): Error while parsing file 'different playOrder values for navPoint/navTarget/pageTarget that refer to same target'.
ERROR(RSC-005): ./tests/build/root/_build/epub/SphinxTests.epub/toc.ncx(234,48): Error while parsing file 'different playOrder values for navPoint/navTarget/pageTarget that refer to same target'.
ERROR(RSC-005): ./tests/build/root/_build/epub/SphinxTests.epub/toc.ncx(240,48): Error while parsing file 'different playOrder values for navPoint/navTarget/pageTarget that refer to same target'.
ERROR(RSC-005): ./tests/build/root/_build/epub/SphinxTests.epub/toc.ncx(246,48): Error while parsing file 'different playOrder values for navPoint/navTarget/pageTarget that refer to same target'.
ERROR(RSC-005): ./tests/build/root/_build/epub/SphinxTests.epub/toc.ncx(251,50): Error while parsing file 'different playOrder values for navPoint/navTarget/pageTarget that refer to same target'.
ERROR(RSC-005): ./tests/build/root/_build/epub/SphinxTests.epub/toc.ncx(257,50): Error while parsing file 'different playOrder values for navPoint/navTarget/pageTarget that refer to same target'.
ERROR(RSC-005): ./tests/build/root/_build/epub/SphinxTests.epub/toc.ncx(265,46): Error while parsing file 'different playOrder values for navPoint/navTarget/pageTarget that refer to same target'.
ERROR(RSC-005): ./tests/build/root/_build/epub/SphinxTests.epub/toc.ncx(270,48): Error while parsing file 'different playOrder values for navPoint/navTarget/pageTarget that refer to same target'.
ERROR(RSC-005): ./tests/build/root/_build/epub/SphinxTests.epub/toc.ncx(276,48): Error while parsing file 'different playOrder values for navPoint/navTarget/pageTarget that refer to same target'.
ERROR(RSC-005): ./tests/build/root/_build/epub/SphinxTests.epub/toc.ncx(282,48): Error while parsing file 'different playOrder values for navPoint/navTarget/pageTarget that refer to same target'.
ERROR(RSC-005): ./tests/build/root/_build/epub/SphinxTests.epub/toc.ncx(287,50): Error while parsing file 'different playOrder values for navPoint/navTarget/pageTarget that refer to same target'.
ERROR(RSC-005): ./tests/build/root/_build/epub/SphinxTests.epub/toc.ncx(293,50): Error while parsing file 'different playOrder values for navPoint/navTarget/pageTarget that refer to same target'.
ERROR(RSC-005): ./tests/build/root/_build/epub/SphinxTests.epub/markup.xhtml(372,45): Error while parsing file 'element "dt" not allowed here; expected the element end-tag, text or element "a", "abbr", "area", "audio", "b", "bdi", "bdo", "br", "button", "canvas", "cite", "code", "command", "datalist", "del", "dfn", "em", "embed", "epub:switch", "i", "iframe", "img", "input", "ins", "kbd", "keygen", "label", "link", "map", "mark", "meta", "meter", "ns1:math", "ns2:svg", "object", "output", "progress", "q", "ruby", "s", "samp", "script", "select", "small", "span", "strong", "sub", "sup", "textarea", "time", "u", "var", "video" or "wbr" (with xmlns:ns1="http://www.w3.org/1998/Math/MathML" xmlns:ns2="http://www.w3.org/2000/svg")'.
ERROR(RSC-005): ./tests/build/root/_build/epub/SphinxTests.epub/markup.xhtml(372,72): Error while parsing file 'element "dt" not allowed here; expected the element end-tag, text or element "a", "abbr", "area", "audio", "b", "bdi", "bdo", "br", "button", "canvas", "cite", "code", "command", "datalist", "del", "dfn", "em", "embed", "epub:switch", "i", "iframe", "img", "input", "ins", "kbd", "keygen", "label", "link", "map", "mark", "meta", "meter", "ns1:math", "ns2:svg", "object", "output", "progress", "q", "ruby", "s", "samp", "script", "select", "small", "span", "strong", "sub", "sup", "textarea", "time", "u", "var", "video" or "wbr" (with xmlns:ns1="http://www.w3.org/1998/Math/MathML" xmlns:ns2="http://www.w3.org/2000/svg")'.
ERROR(RSC-005): ./tests/build/root/_build/epub/SphinxTests.epub/markup.xhtml(373,5): Error while parsing file 'element "dd" not allowed here; expected the element end-tag, text or element "a", "abbr", "area", "audio", "b", "bdi", "bdo", "br", "button", "canvas", "cite", "code", "command", "datalist", "del", "dfn", "em", "embed", "epub:switch", "i", "iframe", "img", "input", "ins", "kbd", "keygen", "label", "link", "map", "mark", "meta", "meter", "ns1:math", "ns2:svg", "object", "output", "progress", "q", "ruby", "s", "samp", "script", "select", "small", "span", "strong", "sub", "sup", "textarea", "time", "u", "var", "video" or "wbr" (with xmlns:ns1="http://www.w3.org/1998/Math/MathML" xmlns:ns2="http://www.w3.org/2000/svg")'.
ERROR(RSC-005): ./tests/build/root/_build/epub/SphinxTests.epub/markup.xhtml(375,20): Error while parsing file 'element "dt" not allowed here; expected the element end-tag, text or element "a", "abbr", "area", "audio", "b", "bdi", "bdo", "br", "button", "canvas", "cite", "code", "command", "datalist", "del", "dfn", "em", "embed", "epub:switch", "i", "iframe", "img", "input", "ins", "kbd", "keygen", "label", "link", "map", "mark", "meta", "meter", "ns1:math", "ns2:svg", "object", "output", "progress", "q", "ruby", "s", "samp", "script", "select", "small", "span", "strong", "sub", "sup", "textarea", "time", "u", "var", "video" or "wbr" (with xmlns:ns1="http://www.w3.org/1998/Math/MathML" xmlns:ns2="http://www.w3.org/2000/svg")'.
ERROR(RSC-005): ./tests/build/root/_build/epub/SphinxTests.epub/markup.xhtml(376,5): Error while parsing file 'element "dd" not allowed here; expected the element end-tag, text or element "a", "abbr", "area", "audio", "b", "bdi", "bdo", "br", "button", "canvas", "cite", "code", "command", "datalist", "del", "dfn", "em", "embed", "epub:switch", "i", "iframe", "img", "input", "ins", "kbd", "keygen", "label", "link", "map", "mark", "meta", "meter", "ns1:math", "ns2:svg", "object", "output", "progress", "q", "ruby", "s", "samp", "script", "select", "small", "span", "strong", "sub", "sup", "textarea", "time", "u", "var", "video" or "wbr" (with xmlns:ns1="http://www.w3.org/1998/Math/MathML" xmlns:ns2="http://www.w3.org/2000/svg")'.
FATAL(RSC-016): ./tests/build/root/_build/epub/SphinxTests.epub/markup.xhtml(378,3): Fatal Error while parsing file 'The element type "dt" must be terminated by the matching end-tag "</dt>".'.
ERROR(RSC-005): ./tests/build/root/_build/epub/SphinxTests.epub/markup.xhtml(-1,-1): Error while parsing file 'The element type "dt" must be terminated by the matching end-tag "</dt>".'.
ERROR(RSC-005): ./tests/build/root/_build/epub/SphinxTests.epub/_images/svgimg.svg(21,71): Error while parsing file 'attribute "_SVGFile__filename" not allowed here; expected attribute "alignment-baseline", "baseProfile", "baseline-shift", "class", "clip", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "contentScriptType", "contentStyleType", "cursor", "direction", "display", "dominant-baseline", "enable-background", "externalResourcesRequired", "fill", "fill-opacity", "fill-rule", "filter", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "glyph-orientation-horizontal", "glyph-orientation-vertical", "id", "image-rendering", "kerning", "letter-spacing", "lighting-color", "marker-end", "marker-mid", "marker-start", "mask", "ns:type", "onabort", "onactivate", "onclick", "onerror", "onfocusin", "onfocusout", "onload", "onmousedown", "onmousemove", "onmouseout", "onmouseover", "onmouseup", "onresize", "onscroll", "onunload", "onzoom", "opacity", "overflow", "pointer-events", "preserveAspectRatio", "requiredExtensions", "requiredFeatures", "shape-rendering", "stop-color", "stop-opacity", "stroke", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke-width", "style", "systemLanguage", "text-anchor", "text-decoration", "text-rendering", "unicode-bidi", "version", "viewBox", "visibility", "word-spacing", "writing-mode", "x", "xml:base", "xml:lang", "xml:space", "y" or "zoomAndPan" (with xmlns:ns="http://www.idpf.org/2007/ops")'.
ERROR(RSC-005): ./tests/build/root/_build/epub/SphinxTests.epub/_images/svgimg.svg(21,71): Error while parsing file 'value of attribute "version" is invalid; must be equal to "1.1"'.
ERROR(RSC-005): ./tests/build/root/_build/epub/SphinxTests.epub/_images/svgimg.svg(21,71): Error while parsing file 'attribute "sodipodi:version" not allowed here; expected attribute "alignment-baseline", "baseProfile", "baseline-shift", "class", "clip", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "contentScriptType", "contentStyleType", "cursor", "direction", "display", "dominant-baseline", "enable-background", "externalResourcesRequired", "fill", "fill-opacity", "fill-rule", "filter", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "glyph-orientation-horizontal", "glyph-orientation-vertical", "image-rendering", "kerning", "letter-spacing", "lighting-color", "marker-end", "marker-mid", "marker-start", "mask", "ns:type", "onabort", "onactivate", "onclick", "onerror", "onfocusin", "onfocusout", "onload", "onmousedown", "onmousemove", "onmouseout", "onmouseover", "onmouseup", "onresize", "onscroll", "onunload", "onzoom", "opacity", "overflow", "pointer-events", "preserveAspectRatio", "requiredExtensions", "requiredFeatures", "shape-rendering", "stop-color", "stop-opacity", "stroke", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke-width", "style", "systemLanguage", "text-anchor", "text-decoration", "text-rendering", "unicode-bidi", "viewBox", "visibility", "word-spacing", "writing-mode", "xml:base", "xml:lang", "xml:space" or "zoomAndPan" (with xmlns:ns="http://www.idpf.org/2007/ops")'.
ERROR(RSC-005): ./tests/build/root/_build/epub/SphinxTests.epub/_images/svgimg.svg(21,71): Error while parsing file 'attribute "inkscape:version" not allowed here; expected attribute "alignment-baseline", "baseProfile", "baseline-shift", "class", "clip", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "contentScriptType", "contentStyleType", "cursor", "direction", "display", "dominant-baseline", "enable-background", "externalResourcesRequired", "fill", "fill-opacity", "fill-rule", "filter", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "glyph-orientation-horizontal", "glyph-orientation-vertical", "image-rendering", "kerning", "letter-spacing", "lighting-color", "marker-end", "marker-mid", "marker-start", "mask", "ns:type", "onabort", "onactivate", "onclick", "onerror", "onfocusin", "onfocusout", "onload", "onmousedown", "onmousemove", "onmouseout", "onmouseover", "onmouseup", "onresize", "onscroll", "onunload", "onzoom", "opacity", "overflow", "pointer-events", "preserveAspectRatio", "requiredExtensions", "requiredFeatures", "shape-rendering", "stop-color", "stop-opacity", "stroke", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke-width", "style", "systemLanguage", "text-anchor", "text-decoration", "text-rendering", "unicode-bidi", "viewBox", "visibility", "word-spacing", "writing-mode", "xml:base", "xml:lang", "xml:space" or "zoomAndPan" (with xmlns:ns="http://www.idpf.org/2007/ops")'.
ERROR(RSC-005): ./tests/build/root/_build/epub/SphinxTests.epub/_images/svgimg.svg(21,71): Error while parsing file 'attribute "sodipodi:docname" not allowed here; expected attribute "alignment-baseline", "baseProfile", "baseline-shift", "class", "clip", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "contentScriptType", "contentStyleType", "cursor", "direction", "display", "dominant-baseline", "enable-background", "externalResourcesRequired", "fill", "fill-opacity", "fill-rule", "filter", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "glyph-orientation-horizontal", "glyph-orientation-vertical", "image-rendering", "kerning", "letter-spacing", "lighting-color", "marker-end", "marker-mid", "marker-start", "mask", "ns:type", "onabort", "onactivate", "onclick", "onerror", "onfocusin", "onfocusout", "onload", "onmousedown", "onmousemove", "onmouseout", "onmouseover", "onmouseup", "onresize", "onscroll", "onunload", "onzoom", "opacity", "overflow", "pointer-events", "preserveAspectRatio", "requiredExtensions", "requiredFeatures", "shape-rendering", "stop-color", "stop-opacity", "stroke", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke-width", "style", "systemLanguage", "text-anchor", "text-decoration", "text-rendering", "unicode-bidi", "viewBox", "visibility", "word-spacing", "writing-mode", "xml:base", "xml:lang", "xml:space" or "zoomAndPan" (with xmlns:ns="http://www.idpf.org/2007/ops")'.
ERROR(RSC-005): ./tests/build/root/_build/epub/SphinxTests.epub/_images/svgimg.svg(21,71): Error while parsing file 'attribute "sodipodi:docbase" not allowed here; expected attribute "alignment-baseline", "baseProfile", "baseline-shift", "class", "clip", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "contentScriptType", "contentStyleType", "cursor", "direction", "display", "dominant-baseline", "enable-background", "externalResourcesRequired", "fill", "fill-opacity", "fill-rule", "filter", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "glyph-orientation-horizontal", "glyph-orientation-vertical", "image-rendering", "kerning", "letter-spacing", "lighting-color", "marker-end", "marker-mid", "marker-start", "mask", "ns:type", "onabort", "onactivate", "onclick", "onerror", "onfocusin", "onfocusout", "onload", "onmousedown", "onmousemove", "onmouseout", "onmouseover", "onmouseup", "onresize", "onscroll", "onunload", "onzoom", "opacity", "overflow", "pointer-events", "preserveAspectRatio", "requiredExtensions", "requiredFeatures", "shape-rendering", "stop-color", "stop-opacity", "stroke", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke-width", "style", "systemLanguage", "text-anchor", "text-decoration", "text-rendering", "unicode-bidi", "viewBox", "visibility", "word-spacing", "writing-mode", "xml:base", "xml:lang", "xml:space" or "zoomAndPan" (with xmlns:ns="http://www.idpf.org/2007/ops")'.
ERROR(RSC-005): ./tests/build/root/_build/epub/SphinxTests.epub/_images/svgimg.svg(36,38): Error while parsing file 'element "sodipodi:namedview" not allowed anywhere; expected the element end-tag or element "a", "altGlyphDef", "circle", "clipPath", "color-profile", "cursor", "defs", "desc", "ellipse", "filter", "font", "font-face", "foreignObject", "g", "image", "line", "linearGradient", "marker", "mask", "metadata", "path", "pattern", "polygon", "polyline", "radialGradient", "rect", "script", "style", "svg", "switch", "symbol", "text", "title", "use" or "view"'.
ERROR(RSC-005): ./tests/build/root/_build/epub/SphinxTests.epub/_images/svgimg.svg(57,19): Error while parsing file 'element "RDF" not allowed anywhere; expected the element end-tag or text'.
ERROR(RSC-005): ./tests/build/root/_build/epub/SphinxTests.epub/_images/svgimg.svg(62,92): Error while parsing file 'element "RDF" not allowed anywhere; expected the element end-tag or text'.
ERROR(RSC-005): ./tests/build/root/_build/epub/SphinxTests.epub/_images/svgimg.svg(79,31): Error while parsing file 'element "RDF" not allowed anywhere; expected the element end-tag or text'.
ERROR(RSC-005): ./tests/build/root/_build/epub/SphinxTests.epub/_images/svgimg.svg(88,48): Error while parsing file 'element "RDF" not allowed anywhere; expected the element end-tag or text'.
ERROR(RSC-005): ./tests/build/root/_build/epub/SphinxTests.epub/_images/svgimg.svg(97,48): Error while parsing file 'element "RDF" not allowed anywhere; expected the element end-tag or text'.
ERROR(RSC-005): ./tests/build/root/_build/epub/SphinxTests.epub/_images/svgimg.svg(118,19): Error while parsing file 'element "rdf:RDF" not allowed anywhere; expected the element end-tag or text'.
ERROR(RSC-005): ./tests/build/root/_build/epub/SphinxTests.epub/_images/svgimg.svg(148,44): Error while parsing file 'attribute "sodipodi:nodetypes" not allowed here; expected attribute "alignment-baseline", "baseline-shift", "class", "clip", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cursor", "direction", "display", "dominant-baseline", "enable-background", "externalResourcesRequired", "fill", "fill-opacity", "fill-rule", "filter", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "glyph-orientation-horizontal", "glyph-orientation-vertical", "image-rendering", "kerning", "letter-spacing", "lighting-color", "marker-end", "marker-mid", "marker-start", "mask", "ns:type", "onactivate", "onclick", "onfocusin", "onfocusout", "onload", "onmousedown", "onmousemove", "onmouseout", "onmouseover", "onmouseup", "opacity", "overflow", "pathLength", "pointer-events", "requiredExtensions", "requiredFeatures", "shape-rendering", "stop-color", "stop-opacity", "stroke", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke-width", "systemLanguage", "text-anchor", "text-decoration", "text-rendering", "transform", "unicode-bidi", "visibility", "word-spacing", "writing-mode", "xml:base", "xml:lang" or "xml:space" (with xmlns:ns="http://www.idpf.org/2007/ops")'.
ERROR(RSC-012): ./tests/build/root/_build/epub/SphinxTests.epub/toc.ncx(136,52): Fragment identifier is not defined.
ERROR(RSC-012): ./tests/build/root/_build/epub/SphinxTests.epub/toc.ncx(142,65): Fragment identifier is not defined.
ERROR(RSC-012): ./tests/build/root/_build/epub/SphinxTests.epub/toc.ncx(148,54): Fragment identifier is not defined.
ERROR(RSC-012): ./tests/build/root/_build/epub/SphinxTests.epub/toc.ncx(154,48): Fragment identifier is not defined.
ERROR(RSC-012): ./tests/build/root/_build/epub/SphinxTests.epub/toc.ncx(160,52): Fragment identifier is not defined.
ERROR(RSC-012): ./tests/build/root/_build/epub/SphinxTests.epub/nav.xhtml(70,51): Fragment identifier is not defined.
ERROR(RSC-012): ./tests/build/root/_build/epub/SphinxTests.epub/nav.xhtml(73,64): Fragment identifier is not defined.
ERROR(RSC-012): ./tests/build/root/_build/epub/SphinxTests.epub/nav.xhtml(76,53): Fragment identifier is not defined.
ERROR(RSC-012): ./tests/build/root/_build/epub/SphinxTests.epub/nav.xhtml(79,47): Fragment identifier is not defined.
ERROR(RSC-012): ./tests/build/root/_build/epub/SphinxTests.epub/nav.xhtml(82,51): Fragment identifier is not defined.
ERROR(RSC-007): ./tests/build/root/_build/epub/SphinxTests.epub/autodoc.xhtml(7,73): Referenced resource could not be found in the EPUB.
ERROR(RSC-007): ./tests/build/root/_build/epub/SphinxTests.epub/bom.xhtml(7,73): Referenced resource could not be found in the EPUB.
ERROR(RSC-007): ./tests/build/root/_build/epub/SphinxTests.epub/contents.xhtml(7,73): Referenced resource could not be found in the EPUB.
ERROR(RSC-012): ./tests/build/root/_build/epub/SphinxTests.epub/contents.xhtml(45,87): Fragment identifier is not defined.
ERROR(RSC-012): ./tests/build/root/_build/epub/SphinxTests.epub/contents.xhtml(46,100): Fragment identifier is not defined.
ERROR(RSC-012): ./tests/build/root/_build/epub/SphinxTests.epub/contents.xhtml(47,89): Fragment identifier is not defined.
ERROR(RSC-012): ./tests/build/root/_build/epub/SphinxTests.epub/contents.xhtml(48,83): Fragment identifier is not defined.
ERROR(RSC-012): ./tests/build/root/_build/epub/SphinxTests.epub/contents.xhtml(49,87): Fragment identifier is not defined.
ERROR(RSC-012): ./tests/build/root/_build/epub/SphinxTests.epub/contents.xhtml(93,79): Fragment identifier is not defined.
ERROR(RSC-007): ./tests/build/root/_build/epub/SphinxTests.epub/contents.xhtml(102,58): Referenced resource could not be found in the EPUB.
ERROR(RSC-007): ./tests/build/root/_build/epub/SphinxTests.epub/extapi.xhtml(7,73): Referenced resource could not be found in the EPUB.
ERROR(RSC-007): ./tests/build/root/_build/epub/SphinxTests.epub/extensions.xhtml(7,73): Referenced resource could not be found in the EPUB.
ERROR(RSC-007): ./tests/build/root/_build/epub/SphinxTests.epub/footnote.xhtml(7,73): Referenced resource could not be found in the EPUB.
ERROR(RSC-007): ./tests/build/root/_build/epub/SphinxTests.epub/genindex.xhtml(8,73): Referenced resource could not be found in the EPUB.
ERROR(RSC-012): ./tests/build/root/_build/epub/SphinxTests.epub/genindex.xhtml(191,44): Fragment identifier is not defined.
ERROR(RSC-012): ./tests/build/root/_build/epub/SphinxTests.epub/genindex.xhtml(202,42): Fragment identifier is not defined.
ERROR(RSC-012): ./tests/build/root/_build/epub/SphinxTests.epub/genindex.xhtml(205,44): Fragment identifier is not defined.
ERROR(RSC-012): ./tests/build/root/_build/epub/SphinxTests.epub/genindex.xhtml(207,44): Fragment identifier is not defined.
ERROR(RSC-012): ./tests/build/root/_build/epub/SphinxTests.epub/genindex.xhtml(207,85): Fragment identifier is not defined.
ERROR(RSC-012): ./tests/build/root/_build/epub/SphinxTests.epub/genindex.xhtml(209,44): Fragment identifier is not defined.
ERROR(RSC-012): ./tests/build/root/_build/epub/SphinxTests.epub/genindex.xhtml(319,44): Fragment identifier is not defined.
ERROR(RSC-012): ./tests/build/root/_build/epub/SphinxTests.epub/genindex.xhtml(344,44): Fragment identifier is not defined.
ERROR(RSC-012): ./tests/build/root/_build/epub/SphinxTests.epub/genindex.xhtml(353,42): Fragment identifier is not defined.
ERROR(RSC-012): ./tests/build/root/_build/epub/SphinxTests.epub/genindex.xhtml(353,100): Fragment identifier is not defined.
ERROR(RSC-012): ./tests/build/root/_build/epub/SphinxTests.epub/genindex.xhtml(399,42): Fragment identifier is not defined.
ERROR(RSC-012): ./tests/build/root/_build/epub/SphinxTests.epub/genindex.xhtml(417,44): Fragment identifier is not defined.
ERROR(RSC-012): ./tests/build/root/_build/epub/SphinxTests.epub/genindex.xhtml(513,44): Fragment identifier is not defined.
ERROR(RSC-012): ./tests/build/root/_build/epub/SphinxTests.epub/genindex.xhtml(546,44): Fragment identifier is not defined.
ERROR(RSC-007): ./tests/build/root/_build/epub/SphinxTests.epub/images.xhtml(7,73): Referenced resource could not be found in the EPUB.
ERROR(RSC-007): ./tests/build/root/_build/epub/SphinxTests.epub/images.xhtml(24,36): Referenced resource could not be found in the EPUB.
ERROR(RSC-007): ./tests/build/root/_build/epub/SphinxTests.epub/includes.xhtml(7,73): Referenced resource could not be found in the EPUB.
ERROR(RSC-007): ./tests/build/root/_build/epub/SphinxTests.epub/lists.xhtml(7,73): Referenced resource could not be found in the EPUB.
ERROR(RSC-007): ./tests/build/root/_build/epub/SphinxTests.epub/markup.xhtml(9,73): Referenced resource could not be found in the EPUB.
ERROR(RSC-012): ./tests/build/root/_build/epub/SphinxTests.epub/markup.xhtml(48,69): Fragment identifier is not defined.
ERROR(RSC-012): ./tests/build/root/_build/epub/SphinxTests.epub/markup.xhtml(49,82): Fragment identifier is not defined.
ERROR(RSC-012): ./tests/build/root/_build/epub/SphinxTests.epub/markup.xhtml(50,71): Fragment identifier is not defined.
ERROR(RSC-012): ./tests/build/root/_build/epub/SphinxTests.epub/markup.xhtml(51,65): Fragment identifier is not defined.
ERROR(RSC-012): ./tests/build/root/_build/epub/SphinxTests.epub/markup.xhtml(52,69): Fragment identifier is not defined.
ERROR(RSC-012): ./tests/build/root/_build/epub/SphinxTests.epub/markup.xhtml(172,69): Fragment identifier is not defined.
ERROR(RSC-012): ./tests/build/root/_build/epub/SphinxTests.epub/markup.xhtml(317,70): Fragment identifier is not defined.
ERROR(RSC-007): ./tests/build/root/_build/epub/SphinxTests.epub/math.xhtml(7,73): Referenced resource could not be found in the EPUB.
ERROR(RSC-007): ./tests/build/root/_build/epub/SphinxTests.epub/metadata.xhtml(9,73): Referenced resource could not be found in the EPUB.
ERROR(RSC-007): ./tests/build/root/_build/epub/SphinxTests.epub/objects.xhtml(7,73): Referenced resource could not be found in the EPUB.
ERROR(RSC-007): ./tests/build/root/_build/epub/SphinxTests.epub/otherext.xhtml(7,73): Referenced resource could not be found in the EPUB.
ERROR(RSC-007): ./tests/build/root/_build/epub/SphinxTests.epub/py-modindex.xhtml(7,73): Referenced resource could not be found in the EPUB.
ERROR(RSC-007): ./tests/build/root/_build/epub/SphinxTests.epub/subdir/images.xhtml(7,76): Referenced resource could not be found in the EPUB.
ERROR(RSC-007): ./tests/build/root/_build/epub/SphinxTests.epub/subdir/includes.xhtml(7,76): Referenced resource could not be found in the EPUB.

Check finished with errors
tk0miya commented 5 years ago

I've keep fixing the errors. The errors are reduced at present (see #5405).

ERROR(RSC-005): ./tests/build/root/_build/epub/SphinxTests.epub/toc.ncx(223,46): Error while parsing file 'different playOrder values for navPoint/navTarget/pageTarget that refer to same target'.
ERROR(RSC-005): ./tests/build/root/_build/epub/SphinxTests.epub/toc.ncx(228,48): Error while parsing file 'different playOrder values for navPoint/navTarget/pageTarget that refer to same target'.
ERROR(RSC-005): ./tests/build/root/_build/epub/SphinxTests.epub/toc.ncx(234,48): Error while parsing file 'different playOrder values for navPoint/navTarget/pageTarget that refer to same target'.
ERROR(RSC-005): ./tests/build/root/_build/epub/SphinxTests.epub/toc.ncx(240,48): Error while parsing file 'different playOrder values for navPoint/navTarget/pageTarget that refer to same target'.
ERROR(RSC-005): ./tests/build/root/_build/epub/SphinxTests.epub/toc.ncx(245,50): Error while parsing file 'different playOrder values for navPoint/navTarget/pageTarget that refer to same target'.
ERROR(RSC-005): ./tests/build/root/_build/epub/SphinxTests.epub/toc.ncx(251,50): Error while parsing file 'different playOrder values for navPoint/navTarget/pageTarget that refer to same target'.
ERROR(RSC-005): ./tests/build/root/_build/epub/SphinxTests.epub/toc.ncx(259,46): Error while parsing file 'different playOrder values for navPoint/navTarget/pageTarget that refer to same target'.
ERROR(RSC-005): ./tests/build/root/_build/epub/SphinxTests.epub/toc.ncx(264,48): Error while parsing file 'different playOrder values for navPoint/navTarget/pageTarget that refer to same target'.
ERROR(RSC-005): ./tests/build/root/_build/epub/SphinxTests.epub/toc.ncx(270,48): Error while parsing file 'different playOrder values for navPoint/navTarget/pageTarget that refer to same target'.
ERROR(RSC-005): ./tests/build/root/_build/epub/SphinxTests.epub/toc.ncx(276,48): Error while parsing file 'different playOrder values for navPoint/navTarget/pageTarget that refer to same target'.
ERROR(RSC-005): ./tests/build/root/_build/epub/SphinxTests.epub/toc.ncx(281,50): Error while parsing file 'different playOrder values for navPoint/navTarget/pageTarget that refer to same target'.
ERROR(RSC-005): ./tests/build/root/_build/epub/SphinxTests.epub/toc.ncx(287,50): Error while parsing file 'different playOrder values for navPoint/navTarget/pageTarget that refer to same target'.
ERROR(RSC-007): ./tests/build/root/_build/epub/SphinxTests.epub/images.xhtml(24,36): Referenced resource could not be found in the EPUB.
ERROR(RSC-012): ./tests/build/root/_build/epub/SphinxTests.epub/index.xhtml(92,79): Fragment identifier is not defined.
ERROR(RSC-007): ./tests/build/root/_build/epub/SphinxTests.epub/index.xhtml(101,58): Referenced resource could not be found in the EPUB.