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-06-2026, 09:27 PM   #16
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: 52,939
Karma: 180988376
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by KevinH View Post
Hopefully with line and column information now.
Not in build 0.4.0.

Current output is:
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]
ERROR OPF-096: non-linear content 'OEBPS/Text/nav.xhtml' is not reachable from the reading order [OEBPS/content.opf:2:1]
— 2 error(s), 0 warning(s): INVALID
DNSB is offline   Reply With Quote
Old 07-06-2026, 09:49 PM   #17
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 9,770
Karma: 7000000
Join Date: Nov 2009
Device: many
The position info was supposedly added in build 0.2.0.

Perhaps something broke.
KevinH is offline   Reply With Quote
Advert
Old 07-06-2026, 09:57 PM   #18
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 9,770
Karma: 7000000
Join Date: Nov 2009
Device: many
Actually it is after the file path separated by colons. So OEBPS/content.opf, line 2, column 1.

Unfortunately neither of the other errors have position info.


ERROR OPF-096: non-linear content 'OEBPS/Text/nav.xhtml' is not reachable from the reading order [OEBPS/content.opf:2:1]

Is there anything interesting on that test epub's content.opf on line 2 column 1?

Last edited by KevinH; 07-06-2026 at 10:01 PM.
KevinH is offline   Reply With Quote
Old Yesterday, 10:08 AM   #19
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,067
Karma: 153695583
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
epubveri is reporting that
Code:
<dc:date>2025-04-24T17:00:00Z</dc:date>
is wrong when it's not wrong.

ERROR OPF-054: dc:date value '2025-04-24T17:00:00Z' is empty or doesn't conform to ISO 8601 [OEBPS/content.opf:9:5]
— 1 error(s), 0 warning(s): INVALID

Last edited by JSWolf; Yesterday at 10:19 AM.
JSWolf is offline   Reply With Quote
Old Yesterday, 11:20 AM   #20
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,143
Karma: 13000000
Join Date: Nov 2019
Location: Wuppertal, Germany
Device: Kobo Sage, Kobo Libra 2, reMarkable PaperPro
dc:date is a date but you posted a datetime.
rantanplan is offline   Reply With Quote
Advert
Old Yesterday, 03:34 PM   #21
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: 52,939
Karma: 180988376
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Testing version 0.4.1 and now I get one error message

Code:
ERROR OPF-096: non-linear content 'OEBPS/Text/nav.xhtml' is not reachable from the reading order [OEBPS/content.opf:2:1]
— 1 error(s), 0 warning(s): INVALID
Line 2 in the content.opf file is:
Code:
<package version="3.0" unique-identifier="BookId" xmlns="http://www.idpf.org/2007/opf">
Line 22 in the content.opf file is:
Code:
<itemref idref="nav.xhtml" linear="no"/>
I've also posted this as an issue.
DNSB is offline   Reply With Quote
Old Yesterday, 04:20 PM   #22
j.p.s
Grand Sorcerer
j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.
 
Posts: 6,057
Karma: 107275353
Join Date: Apr 2011
Device: pb360
Your lines of content.opf didn't make it into your issue text.
j.p.s is offline   Reply With Quote
Old Yesterday, 05:01 PM   #23
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,067
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 rantanplan View Post
dc:date is a date but you posted a datetime.
epubcheck does not call that line an error.
JSWolf is offline   Reply With Quote
Old Yesterday, 05:40 PM   #24
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 9,770
Karma: 7000000
Join Date: Nov 2009
Device: many
When filing a github issue, you can use 3 back ticks at the start of a new line to indicate the start and end of things that need to not be interpreted as xhtml, xml.

Code:
```
This line will not be hidden
```
On github those 3 back tics before before and after, act like our CODE tags here.

So if you edit your github post, you can add them to make it seeable.
KevinH is offline   Reply With Quote
Old Yesterday, 05:57 PM   #25
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 9,770
Karma: 7000000
Join Date: Nov 2009
Device: many
And if you make your nav non-linear in the spine and no links exist to it, epubcheck will complain in the exact same way. The key is here is that Sigil built nav code actually links to itself as the "nav" in its landmarks section. This link from the nav to itself is enough to prevent the epubcheck error as technically a link does point to the nav.

Frankly, this error and its epubcheck "workaround" are both for the birds, as all valid epub3 e-readers can display the nav to the user as part of its navigation features just like the older epub2 ncx could be displayed by the epub2 e-readers.

So this error could apply to other non-linear content without any links landing in it, but should never have been applied to the epub3 nav in the first place!

I argued this with the epubcheck devs to no avail. Their tests for correctness just looks for urls that land inside any xhtml file with no exceptions made for it being the nav.xhtml.

My guess is, the epubverif devs are not running the test to see if a url link lands in an xhtml part. So the self-linking trick to workaround epubcheck's stupidity concerning the nav will not work for epubverif.

Hope this explains this better.

Ps. The reason for this rule by epubcheck is because some xhtml marked non-linear in the spine can never be reached on some e-readers yet, on other e-readers they can still be reached but at the end of the spine by page turning.

The Idpf do not want this, so epubcheck created the rule that nonlinear xhtml resources must have a destination link to them. They just did not properly special case the nav.xhtml nor handle the case of javascripted access to an xhtml file either. So I never pointed out to the epubcheck devs that an internal link to itself in no way helps to solve their problem because the nav.xhtml never should have been treated like the other xhtml files. To top it off the landmarks section is rarely even visible on some e-readers.

The same internal link trick works for any xhtml file listed as non-linear and always has.

Last edited by KevinH; Today at 07:23 AM.
KevinH is offline   Reply With Quote
Old Yesterday, 06:44 PM   #26
j.p.s
Grand Sorcerer
j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.
 
Posts: 6,057
Karma: 107275353
Join Date: Apr 2011
Device: pb360
Quote:
Originally Posted by JSWolf View Post
epubcheck does not call that line an error.
Then epubveri has uncovered a bug in epubcheck.
j.p.s is offline   Reply With Quote
Old Yesterday, 07:31 PM   #27
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: 52,939
Karma: 180988376
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
For what it may worth, I tried epubveri 0.4.2 and my test ePubs showed no error. Then I tried a fresh new created with Vellum ePub. Epubveri does not seem to like @media in CSS files.
DNSB is offline   Reply With Quote
Old Yesterday, 07:57 PM   #28
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: 52,939
Karma: 180988376
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
And now with 0.4.3, epubveri seems to be happy with my test ePub set with no errors being reported that epubcheck did not also report.
DNSB 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:10 PM.


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