Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support of Zip64 #97

Open
charphi opened this issue Jul 19, 2021 · 2 comments
Open

Add support of Zip64 #97

charphi opened this issue Jul 19, 2021 · 2 comments
Labels

Comments

@charphi
Copy link
Member

charphi commented Jul 19, 2021

POI 5.x.x has changed its default behavior regarding .xlsx files.
Theses zip files are now created with the Zip64 specification which is not currently supported by nbbrd.io.zip.Zip.
Trying to read these files throws a java.util.zip.ZipException with cause invalid entry size (expected 0 but got ... bytes).

See "Known Interoperability Problems" at https://commons.apache.org/proper/commons-compress/zip.html

@charphi charphi added the bug label Jul 19, 2021
@charphi
Copy link
Member Author

charphi commented Jul 19, 2021

Other option:
replace nbbrd.io.zip.Zip whith https://github.com/srikanth-lingala/zip4j (Java8, module-info, 200KB, zero dependency)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant