Page 1 of 1

[Solved] LibreOffice File error found at SAXParse

PostPosted: Mon Dec 04, 2017 11:39 am
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!

Re: LibreOffice File error found at SAXParse

PostPosted: Mon Dec 04, 2017 11:57 am
by RoryOF
Try the attached

Re: LibreOffice File error found at SAXParse

PostPosted: Mon Dec 04, 2017 12:02 pm
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?

Re: LibreOffice File error found at SAXParse

PostPosted: Mon Dec 04, 2017 12:15 pm
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.

Re: LibreOffice File error found at SAXParse

PostPosted: Mon Dec 04, 2017 1:07 pm
by Yarchi
Thanks a Lot! Everything worked out.

Re: LibreOffice File error found at SAXParse

PostPosted: Wed Dec 06, 2017 4:33 pm
by John_Ha
Yarchi wrote:Can you say what was the problem?

See [Tutorial] How to fix SAXParse errors in LibreOffice files