[Solved] SAXParseException error message, cannot open file

Help with installation and general system troubleshooting questions concerning the office suite LibreOffice.

[Solved] SAXParseException error message, cannot open file

Postby raffaellarossi » Wed May 23, 2018 5:23 pm

Hello everyone,

I was working on an open office document and after saving it as a .docx file I was unable to open it again and got the following message

File format error found at
SAXParseException: '[word/document.xml line 2]: Attribute w:cstheme redefined
', Stream 'word/document.xml', Line 2, Column 81299(row,col).

I have read a few of these posts before and saw other people with the same problem but I am still unable to fix the file.. to be honest I can barely understand what they are suggesting to do, this is really not my area of expertise :/ Also I tried to attach the file to this post but it is too heavy.

This is an assignment I worked on for weeks and it's due by Friday...Please please somebody help me!!
Many thanks

Raffaella
Last edited by raffaellarossi on Wed May 23, 2018 6:58 pm, edited 1 time in total.
Apache OpenOffice 4.1.3 on Windows 10 Pro
raffaellarossi
 
Posts: 3
Joined: Wed May 23, 2018 5:00 pm

Re: SAXParseException error message, unable to open the file

Postby John_Ha » Wed May 23, 2018 6:11 pm

See [Tutorial] How to fix SAXParse errors in LibreOffice files or upload the file so that it can be repaired. Use the Upload attachment tab below where you type (128 kB max) or use a file share site for a larger file.

See [Tutorial] Differences between Writer and MS Word files for why you should always work in and save files as .odt.
AOO 4.1.6, Windows 7 Home 64 bit

See the Writer Manual, the Writer FAQ, the Writer Tutorials and the Writer guide.

Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
John_Ha
Volunteer
 
Posts: 6725
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

Re: SAXParseException error message, unable to open the file

Postby raffaellarossi » Wed May 23, 2018 6:23 pm

I cannot upload it as it's too big - I will try with a file share...not sure if i am doing this right, hope it works. If not, then apologies for my ignorance :)

https://www.dropbox.com/s/a34mych0jwa94 ... .docx?dl=0
Apache OpenOffice 4.1.3 on Windows 10 Pro
raffaellarossi
 
Posts: 3
Joined: Wed May 23, 2018 5:00 pm

Re: SAXParseException error message, unable to open the file

Postby John_Ha » Wed May 23, 2018 6:49 pm

I guess you did not try anything in [Tutorial] How to fix SAXParse errors in LibreOffice files because AOO opens the file without difficulty, albeit losing some lines - see file opened in AOO and saved as .odt

Repairing the .docx by deleting the repeated attribute gives this repaired docx saved as odt file

Showing that a problem has been solved helps others searching so, if your problem is now solved, please view your first post in this thread and click the Edit button (top right in the post) and add [Solved] in front of the subject.
Last edited by John_Ha on Wed May 23, 2018 7:02 pm, edited 1 time in total.
AOO 4.1.6, Windows 7 Home 64 bit

See the Writer Manual, the Writer FAQ, the Writer Tutorials and the Writer guide.

Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
John_Ha
Volunteer
 
Posts: 6725
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

Re: SAXParseException error message, unable to open the file

Postby raffaellarossi » Wed May 23, 2018 6:55 pm

Re : I guess you did not try anything in [Tutorial] How to fix SAXParse errors in LibreOffice files because AOO opens the file without difficulty.
I did try but got lost and could not understand, as I said this is really not my area of expertise :(

Thank you so so so much, I really appreciate your help!!

Raffa
Apache OpenOffice 4.1.3 on Windows 10 Pro
raffaellarossi
 
Posts: 3
Joined: Wed May 23, 2018 5:00 pm

Re: SOLVED SAXParseException error message,cannot open the f

Postby John_Ha » Wed May 23, 2018 7:03 pm

See repaired .docx file later added above.
AOO 4.1.6, Windows 7 Home 64 bit

See the Writer Manual, the Writer FAQ, the Writer Tutorials and the Writer guide.

Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
John_Ha
Volunteer
 
Posts: 6725
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK


Return to LibreOffice

Who is online

Users browsing this forum: No registered users and 2 guests