Hello I have developed a Java application that holds data in XML and prints this data into an OpenOffice.odt file using XSL transformation. Unfortunately, when I open the created file, the message "The file 'xyz.odt' is corrupt and therefore cannot be opened. Should OpenOffice.org repair the file?" pops up. If I choose repair, the document is displayed exactely as expected. If I unzip the created file, I don't see anything that could be corrupt. The astonishing thing is that I can unzip the created file and Zip it again and now, the document is displayed in the OpenOffice writer WITHOUT corruption message.
When I compare both files, the allegedly corrupt one and the one after the unzip-zip procedure, I see that the content of both files looks exactly the same, e.g.: Name type size ratio path content.xml XML 9'690 75% meta.xml XML 915 61% mimetype File 39 0% styles.xml XML 19'711 88% manifest.xml XML 1'886 83% meta-inf\ However, if I compare the size of both files, I notice that the allegedly corrupt file has as size of 6'160 bytes whereas the file that opens without problems has a size of 6'215 bytes (difference of 55 bytes). (The disk size of both files is the same, 8'192 bytes). Does anybody has a hint what could be corrupt with the file created with XSLT? Is there a log file that I can consult to learn more about what exactely is corrupt with the file? Is there a mailing list better suited for this problem? I have OpenOffice.org 2.0.2 installed on Windows XP. The transformer I've created is based on the book "OASIS OpenDocument Essentials" by J.D.Eisenberg. Regards, Benno --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
