Hi Donald,
I downloaded the referenced zip file, and I noticed indeed that various of the file meta data in the archive is invalid: The first zip entry has 13732320 bytes, but instead of E089D100 (little-endian), the compressed file size is set to FFFFFFFF. Moreover, I noted that the zip entries are not really compressed (although they are flagged as such), and I can reducing its size from 1,8 GB to 40 MB by zipping it again.
Thanks for the zip4j pull request. I tend to stick with the default Java ZIP streams, because it seems to work fine if the input is valid. Maybe you have any chance to unzip the files before passing them on to BaseX?
Cheers, Christian
On Fri, Jun 30, 2017 at 6:38 PM, donaldjohn donaldjohn@qq.com wrote:
Dear Christian, Thanks for kindness, I changed java.util.zip to zip4j in DirParser.java and then baseX can parse my zip correctly. I don't know what really going on under this but it works. I send you my zip file(10-004.ZIP) as attachment of this message,
basex-talk@mailman.uni-konstanz.de