[Solved] Corrupted file SAXParseException

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

[Solved] Corrupted file SAXParseException

Postby Martj » Sat Jun 09, 2018 1:01 am

Hello,

I've read through the forum here, having the same problem as many others here - getting the error "SAXParseException: '[word/document.xml line 2]: Attribute w:eastAsiaTheme redefined', Stream 'word/document.xml', Line 2, Column 130920(linha,col).

I've lived through different phases of crying and angry because I spent months working in this file! Can anybody help and save me? I am Brazilian and my English is not good enough to understand what I suppose to do.

RoryOF, Please, save me.

The file is attached.


Thank you sooo much!
Last edited by Martj on Sun Jun 10, 2018 3:01 pm, edited 2 times in total.
OpenOffice 6.0.4.2 on Windows 8
Martj
 
Posts: 2
Joined: Sat Jun 09, 2018 12:26 am

Re: Corrupted file SAXParseException

Postby robleyd » Sat Jun 09, 2018 2:15 am

I recovered 2430 pages, with some apparently empty tables. Try the attached file and see how well it has recovered.

For your future peace of mind, I suggest you install the Timestamped backup extension.
Attachments
fixed.docx
(88.23 KiB) Downloaded 80 times
Cheers
David
Apache OpenOffice Developer Build 4.2.0 9820 - 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: 2809
Joined: Mon Aug 19, 2013 3:47 am
Location: Murbko, Australia

Re: Corrupted file SAXParseException

Postby RoryOF » Sat Jun 09, 2018 8:16 am

I'm getting nowhere with this file - I hope that is not a sign of how the rest of the day will go!
Apache OpenOffice 4.1.6 on Xubuntu 18.04.2 (mostly 64 bit version) and very infrequently on Win2K/XP
User avatar
RoryOF
Moderator
 
Posts: 29053
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Corrupted file SAXParseException

Postby RoryOF » Sat Jun 09, 2018 8:56 am

Success! I have recovered 27 pages.
Attachments
Roteiro Paris set-2018_repaired.docx
(85.57 KiB) Downloaded 75 times
Apache OpenOffice 4.1.6 on Xubuntu 18.04.2 (mostly 64 bit version) and very infrequently on Win2K/XP
User avatar
RoryOF
Moderator
 
Posts: 29053
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Corrupted file SAXParseException

Postby Lupp » Sat Jun 09, 2018 11:17 am

@Martj:
As nobody else here mentioned this so far:
-1- Don't miss to improve your backup strategy.
-2- Always use the native ODF formats (.odt, .ods, ...) for your "document under development", and save to alien formats only if urgently needed for export/delivery.
On Windows 10: LibreOffice 6.2 and older versions, PortableOpenOffice 4.1.5 and older, StarOffice 5.2
---
Lupp from München
User avatar
Lupp
Volunteer
 
Posts: 2491
Joined: Sat May 31, 2014 7:05 pm
Location: München, Germany

Re: Corrupted file SAXParseException

Postby John_Ha » Sat Jun 09, 2018 11:53 am

Analysis of the file shows multiple occurrences of two different errors:

1. The reported error was that w:eastAsiaTheme was redefined. There were three occurrences.

2. Once these repeats were deleted, checking the XML syntax showed further errors where w:cstheme was repeated. There were six or seven repeats throughout the file.

Once these had been deleted the XML syntax checker said the file was OK. Opening it showed 27 pages where the last words in the final table were "Passagem Bruges".
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: 6649
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

Re: Corrupted file SAXParseException

Postby Martj » Sat Jun 09, 2018 2:28 pm

Perfect! This is the complete file!
Thank you so much, Robleyd, RoryOF, Lupp and John_Ha, you were incredible.
I really appreciated it. You have no idea how it was important to me.
From now on, I will follow the instructions that you gave me and be more careful.

You saved my life guys!!! :bravo:
OpenOffice 6.0.4.2 on Windows 8
Martj
 
Posts: 2
Joined: Sat Jun 09, 2018 12:26 am


Return to LibreOffice

Who is online

Users browsing this forum: No registered users and 0 guests