On Monday 22 May 2006 21:21, Guido Pinkernell wrote: > (Hi Craig, this goes to [email protected] while copied to you since you > don't seem to have subscribed to the mailing list.) > > Has anyone been able to help here? I had a look at his file (which indeed > wasn't stripped) and see the problem but can't quite help. Details inline: > > Am Montag, 22. Mai 2006 12:55 schrieb Craig Curnow: > > Hi > > > > 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. -- Andy Pepperdine On this mailing list help is provided by volunteers. Please subscribe to the mailing list to see all the replies to a query, and reply only to the mailing list at [EMAIL PROTECTED] For FAQ, userguide, see: http://documentation.openoffice.org/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
