(Hi Craig, here is an answer to your problem on the users mailing list. For subscribing info, which you asked for in a pm, see http://support.openoffice.org/index.html, then third link in left column.)
Thanks, Andy, for your help. Esp. for the zip -r option. Am Dienstag, 23. Mai 2006 11:12 schrieb Andy Pepperdine: > On Monday 22 May 2006 21:21, Guido Pinkernell wrote: > > > I have a bit of a problem, I am studying and doing my assighnments > > > on open office, I have had no problems before but for this one is > > > three weeks of work doing back ups, but seems to have corrupted the > > > whole file. > > > > > > the error reads as follows > > > > > > read-error > > > format error discoverd in the sub documents styles.xml at 2,2564 > > > (row column) > > > > Well I unzipped the file and checked styles.xml at line 2 column 2564. > > What I see there is this: > > > > fo:font-size="12pt" > > xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0" > > I've just had a look at this too, and I agree. There are several > spurious extra definitions of xmlns:fo which seem to cause problems. > This is not the only place that they have to be removed. > > Zipping it up again, and re-trying, showed several other places in > content.xml that were also erroneous in a similar manner, and also extra > definitions of text-align elsewhere. > > I'll send the patched file back to the originator directly, as this > mailing list should strip attachments, or so I thought. > > > while the cursor, placed right after > > fo:font-size="12pt" (i.e. right after the second ") > > shows column number 2564. > > > > I can't see anything wrong here. However, removed the mentioned string > > fo:font etc and tried to rezip the thing. OO.org doesn't recognize the > > file as odt. So there. > > You probably forgot to give the -r option to zip so the directories were > not properly zipped up. (As I did the first time too.) This would mean > that the manifest would be missing, and hence it thought the file was > corrupt. A clearer message would have helped there. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
