Re: Difference Between Apache POI 3.17 and 4.0.0+ Versions Regarding Excel File Recognition on Slack

Dominik Stadler <[email protected]> Wed, 4 Sep 2024 18:19:37 +0200
Newsgroups gmane.comp.jakarta.poi.user
Message-ID <CABdJj56ruTjwFeN=06UpB+QVOuiHLpjdx30+u3Mi6eq2-4BKXw@mail.gmail.com>
--00000000000004ff0d06214d8b60
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

As the major version jump indicates, there is a fairly large set of changes
between those versions:
https://github.com/apache/poi/compare/REL_3_17_FINAL...REL_4_0_0_FINAL and
thus very hard to pin-point what may have been changed.

As .xlsx files are actually a zip-file with XML-files inside, you can unzip
two sample files and compare the contents to find out which differences
there are between those versions.

Also the latest version 5.3.0 has many many more changes, did you try with
a more recent version?

D.

On Wed, Sep 4, 2024 at 1:53=E2=80=AFPM =EB=85=B8=EC=9D=80=EC=84=9D <eodyddn=
[email protected]> wrote:

> Hello,
>
> I would like to understand the differences between Apache POI version 3.1=
7
> and versions after 4.0.0. The reason for asking is that when an `.xlsx`
> file generated with versions after 4.0.0 is uploaded to Slack, it is not
> recognized as an Excel file. However, files generated with version 3.17 a=
re
> correctly recognized as Excel files. What could be causing this differenc=
e?
>
> Thank you!
>

--00000000000004ff0d06214d8b60--