Hi, I did a big mistake. I saved a file in docx format and now I cannot open it. This is the message:
SAXParseException: '[word/document.xml line 2]: Attribute w:cstheme redefined
', Stream 'word/document.xml', Line 2, Column 92211(riga,colonna).
I tried to open it in every way, but it doesn't work, It's a very important document (part of a phd thesis). Please help me! The file is too big to be attached (210 kb).
Thank you very much
[Solved] File format error found at SAXParse
[Solved] File format error found at SAXParse
Last edited by Coffaro on Mon Dec 05, 2016 3:42 pm, edited 1 time in total.
Re: File format error found at SAXParse
Then upload the file to a file sharing site and post the URL here.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
Re: File format error found at SAXParse
Make a copy of the file, change the extension to .zip, open the archive, extract and open document.xml in an xml editor, or in a plain text editor if the xml editor refuses to open it (because it's not valid xml). Search for Attribute w:cstheme and remove the second or first definition. Save, insert in the archive over the old version, rename to odt, try to open again.
You can also upload at a file sharing host and provide a link here.
You can also upload at a file sharing host and provide a link here.
OpenOffice 4.1.11 on Ubuntu; LibreOffice 6.4 on Linux Mint, LibreOffice 7.6.2.1 on Ubuntu
If your problem has been solved or your question has been answered, please edit the first post in this thread and add [Solved] to the title bar.
Nederlandstalig forum
If your problem has been solved or your question has been answered, please edit the first post in this thread and add [Solved] to the title bar.
Nederlandstalig forum
Re: File format error found at SAXParse
Thanks a lot. I'm trying to do it. This is the link to download the file:
https://coffaro.bitrix24.com/~pbBgj
Thank you very much...
https://coffaro.bitrix24.com/~pbBgj
Thank you very much...
LibreOffice 5.2.3.3. on Windows 8
Re: File format error found at SAXParse
Please send me a PM with email address to which I can send the repaired file. It now has 22 pages.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
Re: File format error found at SAXParse
I tried to do it, but now it say "general error". May you explain me what I must remove exactly?floris v wrote: Search for Attribute w:cstheme and remove the second or first definition.
Thanks a lot!
P.s.
The damaged file is here: https://coffaro.bitrix24.com/~pbBgj
LibreOffice 5.2.3.3. on Windows 8
Re: File format error found at SAXParse
Repaired(?) file sent by email
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
Re: File format error found at SAXParse
The file is ok! thank you very much... You are great
LibreOffice 5.2.3.3. on Windows 8