On Tue, 29 Jul 2008, Dobson, Paul L CTR USAF AFMC 416 SCMS/OBN wrote:
I am trying to do some comparison to find out what it is about POI 3.5
beta that is causing it to create invalid xlsx files. I am having a
difficult time because when I try to zip a file after unzipping it, the
excel 2007 parser can no longer read it, even if I make no changes to
the files. Any idea what I am doing wrong?
Using a broken zip utility from the look of it.
I've just tried using unzip v5.52 / zip v2.31 on linux. Steps were:
* mkdir expanded
* cd expanded
* unzip ../Original.xlsx
* zip -r ../Repacked.xlsx .
* scp ../Repacked.xlsx to a nearby windows box
* open Repacked.xlsx in excel 2007 without issue
I'd try using a zip utility that does what you ask it to, without any
magic or wizardry - I suspect your gui one is doing something unhelpful
and not telling you.
Nick
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]