[Solved] SAXParse error in LibreOffice docx file

Help with installation and general system troubleshooting questions concerning the office suite LibreOffice.
Post Reply
SzunyogVihar
Posts: 11
Joined: Thu Apr 07, 2016 7:23 pm

[Solved] SAXParse error in LibreOffice docx file

Post by SzunyogVihar »

Hi everyone,

I have a problem with a docx file sent to me.
Stupidly enough I worked all my translations in the same file saving it under docx in Libre Office.
It contained numerous formatting, probably that is why the next day I was not able to open my whole day's work again. Brrrrr..

Here is the error message:
SAXParseException:'[word/document.xml line2]: Attribute w:cstheme redefined
',Stream'word/document.xml', Line 2, Column 58486(row,col).

I tried zip-ing and got the xml file, from which I could not recover even the text parts.

Could you help me recover the file, please?
It is 456 kB and maximum allowed size is 128kB. What do I do? Sorry for being such an impossible nuisance.
Last edited by SzunyogVihar on Mon Jan 30, 2017 11:45 pm, edited 1 time in total.
Libre Office 4.2
??ubuntu 14.04 LTS
User avatar
Hagar Delest
Moderator
Posts: 32652
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: SAXParse error in LibreOffice docx file

Post by Hagar Delest »

Upload the file (use a 3rd party file sharing web site) and a power user may try to recover something.
Or see the posts linked in the last message of this topic: [Tutorial] Format error discovered in sub-document.

Please add [Solved] at the beginning of the title in your first post (top of the topic) with the edit button if your issue has been fixed.
LibreOffice 7.6.2.1 on Xubuntu 23.10 and 7.6.4.1 portable on Windows 10
SzunyogVihar
Posts: 11
Joined: Thu Apr 07, 2016 7:23 pm

Re: SAXParse error in LibreOffice docx file

Post by SzunyogVihar »

Thanks a lot for the tips.
I have been reading and trying out the tricks for several hours. Now I am at the point of giving it up. Not even pretty print has brought any success.
Anyway, I trust someone will help.
THanks a lot in advance.


Here is the file:
File removed for confidentiality, Hagar (Moderator).

The file(s) that can be retrieved with the above link is (are):

PreziCom-offer_eng.docx (454.503 KB)

The file(s) will be available on the server for the next 5 days.
Libre Office 4.2
??ubuntu 14.04 LTS
User avatar
Hagar Delest
Moderator
Posts: 32652
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: SAXParse error in LibreOffice docx file

Post by Hagar Delest »

Here it is: xxxx file removed
There was 4 or 5 duplicated tags, I just followed the instructions of John_Ha's posts.
Please tell when you've retrieved the file so that we can remove the links.

Please add [Solved] at the beginning of the title in your first post (top of the topic) with the edit button if your issue has been fixed.
LibreOffice 7.6.2.1 on Xubuntu 23.10 and 7.6.4.1 portable on Windows 10
SzunyogVihar
Posts: 11
Joined: Thu Apr 07, 2016 7:23 pm

Re: SAXParse error in LibreOffice docx file

Post by SzunyogVihar »

Hagar, you are simply great! I am still reading and trying the trick and tips you listed.
Anyway, I learnt the lesson, save in odt immediately.

Thanks again.
Libre Office 4.2
??ubuntu 14.04 LTS
Post Reply