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.
|