OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

OpenOffice content.xml

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Writer
View previous topic :: View next topic  
Author Message
r.kirubhakar1979
Newbie
Newbie


Joined: 19 Jul 2007
Posts: 1

PostPosted: Thu Jul 19, 2007 12:48 am    Post subject: OpenOffice content.xml Reply with quote

HI
I have an odt file. I unzip the odt file using program that I wrote manually. It open and put all the entries of odt in a specified location. After Unzip, again I want to Zip it programmatically. Also it zipped perfectly too.

The problem I am facing is, when I try to open zipped odt file using openoffice It gives a pop up like

The "odtfile" is corrupted. Should openoffice.org get repaired or not.

If I give yes the document opened as repaired document.

can any one give me the solution for this issue?

Reg
Kiru
Back to top
View user's profile Send private message
acknak
Moderator
Moderator


Joined: 13 Aug 2004
Posts: 4295
Location: ~ 40°N,75°W

PostPosted: Thu Jul 19, 2007 8:58 am    Post subject: Reply with quote

Clearly you have not re-zipped it to the same configuration it had originally.

Some things to check:
Is the directory structure of the re-zipped file the same as the original? Make sure you are not including the temporary directory where you unzip the files in the final archive.
Have you included all the sub-directories in the re-zipped archive? Some zip utilities may not do this unless you ask.
Is the OS or the zip utility preserving the correct case of the filenames? CONTENT.XML is the same as content.xml to Windows but not to OOo.
Is the compression method the same? I don't know, but I expect the zip routines in OOo only handle one or two different compression methods.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Writer All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group