[Solved] Error in Sub-document content.xml

Discuss the word processor
Post Reply
RoseLamy
Posts: 5
Joined: Sun Aug 22, 2021 9:45 am

[Solved] Error in Sub-document content.xml

Post by RoseLamy »

Hi there,

I lost a very very important document the same way :shock: The error is "Sub-document content.xml at 2,5420 (row,col)".
Is there anything to do ?
If not, can someone explain what I did wrong in order it never happen again
Last edited by robleyd on Sun Aug 22, 2021 1:15 pm, edited 1 time in total.
Reason: Tag [Solved]; move to separate topic
Apache Open office 4.1.10
User avatar
RoryOF
Moderator
Posts: 34570
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: File unreadable / error in content.xml

Post by RoryOF »

Was your file reviewed or edited by someone using MS Office?

If you upload the file to Forum, someone can look at it and most probably recover most or all of its content.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
RoseLamy
Posts: 5
Joined: Sun Aug 22, 2021 9:45 am

Re: File unreadable / error in content.xml

Post by RoseLamy »

RoryOF wrote:Was your file reviewed or edited by someone using MS Office?

If you upload the file to Forum, someone can look at it and most probably recover most or all of its content.
Yes absolutly, the person i work with is using MS Office. This is why it's happening ?
If I send the file, it's possible to delete it after someone helped me (I hope)?
Apache Open office 4.1.10
User avatar
RoryOF
Moderator
Posts: 34570
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: File unreadable / error in content.xml

Post by RoryOF »

Yes, we will always delete a file if confidentiality is needed. You may send it to me or to John_Ha privately - click on the PM button on one of our postings to ask for an email address to send it to.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
John_Ha
Volunteer
Posts: 9583
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

Re: File unreadable / error in content.xml

Post by John_Ha »

RoseLamy wrote: The error is "Sub-document content.xml at 2,5420 (row,col)" ... can someone explain what I did wrong in order it never happen again
It is a bug in AOO which may be fixed in the next release. One way to cause the problem is
  • use AOO Writer
  • you have Edit > Record changes ..., set to ON
  • you delete a range of text which includes two or more "comments each of which is attached to a range of text"
LibreOffice does not have the bug. If you use comments or tracked changes, swap to LibreOffice.
Deleting the highlighted text causes the bug
Deleting the highlighted text causes the bug
See Issue 128356 - Track Changes and Annotations on text range can cause corruption. Applies to 4.x (all versions?)

Either upload the file so someone can repair it or follow the instructions in the tutorial.

If the file is confidential send a PM or email to Rory or me for our email ID so you can send us the file by email.
Attachments
pm.png
pm.png (11.57 KiB) Viewed 4652 times
LO 6.4.4.2, Windows 10 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.
RoseLamy
Posts: 5
Joined: Sun Aug 22, 2021 9:45 am

Re: File unreadable / error in content.xml

Post by RoseLamy »

Thank you so much for the explaination, i'll use libreoffice now.

I already ask Rory his email !
Apache Open office 4.1.10
User avatar
RoryOF
Moderator
Posts: 34570
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: File unreadable / error in content.xml

Post by RoryOF »

File repaired and returned.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
RoseLamy
Posts: 5
Joined: Sun Aug 22, 2021 9:45 am

Re: File unreadable / error in content.xml

Post by RoseLamy »

Thank you both !
Didn't receive the file though, can you confirm me everything is ok ?

Rose
Apache Open office 4.1.10
User avatar
RoryOF
Moderator
Posts: 34570
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: File unreadable / error in content.xml

Post by RoryOF »

File sent again by email, renamed to "Repair_..., also sent attached to PM (Private Message).
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
RoseLamy
Posts: 5
Joined: Sun Aug 22, 2021 9:45 am

Re: File unreadable / error in content.xml

Post by RoseLamy »

Thank you so much !
Have a good day, as you saved a french girl's profesionnal life on a casual sunday morning !
Apache Open office 4.1.10
Post Reply