On Tue, 8 Nov 2005, Tobias Mueller wrote:

> Hi,
> 
> I've written a java application that generates .sxw files (via XSLT).
> The xml files are archived using the java.util.zip library.
> The files are fine when opened with OO1.1.4.
> If the files are opened with OO2.0 an error message appears that the sxw 
> file is corrupt and should be fixed.
> After fixing the document everthing is o.k.
> I can't see any differences in the sxw file(archive structure, checksums 
> etc.) before and after fixing.

OOo2.0 requires a manifest.xml file that lists all the other files in the 
archive (content.xml, etc.).  If the manifest.xml file is missing or 
incorrect, you get the "corrupt file" message.

Shameless self-promotion: http://books.evc-cit.info/odbook/book.html has 
information about using the OpenDocument format.
-- 
J. David Eisenberg  http://catcode.com/


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to