Format Error in Sub-Document content.xml

Discuss the spreadsheet application

Format Error in Sub-Document content.xml

Postby Faraway » Mon Mar 25, 2019 2:50 am

Both my active and back up files of a travel itinerary are now failing to open and give a Format Error in Sub-Documet content.xml .... error. I have tried a number of the suggested recovery methods without success. As the document is 20+ pages I am hoping that there may be someone who could help me recover the document.
Open Office 4.1.5 on Windows 10
Faraway
 
Posts: 3
Joined: Mon Mar 25, 2019 2:44 am

Re: Format Error in Sub-Document content.xml

Postby FJCC » Mon Mar 25, 2019 4:06 am

If you post it here, if it is under 128kB, or on some file sharing site like Dropbox, someone can take a look at it. To post the document here, click Post Reply and then look for the Upload Attachment tab just below the ox where you type a response.
Windows 10 and Linux Mint, since 2017
If your question is answered, please go to your first post, select the Edit button, and add [Solved] to the beginning of the title.
FJCC
Moderator
 
Posts: 7305
Joined: Sat Nov 08, 2008 8:08 pm
Location: Colorado, USA

Re: Format Error in Sub-Document content.xml

Postby Faraway » Mon Mar 25, 2019 6:09 am

Greatly appreciated. File uploaded.
Itinerary Vienna Greece 2019.ods
(59.63 KiB) Downloaded 10 times
Open Office 4.1.5 on Windows 10
Faraway
 
Posts: 3
Joined: Mon Mar 25, 2019 2:44 am

Re: Format Error in Sub-Document content.xml

Postby RoryOF » Mon Mar 25, 2019 9:28 am

At a first try, your file is seriously damaged and needs heavier tools and more time than I have at present.
Apache OpenOffice 4.1.7 on Xubuntu 18.04.3 (mostly 64 bit version) and very infrequently on Win2K/XP
User avatar
RoryOF
Moderator
 
Posts: 29575
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Format Error in Sub-Document content.xml

Postby John_Ha » Mon Mar 25, 2019 1:02 pm

The file is very badly corrupted and content.xml cannot be extracted for repair as it fails the CRC check. This is the best I could do by removing the tags from the badly corrupted content.xml. IT contains some user text, which may be useful, and lots of garbage. I "repaired" the file with WinZip and extracted what I could.

See [Tutorial] How to find and un-delete AOO temporary files for detailed instructions on how to

a) use Previous Versions (W7 and later) to recover previous versions of the file (is there something similar on MacOS and Linux?);

b) recover your file as it was when you last opened or saved it, or as it was when it was last saved with AutoRecovery;

c) find previous versions of the file in the folder it is located in, but which have since been deleted;

d) un-delete the temporary files AOO wrote while you were editing the file, and then deleted. This will recover your file as it was when you last opened or you last saved it.
Attachments
content.odt
(57.96 KiB) Downloaded 5 times
Last edited by John_Ha on Mon Mar 25, 2019 1:23 pm, edited 2 times in total.
AOO 4.1.6, Windows 7 Home 64 bit

See the Writer Guide, the Writer FAQ, the Writer Tutorials and Writer for students.

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

Re: Format Error in Sub-Document content.xml

Postby RoryOF » Mon Mar 25, 2019 1:12 pm

John_Ha wrote:The file is very badly corrupted and content.xml cannot be extracted for repair as it fails the CRC check.


That is what I found also.
Apache OpenOffice 4.1.7 on Xubuntu 18.04.3 (mostly 64 bit version) and very infrequently on Win2K/XP
User avatar
RoryOF
Moderator
 
Posts: 29575
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Format Error in Sub-Document content.xml

Postby Faraway » Mon Mar 25, 2019 10:55 pm

Many thanks John. I had auto recovery set every 5 minutes so here's hoping.
Open Office 4.1.5 on Windows 10
Faraway
 
Posts: 3
Joined: Mon Mar 25, 2019 2:44 am


Return to Calc

Who is online

Users browsing this forum: No registered users and 30 guests