Quote:
Originally Posted by Kayadelenium
v0.5.15 is out, and it’s the one I’d been putting off: the XHTML content model is now validated properly — the deepest, hardest part of matching EPUBCheck, and the part I said from the start I’d leave for last.
|
Thanks for adding this feature. You can test it with this
MR epub.
It contains one paragraph with a misplaced </p> tag.
<p>»Auf Wiedersehen, <i>Jarl</i>!«</p>, antwortete der junge Mann schaudernd, denn das war das erste Mal, dass er den heiligen Namen Gottes von den Lippen des Kapitäns hörte.
epubveri reports this issue twice. Once with a reference to the actual line and once with a reference to the <body> tag.
ERROR RSC-005: text is not allowed directly in "body"; EPUB 2 requires block-level content
ERROR RSC-005: character data is not allowed in element "body"
IMHO,
character data is not allowed in element "body" maybe technically correct, but might not be understood by the average ebook creator.
How about
:
Bare/unwrapped/stray text found in element "body"
or:
Text found outside any tag.