Quote:
Originally Posted by Leonatus
Sigil v. 0.9.16.
I use the plugin EpubCheck_v0.4.1.4, whereas a friend uses the standalone version.
|
What's the EPUBCheck version number that's displayed when you run the plugin?
(It should say:
Running EPUBCheck v4.2.2, if you have the latest version.)
When I tested epub2 and epub3 files with the following code:
Code:
<body>
<h1>
<div>div test</div>
</h1>
<span>span test</span>
</body>
I noticed differences in the errors reported by EPUBCheck 4.2.2.
When I checked the epub2 file both problems were flagged as:
Code:
ERROR(RSC-005): Error while parsing file: element "div" not allowed here
ERROR(RSC-005): Error while parsing file: element "span" not allowed here
However, when I checked the epub3 file only the div was flagged:
Code:
ERROR(RSC-005): Error while parsing file: element "div" not allowed here
AFAIK, EPUBCheck uses
Nu Html Checker for checking HTML5 files in epub3 books, and according to Nu Html Checker, isolated
<span> tags are apparently OK in HTML5 files. IMHO, this is a bug.
Please create blank epub2 and epub3 books with my code, re-create my tests and let me know if you're getting different results.