|
|
#1 | |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 14,023
Karma: 83000000
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
Possible replacement for EPUBCHECK
This might be of interest to some.
A new tool epubverif is under active development as an alternative to the Java based epubcheck. See https://github.com/veripublica/epubveri I've no association with the project but thought it might be of interest. I did do a download and build under Windows 11 and it seemed fine. Quote:
|
|
|
|
|
|
|
#2 |
|
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 52,924
Karma: 180988376
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
I tried it out. First issue is that on multiple ePubs where the epubcheck v5.3.0 did not indicate any errors, epubveri came up with the following errors:
Code:
C:\Users\<user>\Desktop>D:\builder\epubveri\target\release/epubveri monospace_test.epub ERROR RSC-005: value of attribute "property" is invalid (must not be empty) [OEBPS/content.opf] INFO OPF-088: epub:type value 'frontmatter' is not in the default vocabulary [OEBPS/Text/nav.xhtml] ERROR OPF-096: non-linear content 'OEBPS/Text/nav.xhtml' is not reachable from the reading order [OEBPS/content.opf] — 2 error(s), 0 warning(s): INVALID Code:
<meta property="dcterms:modified">2026-03-02T09:56:05Z</meta> I suspect I should have dumped my old Rust install. It took more effort to update than a simple install would have taken. Last edited by DNSB; 07-06-2026 at 01:04 AM. Reason: added the meta property line |
|
|
|
| Advert | |
|
|
|
|
#3 |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 84,063
Karma: 153695583
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
I see no need for epubverif.
|
|
|
|
|
|
#4 |
|
Weirdo
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,143
Karma: 13000000
Join Date: Nov 2019
Location: Wuppertal, Germany
Device: Kobo Sage, Kobo Libra 2, reMarkable PaperPro
|
|
|
|
|
|
|
#5 |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,768
Karma: 7000000
Join Date: Nov 2009
Device: many
|
And based on the error output snippet shown by DNSB, it is not providing any line and column number for any of the errors making it a non-starter for use in Sigil as a validator.
Without a rough position for each error, it is not useful. And Rust outside of a web/kernel/security focused environment is also a bit of a pain in the ass. One more toolchain, one more runtime library, etc. And Rust source is much harder to read/follow than java for anyone not already familiar with it. So it needs to at least add error position info to be at all useful, and will need to fix itself to exactly match epubcheck (fix their bugs) before we can consider using it inside Sigil. And frontmatter is clearly listed in the epub structural semantics spec and is legal: See: https://www.w3.org/TR/epub-ssv-11/ Last edited by KevinH; 07-06-2026 at 09:00 AM. |
|
|
|
| Advert | |
|
|
|
|
#6 |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 84,063
Karma: 153695583
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
And epubcheck works very well with sigil and calibre. Why change what already works so well?
|
|
|
|
|
|
#7 |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,768
Karma: 7000000
Join Date: Nov 2009
Device: many
|
Created an issue on their github site pointing here. So if you find any more issues or differences from epubcheck that you feel it would be useful for the epubverif devs to know about, please post them here, or better yet, create proper issues in their repo if you have a github account.
Last edited by KevinH; 07-06-2026 at 08:58 AM. |
|
|
|
|
|
#8 |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,768
Karma: 7000000
Join Date: Nov 2009
Device: many
|
Because options are good. Sigil will never abandon epubcheck but just like the old flightcrew before it was retired, having multiple validators is a good thing if they catch different but real issues.
Last edited by KevinH; 07-06-2026 at 08:46 AM. |
|
|
|
|
|
#9 |
|
Weirdo
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,143
Karma: 13000000
Join Date: Nov 2019
Location: Wuppertal, Germany
Device: Kobo Sage, Kobo Libra 2, reMarkable PaperPro
|
|
|
|
|
|
|
#10 |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,768
Karma: 7000000
Join Date: Nov 2009
Device: many
|
FWIW, the epubverif devs are quite responsive to our bug reports, and have already made improvements:
https://github.com/veripublica/epubveri/issues/1 So if anyone is willing to work with them to find more issues (after updating to to the latest version), they would be happy to hear from you! Please consider helping them out. |
|
|
|
|
|
#11 |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 84,063
Karma: 153695583
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
If the devs want my help, they'll have to release a compiled version. I'm not installing Rust to compile every new version.
|
|
|
|
|
|
#12 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 14,023
Karma: 83000000
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
|
|
|
|
|
|
#13 | |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 14,023
Karma: 83000000
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
Quote:
|
|
|
|
|
|
|
#14 | |
|
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 52,924
Karma: 180988376
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
|
|
|
|
|
|
|
#15 |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,768
Karma: 7000000
Join Date: Nov 2009
Device: many
|
Hopefully with line and column information now.
|
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| EPUBCheck v4.2.6 | jhowell | ePub | 0 | 06-30-2021 03:49 PM |
| EPUBCheck v4.2.5 | jhowell | ePub | 0 | 03-23-2021 09:45 AM |
| EPUBCheck v4.2.4 | jhowell | ePub | 3 | 06-24-2020 09:51 AM |
| EPUBCheck v4.1.1 | Doitsu | ePub | 2 | 03-18-2019 10:39 AM |
| Web-based epubcheck upgraded to epubcheck 1.0.5 | kjk | ePub | 4 | 02-09-2010 09:53 PM |