View Single Post
Old 11-17-2019, 08:47 PM   #285
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: 80,075
Karma: 147983159
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 snarkophilus View Post
I've got an epub with an incorrect mediatype (see discussion in the Sigil 0.991 thread).

The epub OPF manifest has this entry:
Code:
<item href="Styles/page-template.xpgt" id="pt" media-type="application/vnd.adobe-page-map+xml"/>
FlightCrew says this about that line:
Code:
File: content.opf
Line: 114
Offset: 23784
Message: Error OPF bad item media type value : The <item> element's "media-type" attribute has value "application/vnd.adobe-page-map+xml", but the file's media type is "application/vnd.adobe-page-template+xml". near column 101
but EpubCheck doesn't complain at all. Is this sort of check something that can be added to EpubCheck?
In this case, FlightCrew is wrong and epubcheck is correct. You cannot add it to epubcheck because it's correct the way epubcheck is handling it. It's things like this why you should stop using FlightCrew and use only epubcheck. FlightCrew is no longer being updated whereas epubcheck is.
JSWolf is offline   Reply With Quote