Three findings epubcheck reports and we did not, all from one MobileRead
post by Doitsu (#138).
Added
-
mathmlis now cross-checked against the manifest, in both
directions. A content document containing<math>without themathml
property drawsOPF-014; the property declared on a document with no
MathML drawsOPF-015. The property was already accepted (declaring it
never drewOPF-027), so it was the one member of the item-property
vocabulary that no rule looked at. -
Attribute vocabulary for SVG subtrees (
RSC-025, usage). An
unprefixed attribute that SVG 1.1 has no concept of is now reported —
<image alt="cover image">, HTML'saltreaching into an SVG cover
page, being the reported case. Like the existing element check this is
usage-level and a flat vocabulary rather than a per-element table, so an
attribute used on the wrong SVG element still passes. Two case-mangled
spellings on a 65-book shelf (viewbox,preserveaspectratio) are the
only other things it found there.
Fixed
<html class="calibre">is now an error in an EPUB 2 document, as are
id/style/titleonhtml,headortitle. XHTML 1.1 builds those
three elements fromI18n.attribalone —dir,lang,xml:lang, plus
versiononhtmlandprofileonhead— and not from
Common.attrib, so none of them takesclass. This is calibre's own
output, so expect it on real EPUB 2 books: two of the 65 on the local
shelf gained findings, 61 of them in one book.
Full notes: CHANGELOG.md. Also on crates.io.