I too am having a similar error to the OP
File format error found at
SAXParseException: '[word/document.xml line 2]: Attribute w:hAnsiTheme redefined
', Stream 'word/document.xml', Line 2, Column 43301(row,col)
I have tried methods 1 and 3 of the link, viewtopic.php?f=7&t=80923&p=404588#p404588 don't have a clue how to do method 2 still can't open the file. The file has tried to be opened in MS Office to see if it can recover it and in desperation I changed the file extension to .odt and open it to see if that would help but no. Does anyone have any other methods I could try please? I have extracted the document.xml file and attached.
Edit:Helps if referring to a link to put it in there!!
[Solved] LibreOffice File format error found at SAXParse
[Solved] LibreOffice File format error found at SAXParse
- Attachments
-
- document.xml
- (89.73 KiB) Downloaded 321 times
Last edited by Hagar Delest on Sat Jan 21, 2017 6:24 pm, edited 1 time in total.
Reason: tagged [Solved].
Reason: tagged [Solved].
OpenOffice 3.1 on Windows Vista
Re: LibreOffice File format error found at SAXParse
Similar topics:
viewforum.php?f=101
viewforum.php?f=101
Tibor Kovacs, Hungary; LO7.5.8 /Win7-10 x64Prof.
PortableApps/winPenPack: LO3.3.0-7.6.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
PortableApps/winPenPack: LO3.3.0-7.6.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
Re: LibreOffice File format error found at SAXParse
Try this version. Please check that formatting and content are as you expect - you may have to make some adjustments.
- Attachments
-
- document.xml
- (89.69 KiB) Downloaded 388 times
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
[fixedRe: LibreOffice File format error found at SAXParse
Thank you so much RoryOF, many hours of my wife's work has been recovered!
If it isn't very complicated I would love to know what you did to recover the file, always good to learn and then hopefully share!
If it isn't very complicated I would love to know what you did to recover the file, always good to learn and then hopefully share!
OpenOffice 3.1 on Windows Vista
Re: LibreOffice File format error found at SAXParse
I opened the file in XML Copy Editor. It told me there was a duplicate tag at an address. I deleted that tag, told XML C.E. to check if the file was well formed, which it was, so I saved and uploaded the file to the Forum. Had there been another error, I'd have repeated the process of deletion etc until the file was clean.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
Re: [Solved] LibreOffice File format error found at SAXParse
Thank you, I will get XML Copy Editor for future!
OpenOffice 3.1 on Windows Vista
Re: [Solved] LibreOffice File format error found at SAXParse
If you are running on Windows there may be better XML editors, ones that do more structure analysis. XML Copy Editor only flags an error, it is not specific about the exact tag in error.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS