EpubReader icon indicating copy to clipboard operation
EpubReader copied to clipboard

Unrecognized ePub file

Open melinyi opened this issue 2 years ago • 2 comments

Description

Unrecognized ePub file

System.AggregateException”(In System.Private.CoreLib.dll )

Sample EPUB file

File Download Url:

https://drive.google.com/file/d/1zLEv2IL9C8FiLg6T0hm34a5kA-j3IQM3/view?usp=sharing

melinyi avatar Jun 05 '22 10:06 melinyi

I can get the information correctly from RolerFileToolkit

https://github.com/rolerzhang/RolerFileToolkit

melinyi avatar Jun 05 '22 11:06 melinyi

The file is indeed malformed. If you open OPS\fb.opf in the EPUB archive and change the second line from this:

<package version="2.0" unique-identifier="PrimaryID" mlns="http://www.idpf.org/2007/opf">

to this:

<package version="2.0" unique-identifier="PrimaryID" xmlns="http://www.idpf.org/2007/opf">

(notice the xmlns attribute name instead of mlns), it will start working properly.

vers-one avatar Jun 24 '22 02:06 vers-one

Closing the stale issue. Please let me know if have any other questions related to this issue.

vers-one avatar Aug 26 '22 20:08 vers-one