Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 07-10-2026, 07:35 PM   #46
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 53,036
Karma: 181147351
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by JSWolf View Post
It's what most command line programs do that I've used that have this sort of option(s).
How often do you use a CLI program on a case sensitive OS?
DNSB is offline   Reply With Quote
Old 07-10-2026, 07:41 PM   #47
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: 84,104
Karma: 153695583
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 DNSB View Post
How often do you use a CLI program on a case sensitive OS?
Not often at present. But I have in the past.

In this case it would be best to be -v and --version or -V and --Version.
JSWolf is offline   Reply With Quote
Advert
Old 07-10-2026, 08:06 PM   #48
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 53,036
Karma: 181147351
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
I checked multiple apps I use. -V is used for version (--version for the long form) and -v is used for verbose mode (--verbose for the long form). This was on both Linux and Windows platforms.
DNSB is offline   Reply With Quote
Old Yesterday, 04:47 PM   #49
Kayadelenium
Junior Member
Kayadelenium rocks like Gibraltar!Kayadelenium rocks like Gibraltar!Kayadelenium rocks like Gibraltar!Kayadelenium rocks like Gibraltar!Kayadelenium rocks like Gibraltar!Kayadelenium rocks like Gibraltar!Kayadelenium rocks like Gibraltar!Kayadelenium rocks like Gibraltar!Kayadelenium rocks like Gibraltar!Kayadelenium rocks like Gibraltar!Kayadelenium rocks like Gibraltar!
 
Posts: 7
Karma: 100000
Join Date: Jul 2026
Location: Planet Earth
Device: Kobo Forma
epubveri 0.5.0 is out — thank you all

Hi everyone,

epubveri 0.5.0 just shipped, and a lot of it came straight from the feedback in this thread — so first, thank you. The reports here, and the GitHub issues several of you opened, shaped this release more than anything else.

Things that came directly from here:

- USAGE messages (@Doitsu's request): epubveri now reports epubcheck's full five severity levels — fatal, error, warning, info, and usage — instead of folding them together. usage findings appear in the JSON output and are colour-coded in the browser demo.
- -v (@JSWolf): an unknown flag now gives a proper error: unexpected option '-v' (see --help) instead of the confusing "cannot read -v". Per the CLI convention, -v is verbose and -V is version — the git/cargo style @DiapDealer and @PeterT pointed to.
- Earlier reports are in too: exact line:column on findings (@KevinH, for Sigil), the OPF-096 self-link rule, and the dc:date / CSS @media false positives (@DNSB / @JSWolf).

One breaking change to know before you test: the input is now passed with -i. So epubveri book.epub becomes epubveri -i book.epub. epubveri now follows a shared CLI convention across a small tool family, so the flags carry over between them. You can pass -i more than once to validate several books at once.

Also new in 0.5.0:

- --format json — machine-readable output: one JSON object per run, each finding with its code, severity, message and line:column. The CLI, a CI job, and the in-browser build all emit the exact same shape.
- The browser demo got a refresh — download the result as JSON, a dark mode, and still no install / no upload (your file never leaves the page): https://veripublica.github.io/epubveri/

Where to get it:

- Pre-built binaries (Linux, macOS, Windows — x86_64 and ARM): https://github.com/veripublica/epubv...ses/tag/v0.5.0
- crates.io: epubveri · npm: @veripublica/epubveri-wasm
- Source + issues: https://github.com/veripublica/epubveri

Full epubcheck parity is a long road, and there are still things on the list — e.g. @Doitsu's note about epub:type in EPUB 2 is noted but not done yet. If you test 0.5.0 and something misfires — a false positive, a missed error, a wrong severity — please open an issue with the book (or a snippet). Those reports are exactly what moved this forward. Thanks again.
Kayadelenium is offline   Reply With Quote
Old Yesterday, 04:51 PM   #50
rantanplan
Weirdo
rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.
 
Posts: 1,144
Karma: 13000000
Join Date: Nov 2019
Location: Wuppertal, Germany
Device: Kobo Sage, Kobo Libra 2, reMarkable PaperPro
Is it available via homebrew?
rantanplan is offline   Reply With Quote
Advert
Old Yesterday, 04:58 PM   #51
Kayadelenium
Junior Member
Kayadelenium rocks like Gibraltar!Kayadelenium rocks like Gibraltar!Kayadelenium rocks like Gibraltar!Kayadelenium rocks like Gibraltar!Kayadelenium rocks like Gibraltar!Kayadelenium rocks like Gibraltar!Kayadelenium rocks like Gibraltar!Kayadelenium rocks like Gibraltar!Kayadelenium rocks like Gibraltar!Kayadelenium rocks like Gibraltar!Kayadelenium rocks like Gibraltar!
 
Posts: 7
Karma: 100000
Join Date: Jul 2026
Location: Planet Earth
Device: Kobo Forma
Quote:
Originally Posted by rantanplan View Post
Is it available via homebrew?
Not yet — but I'd like to add a Homebrew tap down the line. Can't promise when, though. Thanks for asking.
Kayadelenium is offline   Reply With Quote
Old Yesterday, 08:14 PM   #52
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 14,027
Karma: 83121446
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
Which location do you prefer seeing bugreports? Here or via Github issues?
PeterT is offline   Reply With Quote
Old Yesterday, 08:23 PM   #53
Kayadelenium
Junior Member
Kayadelenium rocks like Gibraltar!Kayadelenium rocks like Gibraltar!Kayadelenium rocks like Gibraltar!Kayadelenium rocks like Gibraltar!Kayadelenium rocks like Gibraltar!Kayadelenium rocks like Gibraltar!Kayadelenium rocks like Gibraltar!Kayadelenium rocks like Gibraltar!Kayadelenium rocks like Gibraltar!Kayadelenium rocks like Gibraltar!Kayadelenium rocks like Gibraltar!
 
Posts: 7
Karma: 100000
Join Date: Jul 2026
Location: Planet Earth
Device: Kobo Forma
Quote:
Originally Posted by PeterT View Post
Which location do you prefer seeing bugreports? Here or via Github issues?
Please use GitHub,
Kayadelenium is offline   Reply With Quote
Old Today, 01:12 AM   #54
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,836
Karma: 24222221
Join Date: Dec 2010
Device: Kindle PW2
@Kayadelenium

Since I don't have a Github account, I hope you don't mind me posting problems here.

I noticed that epubveri doesn't report malformed html files. For example, it won't complain about missing tags:

Spoiler:
Code:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
  "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <title></title>
</head>

<body>
  <p>&nbsp;
</body>
</html>


This file should have triggered:
Code:
RSC-016: Fatal Error while parsing file: The element type "p" must be terminated by the matching end-tag "</p>".
It also doesn't flag inline tags not enclosed by block level tags or text outside of tags.

For example.

Spoiler:
Code:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
  "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <title></title>
</head>

<body>
  <p class="P-Standard">Lorem ipsum</p>

  <span class="class1" id="id1"><span class="class2" id="id2">Phasellus imperdiet leo metus, et gravida lacus. </span></span>hocus pocus* 

  <p class="P-Standard">Nullam ut massa rutrum dolor placerat tempor accumsan eget purus.</p>

</body>
</html>


This file should have triggered:

Code:
RSC-005: Error while parsing file: text not allowed here; expected the element end-tag or element "address", "blockquote", "del", "div", "dl", "h1", "h2", "h3", "h4", "h5", "h6", "hr", "ins", "noscript", "ns:svg", "ol", "p", "pre", "script", "table" or "ul" (with xmlns:ns="http://www.w3.org/2000/svg")
RSC-005: Error while parsing file: element "span" not allowed here; expected the element end-tag or element "address", "blockquote", "del", "div", "dl", "h1", "h2", "h3", "h4", "h5", "h6", "hr", "ins", "noscript", "ns:svg", "ol", "p", "pre", "script", "table" or "ul" (with xmlns:ns="http://www.w3.org/2000/svg")
Since I don't know Rust, I asked Claude.ai for help. It said that the following section in opf.rs will suppress HTML errors:

Spoiler:
Code:
let Ok(d) = parse_xml(&t) else {
    continue;   // <-- silently skips the file. No error reported.
};
crate::htm::check_dom(&d, &path, is_epub3, report);
Doitsu is offline   Reply With Quote
Reply


Forum Jump

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


All times are GMT -4. The time now is 03:52 AM.


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