diff options
Diffstat (limited to 'test/test-epub-validity.sh')
| -rwxr-xr-x | test/test-epub-validity.sh | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/test/test-epub-validity.sh b/test/test-epub-validity.sh index 4bc5729..b3fde21 100755 --- a/test/test-epub-validity.sh +++ b/test/test-epub-validity.sh @@ -34,13 +34,17 @@ SPINE_DIR="$(cd "$SCRIPT_DIR/.." && pwd)" # markup and left an unbalanced </a> behind - was a url boundary defect in # the abstraction, and is fixed. # -# The errors that remain are, in order of how many: -# the table writer's obsolete presentational attributes, width on every -# cell and summary/border/cellpadding/align on the table; the navigation -# document linking to "#0", a fragment that is never defined; duplicate -# ids; a table inside a <p>; an opf id containing a colon. +# No error is allowed either, and none is outstanding. Both numbers being +# zero is the point: anything at all that epubcheck calls an error is a +# regression, and there is no list to add to. +# +# Two warnings remain and are not counted here. Both are NAV-011 in the +# same shape, in two documents: the navigation document lists one file +# twice, and the repeat is behind the previous entry in spine order. It +# comes from how the endnotes part and section headings are ordered, not +# from the navigation writer. FATALS_ALLOWED=${SpineEpubFatalsAllowed:-0} -ERRORS_ALLOWED=${SpineEpubErrorsAllowed:-1312} +ERRORS_ALLOWED=${SpineEpubErrorsAllowed:-0} if [ -z "$SpinePOD" ]; then echo "ERROR: \$SpinePOD is not set." >&2 |
