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-18-2023, 11:33 AM   #1
Cepheus
Member
Cepheus began at the beginning.
 
Cepheus's Avatar
 
Posts: 18
Karma: 10
Join Date: Mar 2019
Device: Kindle
Flightdeck validation error - nonlinear content

Just wondering if anyone has run into this error message before?

Non-linear content must be reachable, but found no hyperlink to "OEBPS/cover.xhtml".
Look at line 50 in this file: OEBPS/package.opf


We use an XSLT process to generate our ePubs. Line 50 in our package.opf file looks just like all our other ePubs that do validate in Flightdeck

<item id="cover" href="cover.xhtml" media-type="application/xhtml+xml"/>

As Flightdeck does not inform us of how to rectify the issue we are kind of stumped. Has anyone else run across this issue before?
Cepheus is offline   Reply With Quote
Old 04-18-2023, 11:54 AM   #2
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: 7,727
Karma: 5444398
Join Date: Nov 2009
Device: many
You are including the cover.xhtml file in the OPF spine with linear="no" but the latest epubcheck requires that there be an existing link to any file included in the OPF spine.

The solution depends on epub version.

In epub2, you add the "cover" semantic to that file in the OPF guide thereby creating an external link to it.

In epub3, you add the "cover" semantic to that file in the NAV landmarks, thereby creating an external link to it from another xhtml file (in this case the Nav).

Alternatively, if you have a title page or html toc, you can simply create a normal hyperlink to that cover.xhtml and that should address that issue as well.

Aside: Why do you pay for something that free tools like epubcheck, Sigil, Calibre can provide? What advantage does Flightdeck actually provide? I am curious.

Last edited by KevinH; 04-18-2023 at 05:57 PM. Reason: learned to type!
KevinH is offline   Reply With Quote
Advert
Old 04-18-2023, 02:14 PM   #3
Cepheus
Member
Cepheus began at the beginning.
 
Cepheus's Avatar
 
Posts: 18
Karma: 10
Join Date: Mar 2019
Device: Kindle
Thank you for your reply. I don't personally use Flightdeck. The publishing company I work for uploads our ePubs to Firebrand and they use Flightdeck to validate those ePubs. It is a little more in depth than epubcheck and we have no choice but to make sure we pass their validation check.

I'm hoping this validation error is not something we will have to continue with for every ePub we make. It is going to require us to manually edit the files. Validation errors have become an issue lately and the errors are always issues that were not a problem up until the past few months.

We shall see. Thank you again for your reply. You've saved us!
Cepheus is offline   Reply With Quote
Old 04-18-2023, 02:18 PM   #4
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,516
Karma: 19000001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Well, non-linear items in the spine must still be accessible somehow, so you need a link somewhere. I think the error is correctly signalled.
Jellby is online now   Reply With Quote
Reply

Tags
epub, nonlinear, validation


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Validation Error help! SkyeSkye Sigil 4 07-10-2013 02:41 PM
Yet another validation error (.DS_Store content) SamL ePub 1 06-24-2011 02:32 PM
Adobe Content Server validation? sarah_pnix ePub 1 06-11-2011 03:41 AM
Validation error soparch ePub 2 04-15-2011 01:09 PM
Validation error rrosenwald Calibre 10 10-01-2010 11:12 AM


All times are GMT -4. The time now is 12:14 PM.


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