View Single Post
Old 11-15-2019, 07:01 PM   #133
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: 8,914
Karma: 6120478
Join Date: Nov 2009
Device: many
And for xpgt files the correct mediatype is "application/vnd.adobe-page-template+xml" not the page-map one provided there.

So both mediatypes are incorrect as I suspected.

I think the only solution for broken opf manifest entries is to reverse lookup the provided media-type in an extension table (or visa-versa) and make sure it matches what is provided and create a Warning Dialog to let the user know this opf manifest item is broken.
KevinH is offline   Reply With Quote