Hi,
My epub3 file is generated with an incorrect package.opf file. The spine element contains invalid itemref elements that do not appear as item elements in the manifest element.
This causes a failure with epubcheck 4.0.2.
Validating using EPUB version 3.0.1 rules.
ERROR(OPF-049): ./my-epub.epub/OEBPS/package.opf(27,45): Item id 'id-idp140416362950424' was not found in the manifest.
ERROR(RSC-005): ./my-epub.epub/OEBPS/package.opf(27,45): Error while parsing file 'itemref element idref attribute does not resolve to a manifest item element'.
ERROR(OPF-049): ./my-epub.epub/OEBPS/toc.ncx(-1,-1): Item id 'id-idp140416362950424' was not found in the manifest.
I am enclosing an example which demonstrates this failure. It should work on any Unix/Linux system with xsltproc installed. Just type make.
Thanks.
Sorry for the delay in responding to this problem. I'm fixing bugs now, but I am unable to duplicate your problem. When I run your make process on your files, the resulting epub passes epubcheck. Your zip file did not include your OEBPS directory, so I could not compare my output to yours. Also, did you use a catalog file to map the XSL to a local directory, and which version of the stylesheets was that?