Quote:
Originally Posted by KevinH
The first 3 entries have unique ids but identical file paths inside the epub according to the manifest.
|
oops, their mean to be differents (fix but you get the idea).
Quote:
Originally Posted by KevinH
Does epubcheck detect the duplicate manifest entries?
|
Internal check show nothing. epubcheck will report this:
Col: 101: ERROR(OPF-074): The package resource "texts/Section0001.xhtml" is declared in several items of the manifest.
Quote:
Originally Posted by KevinH
Also will you please copy and rename the epub to .zip and run unzip -t on it to see if these duplicates are identical files listed inside the epub zip itself (maybe with different capitalizations) or just maybe symlinks to the same file?
|
Check it, their is no duplicate file or case issue. Only malformed OPF.
Quote:
Originally Posted by KevinH
Also would you please post this epub someplace and pm (KevinH) me with a link to it. Alternatively, add a password to that zip, post the password protected one as an attachment to this thread as a zip and pm me with just the password.
That way I will have a test case to run and test my changes against it.
Thanks
|
Damn, I already manualy fix the ePub. And useless, since it's rather trivial to recreate: just open Sigil on a empty ePub (2 or 3), duplicate a entry and boom, error (tested).
Quote:
Originally Posted by KevinH
I will try to code up a load warning that detects duplicate filepaths and at least manually warn the user to verify/fix its opf manifest to remove identified duplicates for the next release.
|
Thanks.