[Solved] Corrupted file SAXParseException

Help with installation and general system troubleshooting questions concerning the office suite LibreOffice.

[Solved] Corrupted file SAXParseException

Postby Luciano » Fri Aug 03, 2018 1:52 pm

Hello Rory, Hello everyone,
(sorry for my english mistakes)

I've read through the forum here and everywhere, having a similar problem as others here - getting the error "SAXParseException: '[word/document.xml line 2]: Attribute w:eastAsiaTheme redefined
', Stream 'word/document.xml', Line 2, Column 233645".

Now I know I’ve made the mistake to save a file in docx with Libre Office 5 (I’ll never do that again!). I’ve been working in that file for months and even my Dropbox backup’s got corrupted too (right after the original! - I don’t beleave that!). I’ve tried to repair the file using the methods described in this forum without success. The AOO method’s recovered the first 6 pages of the document but it’s more than 15 long.

I think the solution has to do with some manual editing of the file and I don’t have even the basic knowledge to do it.

Can anybody help me and save my last months, please?

Thank you sooo much!

Luciano Santana (from Brazil)

Here is the file:

[File removed for confidentiality]
Last edited by Hagar Delest on Fri Aug 03, 2018 10:51 pm, edited 1 time in total.
Reason: tagged [Solved].
Libre Office 5.4.7.2; Mac OS 10.11.6.
Luciano
 
Posts: 3
Joined: Fri Aug 03, 2018 1:45 pm

Re: [Solved] Corrupted file SAXParseException

Postby RoryOF » Fri Aug 03, 2018 2:47 pm

Try the attached. Please make sure that content and formatting are as you require.

[File removed for confidentiality]
Apache OpenOffice 4.1.6 on Xubuntu 18.04 (mostly 64 bit version) and infrequently on Win2K/XP
User avatar
RoryOF
Moderator
 
Posts: 28135
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: [Solved] Corrupted file SAXParseException

Postby robleyd » Fri Aug 03, 2018 3:00 pm

I've managed to recover 21 pages - please check it and see if it is as you expect.

There were a significant number of errors in the file.

 Edit: If you wish the repaired files removed from the forum once you have downloaded them, please let us know 


[File removed for confidentiality]
Cheers
David
Apache OpenOffice 4.1.6 - Slackware 14.2 - 64 bit
LibreOffice 6.0.7.3 - Slackware 14.2 - 64 bit
Apache OpenOffice 4.1.4 - Windows 7 Virtual machine
User avatar
robleyd
Moderator
 
Posts: 2429
Joined: Mon Aug 19, 2013 3:47 am
Location: Murbko, Australia

Re: [Solved] Corrupted file SAXParseException

Postby Luciano » Fri Aug 03, 2018 3:29 pm

Thank you very much, Rory, and thank you very much, David!
You've saved months of my life! I've been working in that file since january!
Everything's been fixed, even formatting. You were so kind!
I've already downloaded the files. You may remove them.
Thank you again.
Last edited by Luciano on Fri Aug 03, 2018 3:40 pm, edited 2 times in total.
Libre Office 5.4.7.2; Mac OS 10.11.6.
Luciano
 
Posts: 3
Joined: Fri Aug 03, 2018 1:45 pm

Re: [Solved] Corrupted file SAXParseException

Postby RoryOF » Fri Aug 03, 2018 4:19 pm

Please make daily backups. This is essential for any work of major importance.
Apache OpenOffice 4.1.6 on Xubuntu 18.04 (mostly 64 bit version) and infrequently on Win2K/XP
User avatar
RoryOF
Moderator
 
Posts: 28135
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: [Solved] Corrupted file SAXParseException

Postby Luciano » Fri Aug 03, 2018 4:55 pm

Thanks, Rory. In fact, everytime I worked in that file I did a backup in Dropbox. I got very surprised (and disappointed) when I tried to open my Dropbox back up file and saw that previous version was also corrupted. It seems Libre Office's done a link between both files, corrupting the backup file as I tried to opened it (this is the only explanation that comes to my mind). But from now on, I won't work with doc and docx in LO and I'll diversify my back options. Thank you for your advice.
Libre Office 5.4.7.2; Mac OS 10.11.6.
Luciano
 
Posts: 3
Joined: Fri Aug 03, 2018 1:45 pm

Re: [Solved] Corrupted file SAXParseException

Postby John_Ha » Wed Aug 08, 2018 12:34 pm

If you edit the same file many times it gets "tangled". Check by File > Properties > General ..., and see how many times it has been edited and how many hours it has been open.

You can remove the "tangles" and make the file more responsive by creating a new empty document and inserting the old file.

1. File > New > Text document
2. Insert > From file.

Now pull in the document and save the new file.
AOO 4.1.6, Windows 7 Home 64 bit

See the Writer Manual, the Writer FAQ, the Writer Tutorials and the Writer guide.

Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
John_Ha
Volunteer
 
Posts: 6315
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK


Return to LibreOffice

Who is online

Users browsing this forum: No registered users and 1 guest