Quote:
Originally Posted by snarkophilus
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.