Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old Yesterday, 11:56 AM   #316
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,980
Karma: 153791427
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
BAEN uses calibre to make their eBooks and the covers are SVG cover with xlink: in them.

Will epubcheck display usage messages for ePub2 to remove klink:?
JSWolf is offline   Reply With Quote
Old Yesterday, 12:43 PM   #317
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: 54,553
Karma: 182340325
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
BAEN uses calibre to make their eBooks and the covers are SVG cover with xlink: in them.

Will epubcheck display usage messages for ePub2 to remove klink:?
The outdated messages only apply to ePub3. See E. Obsolete features.

Jon, please try taking a more experimentalist approach to answering some of your own questions. It's is easy enough to open a ePub2 file and see what usage errors are given by epubcheck and epubveri.
DNSB is offline   Reply With Quote
Old Yesterday, 03:42 PM   #318
Karellen
Wizard
Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.
 
Karellen's Avatar
 
Posts: 1,908
Karma: 9600930
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
Quote:
Originally Posted by Kayadelenium View Post
2. What breaks first? Navigation with no NCX, the cover, the SVG wrapper, HTML5 sectioning elements, CSS — which of these actually ruins a book on those devices, and which merely looks worse? I would rather cover two things that matter than eight that sound plausible.
On my Libra2, if there is no ncx file in an epub3, there is no table of contents.
Karellen is offline   Reply With Quote
Old Yesterday, 03:49 PM   #319
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,980
Karma: 153791427
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 Karellen View Post
On my Libra2, if there is no ncx file in an epub3, there is no table of contents.
Using KePub or RMSDK (ePub)?
JSWolf is offline   Reply With Quote
Old Yesterday, 03:56 PM   #320
Karellen
Wizard
Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.
 
Karellen's Avatar
 
Posts: 1,908
Karma: 9600930
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
epub3
Karellen is offline   Reply With Quote
Old Yesterday, 04:32 PM   #321
Kayadelenium
Groupie
Kayadelenium ought to be getting tired of karma fortunes by now.Kayadelenium ought to be getting tired of karma fortunes by now.Kayadelenium ought to be getting tired of karma fortunes by now.Kayadelenium ought to be getting tired of karma fortunes by now.Kayadelenium ought to be getting tired of karma fortunes by now.Kayadelenium ought to be getting tired of karma fortunes by now.Kayadelenium ought to be getting tired of karma fortunes by now.Kayadelenium ought to be getting tired of karma fortunes by now.Kayadelenium ought to be getting tired of karma fortunes by now.Kayadelenium ought to be getting tired of karma fortunes by now.Kayadelenium ought to be getting tired of karma fortunes by now.
 
Kayadelenium's Avatar
 
Posts: 180
Karma: 363834
Join Date: Jul 2026
Location: Planet Earth
Device: Kobo Forma
epubveri 0.16.0 — ARIA attribute values

This finishes what Doitsu started at #279. That post was about role accepting any token it was handed; the fix took the role vocabulary and left the layer underneath it alone, which was the aria-* attributes themselves. Every one of them accepted any string, so aria-hidden="ZZZ", aria-level="abc" and aria-live="ZZZ" passed epubveri and failed EPUBCheck. They no longer do.

What this can do to your books

33 of the 49 ARIA states and properties now carry the value space their schema gives them: 24 enumerations, 6 positive integers, 3 floating-point numbers, and the three counts (aria-colcount, aria-rowcount, aria-setsize) that accept a non-negative integer or the literal -1. The 16 that are genuinely free text or an idref — aria-label, aria-labelledby, aria-describedby and their relatives — are untouched, deliberately.

These are errors, so a book with a bad ARIA value that epubveri called valid yesterday is invalid today. It was already invalid in EPUBCheck, so this closes a gap rather than opening a disagreement — but it is the one change here that can move a verdict, so it belongs at the top.

In practice the exposure is close to nothing, and that is measured rather than hoped. Across the 474 books I test against, exactly three aria-* attributes occur at all: aria-label in 50 books, aria-labelledby in 6, aria-controls in 1. All three are free text and none of them is constrained by this change. Not one book on the shelf moved.

The same number is the limit of that evidence: with no book here using a constrained attribute, no book here could have caught a wrong row either. Each of the 33 was measured against EPUBCheck 5.4.0 one value at a time.

A datatype fix underneath it, and why this is 0.16.0

Three of those rows are floating-point numbers, and epubveri's RELAX NG datatype table had been mapping float onto decimal. A decimal has no exponent and no INF or NaN, so aria-valuenow="1e3" and five other shapes EPUBCheck accepts would have been reported as errors. float is now a type of its own. No schema had asked for it before this release, so no published build ever validated anything as the wrong type — but it had to be fixed before the ARIA rows above could land.

That fix is a breaking change for anyone using the crate rather than the command line, and it is why this is 0.16.0 rather than 0.15.3: rng::datatype:atatype gained a variant, so an exhaustive match on it no longer compiles, and Datatype::from now answers Float for "float" and "double". Nothing in the command line, the WASM package or the JSON report changes shape.

If you use the Sigil or calibre plugins

They fetch the new version themselves, so no plugin update is needed. Across a 60-book sample what all three plugins read — verdict, the counts at every severity, and the set of message IDs with their severities — is identical to 0.15.2.

What did not change

EPUBCheck's own test suite: the same message ID on 685 of 687 expected errors, and no false positive on its 368 valid books. The 209 W3C conformance publications: agreement with 5.4.0 on the exact message-ID set in 209 of 209. Still deliberately not implemented, as with role: the per-element layer that decides which element may carry a given aria-* attribute. EPUBCheck answers "element p missing required attribute role" there, which is a different question from the value, and guessing at it would invent errors on real accessibility markup.

Downloads and the full list of changes: https://github.com/veripublica/epubv...es/tag/v0.16.0

The questions I asked at #313 are still open, and they are the ones I would most like answers to — this release is the small kind of work, and that thread is the one that decides the next large kind.
Kayadelenium is online now   Reply With Quote
Old Yesterday, 05:00 PM   #322
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,980
Karma: 153791427
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 Karellen View Post
epub3
That doesn't say which renderer, you used. ePub3 is just the type of ePub.
JSWolf is offline   Reply With Quote
Old Yesterday, 05:10 PM   #323
Karellen
Wizard
Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.
 
Karellen's Avatar
 
Posts: 1,908
Karma: 9600930
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
I don't use kepub. If I did, I would say so.
Karellen is offline   Reply With Quote
Old Yesterday, 07:32 PM   #324
Karellen
Wizard
Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.
 
Karellen's Avatar
 
Posts: 1,908
Karma: 9600930
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
@Kayadelenium

Thanks for your efforts. I've only just started following this.

I have it installed and was a bit confused by all the "Usage" messages, but a quick read back explained what was going on there.

I haven't read back far enough to understand the "why" or how this differs from epubcheck.

I also use this checker in addition to epubcheck... https://jigsaw.w3.org/css-validator/#validate_by_input
It picks up errors that, for some reason, epubcheck won't.
I had hoped that this new validator would pick up those same errors, but it does not.
Is it a feature still to be implemented, or no plans to? Which might mean I need to use 3 checkers?

Here is a sample of the errors picked up by the above online checker.
Code:
99 	h2 	Value Error : text-decoration normal is not a text-decoration value : normal
198 	th 	Value Error : font-style bold is not a font-style value : bold
246 	.box 	Value Error : background-color normal is not a background-color value : normal
389 	.titlepage1 	Value Error : text-decoration normal is not a text-decoration value : normal
Karellen is offline   Reply With Quote
Old Yesterday, 08:39 PM   #325
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: 54,553
Karma: 182340325
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by Karellen View Post
epub3
Are you using RMSDK (sending to your Libra 2 as an .epub) or TENG (sending to your Libra 2 as a .kepub.epub)? RMSDK needs an NCX since it is not that great of an ePub3 renderer and does not know how to handle a HTML navigation document. TENG is a lot more capable as an ePub3 renderer and does not need a NCX navigation document if the HTML navigation document is present.

Last edited by DNSB; Yesterday at 08:43 PM.
DNSB is offline   Reply With Quote
Old Yesterday, 08:53 PM   #326
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: 54,553
Karma: 182340325
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by Karellen View Post
@Kayadelenium

Thanks for your efforts. I've only just started following this.

I have it installed and was a bit confused by all the "Usage" messages, but a quick read back explained what was going on there.

I haven't read back far enough to understand the "why" or how this differs from epubcheck.

I also use this checker in addition to epubcheck... https://jigsaw.w3.org/css-validator/#validate_by_input
It picks up errors that, for some reason, epubcheck won't.
I had hoped that this new validator would pick up those same errors, but it does not.
Is it a feature still to be implemented, or no plans to? Which might mean I need to use 3 checkers?

Here is a sample of the errors picked up by the above online checker.
Code:
99 	h2 	Value Error : text-decoration normal is not a text-decoration value : normal
198 	th 	Value Error : font-style bold is not a font-style value : bold
246 	.box 	Value Error : background-color normal is not a background-color value : normal
389 	.titlepage1 	Value Error : text-decoration normal is not a text-decoration value : normal
For my uses using Sigil, I either use the on-line W3C validator under Tools or Doitsu's CSSValidator - Offline W3C CSS Validator. These are not errors in the ePub stucture/syntax but rather errors in the CSS stylesheet.
Attached Thumbnails
Click image for larger version

Name:	Screenshot 2026-09-21 175025.png
Views:	6
Size:	50.4 KB
ID:	226105   Click image for larger version

Name:	Screenshot 2026-09-21 174932.png
Views:	3
Size:	216.3 KB
ID:	226106  
DNSB is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Plugin] epubveri - Simple epubveri wrapper Doitsu Plugins 39 09-17-2026 02:43 AM
kepubify v4: A fast, standalone EPUB to Kobo EPUB converter geek1011 Kobo Reader 49 12-30-2023 03:37 PM
Epub:type not allowed in epub validator wDr Editor 0 07-01-2016 09:03 PM
ePub Validator odedta ePub 9 06-01-2014 03:35 AM
epub validator fiona86 Conversion 2 06-24-2011 11:34 AM


All times are GMT -4. The time now is 04:31 AM.


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