Page 1 of 1
[Solved] LibreOffice File format error found at SAXParse
Posted: Mon Dec 12, 2016 7:34 pm
by assi002
can someone please help me , my document says
File format error found at
SAXParseException: '[word/document.xml line 2]: Attribute w:hAnsiTheme redefined
', Stream 'word/document.xml', Line 2, Column 23116(row,col).
The document is really important for my IB course , please help.
Re: File format error found at SAXParse
Posted: Tue Dec 13, 2016 12:29 am
by John_Ha
Try the uploaded .odt file. I opened your file with AOO and it opened OK, so I saved it as a .odt file. The file was probably created in LibreOffice, but AOO either seems to have a better error handling mechanism than LO, and copes with the error(s); or does not recognise the LO tags and therefore ignores them.
I have also uploaded a .docx file where I manually removed the repeated tags. It may be better, but it probably has lots of extra spaces and tabs added as part of the repair process.
You need to report this is a bug with LibreOffice as, until it is fixed, it will continue to happen. See
How to Report Bugs in LibreOffice
If this solves the problem, please click the Edit button on your
original post and add [Solved] in front of your subject.
Re: File format error found at SAXParse
Posted: Wed Dec 14, 2016 3:03 pm
by John_Ha