Hi Luthiger,

On Wednesday, 2007-08-29 15:04:52 +0200, Luthiger Stoll Benno wrote:

> Concerning the mimetype entry:
> > ...  it doesn't look like it is the first stream  ...
> What does this mean? Do I have to write the JarEntry for the mimetype as
> first entry written to the output file?

Yes, and stored uncompressed.

> I've tried that but that doesn't help.
> Additionally, that doesn't explain the phenomenon that unzipping and
> zipping the file fixes the corrupt document by magic.

There seems to be a problem with the Jar/Zip routine then. Maybe some
difference in the zip header structure, one could only tell by comparing
the binaries, or maybe the zipinfo utility can shed some light on that.

  Eike

-- 
 OOo/SO Calc core developer. Number formatter stricken i18n transpositionizer.
 SunSign   0x87F8D412 : 2F58 5236 DB02 F335 8304  7D6C 65C9 F9B5 87F8 D412
 OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
 Please don't send personal mail to this [EMAIL PROTECTED] account, which I use 
for
 mailing lists only and don't read from outside Sun. Use [EMAIL PROTECTED] 
Thanks.

Attachment: pgplcCkI1gTMg.pgp
Description: PGP signature

Reply via email to