[Solved] LibreOffice File error found at SAXParse

Help with installation and general system troubleshooting questions concerning the office suite LibreOffice.
Post Reply
Yarchi
Posts: 3
Joined: Mon Dec 04, 2017 11:30 am

[Solved] LibreOffice File error found at SAXParse

Post by Yarchi »

Hello there!

I have a problem to open my file because of this error:

SAXParseException: '[word/document.xml line 2]: Attribute w:cstheme redefined
', Stream 'word/document.xml', Line 2, Column 50974(row,col).

I tried to solve this problem, but it did not work.
Can anyone help me?

I would be very grateful
Thank You in advance!
Attachments
Office 585_30.11.17_v4.docx
(22.38 KiB) Downloaded 245 times
Last edited by RoryOF on Mon Dec 04, 2017 1:15 pm, edited 1 time in total.
Reason: Added [Solved] and green tick [RoryOF, Moderator]
OpenOffice 5.1.3.2
User avatar
RoryOF
Moderator
Posts: 34570
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: LibreOffice File error found at SAXParse

Post by RoryOF »

Try the attached
Attachments
Office 585_30.11.17_v4_repaired.docx
(22.24 KiB) Downloaded 288 times
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
Yarchi
Posts: 3
Joined: Mon Dec 04, 2017 11:30 am

Re: LibreOffice File error found at SAXParse

Post by Yarchi »

Wow! SO FAST?
Thank you so much!

I tried to fix the file for almost two days!
Can you say what was the problem?
OpenOffice 5.1.3.2
User avatar
RoryOF
Moderator
Posts: 34570
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: LibreOffice File error found at SAXParse

Post by RoryOF »

There was a duplicate XML attribute that needed to be deleted. My XML editor pointed this out; I deleted it, checked that the XML file was well formed, and then rebuilt the .docx file.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
Yarchi
Posts: 3
Joined: Mon Dec 04, 2017 11:30 am

Re: LibreOffice File error found at SAXParse

Post by Yarchi »

Thanks a Lot! Everything worked out.
OpenOffice 5.1.3.2
John_Ha
Volunteer
Posts: 9583
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

Re: LibreOffice File error found at SAXParse

Post by John_Ha »

Yarchi wrote:Can you say what was the problem?
See [Tutorial] How to fix SAXParse errors in LibreOffice files
LO 6.4.4.2, Windows 10 Home 64 bit

See the Writer Guide, the Writer FAQ, the Writer Tutorials and Writer for students.

Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
Post Reply