Mobileread
EPUBCheck v4.2.0
#1  Doitsu 04-23-2019, 05:50 PM
EPUBCheck v4.2.0 is now available: https://github.com/w3c/epubcheck/releases/tag/v4.2.0

It provides complete support for checking conformance to the EPUB 3.2 family of specifications.

(I have updated the Sigil and Calibre plugins.)
Reply 

#2  elibrarian 04-23-2019, 08:05 PM
Just for the record: This new epubcheck does not only provide *support* for epub 3.2, it actually checks any epub 3.X against that new standard, regardless of the epub's subversion.

Regards,

Kim
Reply 

#3  jhowell 04-23-2019, 09:01 PM
Any EPUB 3 should have a version of “3.0” in the OPF, even if it follows the 3.2 specification.

From EPUB Packages 3.2

Quote
The version attribute specifies the EPUB specification version to which the given EPUB Package conforms. The attribute MUST have the value "3.0" to indicate compliance with this version of the specification.
Reply 

#4  odamizu 04-24-2019, 02:24 AM
@Doitsu: Thank you!

@elibrarian: Are you saying epubcheck v4.2.0 should only be used for epub 3.2? and any pre-3.2 epub should stick with epubcheck 4.1.1?

Quote elibrarian
Just for the record: This new epubcheck does not only provide *support* for epub 3.2, it actually checks any epub 3.X against that new standard, regardless of the epub's subversion.
Reply 

#5  elibrarian 04-24-2019, 04:26 AM
Quote odamizu
@Doitsu: Thank you!

@elibrarian: Are you saying epubcheck v4.2.0 should only be used for epub 3.2? and any pre-3.2 epub should stick with epubcheck 4.1.1?
That depends. I guess the biggest problem is, that since the epub 3.2 specification "now officially supports the current versions of HTML, CSS, and SVG, as defined by the W3C", the new epubcheck will probably allow a lot of code to pass through as valid HTML etc., that no known reader apparatus at present will render correctly.

Also, AFAIK (but I may be wrong), epub3.2 is still a draft, and the officially recommended version is still 3.01.

The full list of differences is found here

Based on my own (not very thorough) experiments, there also seems to be some discrepancies between the epub 3.2 standard and the Accessibily 1.0 standard (mainly the proper use of ARIA roles), and the way to ensure backward compatibility to epub 2-readers. But I won't go deeper into that now (since I may be wrong on those points …) Edit: Older recommendations specify the use of epub:type and ARIA-roles in the BODY-tag. This practice is now considered "both invalid and harmful". I hadn't spotted that detail, and it accounts for some of the errors I get.

Regards,

Kim
Reply 

#6  odamizu 04-24-2019, 03:28 PM
Thank you elibrarian. Now I'm not sure whether to update to v4.2.0 ...
Reply 

#7  JSWolf 05-05-2019, 04:10 PM
Is anyone else having trouble with epubcheck editor plugin for Calibre with Calibre version 3.42 for Windows 64-bit? It doesn't do anything.
Reply 

#8  Doitsu 05-05-2019, 06:41 PM
Quote JSWolf
Is anyone else having trouble with epubcheck editor plugin for Calibre with Calibre version 3.42 for Windows 64-bit? It doesn't do anything.
Unfortunately, I can't reproduce this issue.

Try the following:

1. Download the the official epubcheck-4.2.0.zip package from Github and unzip it.

2. Unzip the 0.1.6 epubcheck plugin.

3. Replace epubcheck.jar and the complete lib folder with the files from the official release.

4. Change the following entry in __init__.py:

from

Code
 version = (0, 1, 6)
to:

Code
 version = (0, 1, 7)
5. Zip up the 0.1.6 epubcheck plugin and manually install this version.

BTW, you don't need the new version, since it mostly added epub3-only checks.
Reply 

#9  JSWolf 05-05-2019, 09:29 PM
Quote Doitsu
Unfortunately, I can't reproduce this issue.

Try the following:

1. Download the the official epubcheck-4.2.0.zip package from Github and unzip it.

2. Unzip the 0.1.6 epubcheck plugin.

3. Replace epubcheck.jar and the complete lib folder with the files from the official release.

4. Change the following entry in __init__.py:

from

Code
 version = (0, 1, 6)
to:

Code
 version = (0, 1, 7)
5. Zip up the 0.1.6 epubcheck plugin and manually install this version.

BTW, you don't need the new version, since it mostly added epub3-only checks.
I've found the problem. In a command window under Windows 10 64-bit...

The command java -jar epubcheck.jar "Star Trek_ Discovery_ Desperate - DAVID MACK.epub" does not work.

But, the command java -Xss512k -jar epubcheck.jar "Star Trek_ Discovery_ Desperate - DAVID MACK.epub" does work.

The problem is the stack size. I've switched to the 64-bt Java and now it works. So this problem is going to bite others who have a 32-bit Java installed. If you can fix the plugin to set the stack like was done on the command line, then those with a 32-bit Java won't have the same problem.

I've installed your ZIP and it's working. But with the 32-bit Java, it does not work. And I did install the latest 32-bit Java as I thought maybe the version of Java I was using was needing updating.

Anyway, I hope you can get this working for those using 32-bit Java.

Here is the thread about this issue on GitHub. https://github.com/w3c/epubcheck/issues/940
Reply 

#10  jhowell 05-20-2019, 08:56 AM
Version 4.2.1 has been released.
Reply 

  Next »  Last »  (1/2)
Today's Posts | Search this Thread | Login | Register