Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 04-23-2019, 04:50 PM   #1
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,583
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
EPUBCheck v4.2.0

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.)
Doitsu is offline   Reply With Quote
Old 04-23-2019, 07:05 PM   #2
elibrarian
Imperfect Perfectionist
elibrarian ought to be getting tired of karma fortunes by now.elibrarian ought to be getting tired of karma fortunes by now.elibrarian ought to be getting tired of karma fortunes by now.elibrarian ought to be getting tired of karma fortunes by now.elibrarian ought to be getting tired of karma fortunes by now.elibrarian ought to be getting tired of karma fortunes by now.elibrarian ought to be getting tired of karma fortunes by now.elibrarian ought to be getting tired of karma fortunes by now.elibrarian ought to be getting tired of karma fortunes by now.elibrarian ought to be getting tired of karma fortunes by now.elibrarian ought to be getting tired of karma fortunes by now.
 
elibrarian's Avatar
 
Posts: 460
Karma: 724664
Join Date: Dec 2011
Location: Ølstykke, Denmark
Device: none
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
elibrarian is offline   Reply With Quote
Old 04-23-2019, 08:01 PM   #3
jhowell
Grand Sorcerer
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 6,496
Karma: 84420419
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Kindles
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.
jhowell is offline   Reply With Quote
Old 04-24-2019, 01:24 AM   #4
odamizu
just an egg
odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.
 
odamizu's Avatar
 
Posts: 1,585
Karma: 4300000
Join Date: Mar 2015
Device: Kindle, iOS
@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:
Originally Posted by elibrarian View Post
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.
odamizu is offline   Reply With Quote
Old 04-24-2019, 03:26 AM   #5
elibrarian
Imperfect Perfectionist
elibrarian ought to be getting tired of karma fortunes by now.elibrarian ought to be getting tired of karma fortunes by now.elibrarian ought to be getting tired of karma fortunes by now.elibrarian ought to be getting tired of karma fortunes by now.elibrarian ought to be getting tired of karma fortunes by now.elibrarian ought to be getting tired of karma fortunes by now.elibrarian ought to be getting tired of karma fortunes by now.elibrarian ought to be getting tired of karma fortunes by now.elibrarian ought to be getting tired of karma fortunes by now.elibrarian ought to be getting tired of karma fortunes by now.elibrarian ought to be getting tired of karma fortunes by now.
 
elibrarian's Avatar
 
Posts: 460
Karma: 724664
Join Date: Dec 2011
Location: Ølstykke, Denmark
Device: none
Quote:
Originally Posted by odamizu View Post
@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

Last edited by elibrarian; 04-24-2019 at 05:02 AM.
elibrarian is offline   Reply With Quote
Old 04-24-2019, 02:28 PM   #6
odamizu
just an egg
odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.
 
odamizu's Avatar
 
Posts: 1,585
Karma: 4300000
Join Date: Mar 2015
Device: Kindle, iOS
Thank you elibrarian. Now I'm not sure whether to update to v4.2.0 ...
odamizu is offline   Reply With Quote
Old 05-05-2019, 03:10 PM   #7
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 73,897
Karma: 128597114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
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.
JSWolf is offline   Reply With Quote
Old 05-05-2019, 05:41 PM   #8
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,583
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by JSWolf View Post
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.
Doitsu is offline   Reply With Quote
Old 05-05-2019, 08:29 PM   #9
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 73,897
Karma: 128597114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Doitsu View Post
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

Last edited by JSWolf; 05-05-2019 at 08:35 PM.
JSWolf is offline   Reply With Quote
Old 05-20-2019, 07:56 AM   #10
jhowell
Grand Sorcerer
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 6,496
Karma: 84420419
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Kindles
Version 4.2.1 has been released.
jhowell is offline   Reply With Quote
Old 07-19-2019, 09:04 AM   #11
jhowell
Grand Sorcerer
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 6,496
Karma: 84420419
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Kindles
Version 4.2.2 has been released.
jhowell is offline   Reply With Quote
Old 07-19-2019, 09:38 AM   #12
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 73,897
Karma: 128597114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by jhowell View Post
Version 4.2.2 has been released.
There is a warning if using a 32-bit JVM to increase the stack. This should be done in the next version of the plugins for Calibre and Sigil.
JSWolf is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
EPUBCheck v4.1.1 Doitsu ePub 2 03-18-2019 10:39 AM
EpubCheck 4.0.2 jhowell ePub 5 12-17-2016 11:09 PM
Epubcheck 3 Dillinquent Sigil 36 01-18-2013 05:33 PM
Web-based epubcheck upgraded to epubcheck 1.0.5 kjk ePub 4 02-09-2010 09:53 PM
epubcheck GeoffC ePub 3 11-03-2009 04:26 AM


All times are GMT -4. The time now is 11:27 PM.


MobileRead.com is a privately owned, operated and funded community.