We will have to special case that opf link tag as my understanding was that it can only be used to point to EXTERNAL metadata resources and was never designed to create an unmanifested file inside the epub.
FWIW, I have never seen a commercial epub3 that used it in that way. Instead the extra logistics/manufacturing metadata was hosted externally.
I will double check the official spec to confirm one way or the other.
Update: Yes the href attribute does allow a relative iri in the opf metadata link tag so we will have to special case this when opening the epub. I just never saw it used that way and therefore Sigil does not handle it now, but it soon will.
Last edited by KevinH; 11-10-2018 at 10:24 AM.
|