nooyoo11 / epubcheck

Automatically exported from code.google.com/p/epubcheck
MIT License
1 stars 0 forks source link

Duplicate files ignored #265

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
PROBLEM:

Generating a .zip (epub) file with Python's Zipfile module allows me to store 
data using the same filename.  In my case, I had OEBPS/content.html stored 
twice in the epub file.

METHOD:

Using Python, create a epub file and store multiple data under the same 
filename.

RESULT:

The first file is checked, duplicates are ignored.

EXPECTED:

A warning might be nice that there are duplicate filenames in the epub file.

PLATFORM:

ADDITIONAL INFO:

If needed I can attach such a epub file for testing.

Original issue reported on code.google.com by jens.tro...@gmail.com on 28 Apr 2013 at 7:40

GoogleCodeExporter commented 9 years ago
Hi Jens, 
could you send a sample epub with dupe filenames please? Thanks.

Original comment by markus.g...@gmail.com on 21 May 2013 at 12:13

GoogleCodeExporter commented 9 years ago
http://www.idpf.org/epub/30/spec/epub30-ocf.html#sec-container-filenames

Original comment by markus.g...@gmail.com on 21 May 2013 at 12:13

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r465.

Original comment by rdeltour@gmail.com on 24 May 2013 at 8:37

GoogleCodeExporter commented 9 years ago
I completely spaced, and I noticed this has been fixed.  Thanks!  I've attached 
a test file anyway; 3.0.1 catches the duplicate chapter.html file.

Original comment by jens.tro...@gmail.com on 4 Jul 2013 at 9:16

Attachments: