[Solved] Format error in the file sub-document content.xml

Discuss the word processor
Post Reply
waldkauz83
Posts: 2
Joined: Sat Dec 30, 2017 10:18 am

[Solved] Format error in the file sub-document content.xml

Post by waldkauz83 »

Hey there, i am hoping for help. My partner is writing a children´s book on OO and cannot open the attached file anymore. I tried a Text reader and Microsoft Word and last night i updated from OO 4.1.3 to 4.1.5. The error is the follwoing(translated from german): Read-Error sub-document content.xml position 2,3847 (row, col)
We would really appreciate help because she spent hours reediting the text without making a backup. Lesson learned
Attachments
Lilian und Monsieur Alcedo_Erster Entwurf_iw_jr.odt
(86.66 KiB) Downloaded 120 times
Last edited by Hagar Delest on Wed Jan 03, 2018 10:56 pm, edited 1 time in total.
Reason: tagged [Solved].
OpenOffice 4.1.5 on Windows 10
User avatar
RoryOF
Moderator
Posts: 34612
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Format error in the file sub-document content.xml

Post by RoryOF »

Try the attached
Attachments
Lilian und Monsieur Alcedo_Erster Entwurf_iw_jr_repaired.odt
(87.36 KiB) Downloaded 170 times
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
User avatar
robleyd
Moderator
Posts: 5082
Joined: Mon Aug 19, 2013 3:47 am
Location: Murbko, Australia

Re: Format error in the file sub-document content.xml

Post by robleyd »

The attached file opens for me in 4.1.4; please let me know if it is missing anything.

You might consider installing and using Timestamped backup to give you a recovery option.
Attachments
repaired.odt
(87.81 KiB) Downloaded 114 times
Cheers
David
OS - Slackware 15 64 bit
Apache OpenOffice 4.1.15
LibreOffice 24.2.2.2; SlackBuild for 24.2.2 by Eric Hameleers
waldkauz83
Posts: 2
Joined: Sat Dec 30, 2017 10:18 am

Re: Format error in the file sub-document content.xml

Post by waldkauz83 »

Dear RoryOF,
thank you so much!! I am very greatful! You repaired several hours of creative work.
Best regards and all the best.
Last edited by robleyd on Sat Dec 30, 2017 11:22 am, edited 1 time in total.
Reason: Moved all posts into Writer orum
OpenOffice 4.1.5 on Windows 10
User avatar
RoryOF
Moderator
Posts: 34612
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Format error in the file sub-document content.xml

Post by RoryOF »

Look at the other thread in which you posted (where the repaired file is) and adopt robleyd's suggestion about installing the timed backup utility.

You can find your previous postings by clicking on "View your posts" at the bottom of the blue banner at top of the Forum window.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
chrisclifford
Posts: 1
Joined: Mon Jan 22, 2018 9:53 pm

Re: [Solved] Format error in the file sub-document content.x

Post by chrisclifford »

Daughter written a 15 page document and has error message of sub document content xml error when trying t open the file - can anyone please help.....she has to hand this project in tomorrow am !

And, the file is too large to upload to this forum!
openoffice 3 on mac os sierra
User avatar
robleyd
Moderator
Posts: 5082
Joined: Mon Aug 19, 2013 3:47 am
Location: Murbko, Australia

Re: [Solved] Format error in the file sub-document content.x

Post by robleyd »

I've sent a PM with an email address; or you can upload it to a file sharing site such as Mediafire and post the link here.
Cheers
David
OS - Slackware 15 64 bit
Apache OpenOffice 4.1.15
LibreOffice 24.2.2.2; SlackBuild for 24.2.2 by Eric Hameleers
BessyBoo
Posts: 1
Joined: Tue Jan 23, 2018 10:02 am

Re: [Solved] Format error in the file sub-document content.x

Post by BessyBoo »

robleyd wrote:I've sent a PM with an email address; or you can upload it to a file sharing site such as Mediafire and post the link here.
Hello, I couldn't hijack this for a simular service from you Robleyd? Woken up this morning with my gf fretting over this same error, I've had a look at the XML to no avail.
OoenOffice 4.1.5 on Windows 10
User avatar
robleyd
Moderator
Posts: 5082
Joined: Mon Aug 19, 2013 3:47 am
Location: Murbko, Australia

Re: [Solved] Format error in the file sub-document content.x

Post by robleyd »

What I said above....
I've sent a PM with an email address; or you can upload it to a file sharing site such as Mediafire and post the link here.
Cheers
David
OS - Slackware 15 64 bit
Apache OpenOffice 4.1.15
LibreOffice 24.2.2.2; SlackBuild for 24.2.2 by Eric Hameleers
catbill
Posts: 81
Joined: Sun Oct 08, 2017 6:51 pm

Re: [Solved] Format error in the file sub-document content.x

Post by catbill »

Any thoughts about what might cause this problem?
LibreOffice 6.2.6.2
User avatar
robleyd
Moderator
Posts: 5082
Joined: Mon Aug 19, 2013 3:47 am
Location: Murbko, Australia

Re: [Solved] Format error in the file sub-document content.x

Post by robleyd »

Cheers
David
OS - Slackware 15 64 bit
Apache OpenOffice 4.1.15
LibreOffice 24.2.2.2; SlackBuild for 24.2.2 by Eric Hameleers
User avatar
RoryOF
Moderator
Posts: 34612
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: [Solved] Format error in the file sub-document content.x

Post by RoryOF »

catbill wrote:Any thoughts about what might cause this problem?
I've never had it happen to me; my normal use of OpenOffice is for text editing/formatting, with a lesser use for presentations. I regularly edit large files, sometimes several thousands of pages in size and am careful to close down the file and then the computer when editing is finished. I have just checked one work in progress - it has 220 pages, 60k words and has had 3720 file save operations (I instinctively type Ctrl S after any major edit); surely we might expect that a file subject to such extensive editing would show such a bug if it existed in the code? I have other files, larger (one million words, thousands of pages, thousands of edits/saves) also without problems.

This problem is much more common in LibreOffice (particularly in LO's .docx files) and often seems to relate to clusters of Annotations (Comments) in student documents being revised by peers and tutors; however, the association with multiple Annotations may be erroneous - the problem may be caused (perhaps also in earlier cases in this thread) by over hasty close down of the file and computer by one of the revisers.

Until a method of causing this problem is discovered there is little chance of a cure being found.

It is strongly recommended that any file of size or importance should be regularly backed up by timed/dated backups. That way, any damage is limited to loss of the last editing session.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
catbill
Posts: 81
Joined: Sun Oct 08, 2017 6:51 pm

Re: [Solved] Format error in the file sub-document content.x

Post by catbill »

That is helpful to know. I am using LibreOffice and the document has a significant number of comments. So, that backs up your suggestion.

Always helpful to have automatic back-ups.
LibreOffice 6.2.6.2
User avatar
RoryOF
Moderator
Posts: 34612
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: [Solved] Format error in the file sub-document content.x

Post by RoryOF »

There is an extension for timed/dated backups
viewtopic.php?f=47&t=86742&p=405921#p405921
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
Post Reply