[Dropped] Read-error format error discovered in content.xml

Discuss the word processor
Locked
nonenone
Posts: 2
Joined: Wed Apr 13, 2022 9:45 pm

[Dropped] Read-error format error discovered in content.xml

Post by nonenone »

Hi,

I downloaded a word doc file with comments and amended the document using Openoffice Writer. I saved as OpenOffice ODT and closed the file and when I try and open it again I get the following message:

"Read-error format error discovered in the file in sub-document content.xml at 2,3316 (row,col)"

I've tried the suggestions in similar htreads on this forum, such as opening with WinRar, but that doesn't work and yields more error messages. Is there any way to fix this? TIA
Last edited by MrProgrammer on Mon Jul 25, 2022 4:12 pm, edited 1 time in total.
Reason: Dropped: No attachment provided when requested -- MrProgrammer, forum moderator
Openoffice 4 on Windows 10
User avatar
RoryOF
Moderator
Posts: 35106
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Read-error format error discovered in the file in sub-do

Post by RoryOF »

Please upload the file; the Upload tab is below the Submit button on Post Reply or Full Editor screens, but not on the Quick Reply screen.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.5 LTS
nonenone
Posts: 2
Joined: Wed Apr 13, 2022 9:45 pm

Re: Read-error format error discovered in the file in sub-do

Post by nonenone »

Thanks for your reply .Isn't there any other way of fixing the file? I've tried using online convertor tools but they all come up with error messages too
Attachments
screen.png
Last edited by nonenone on Thu Apr 14, 2022 10:00 am, edited 1 time in total.
Openoffice 4 on Windows 10
John_Ha
Volunteer
Posts: 9600
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

Re: Read-error format error discovered in the file in sub-do

Post by John_Ha »

See [Tutorial] Format error discovered in sub-document which gives detailed instructions on exactly how to fix such files.
Last edited by John_Ha on Thu Apr 14, 2022 11:32 am, edited 1 time in total.
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.
User avatar
RoryOF
Moderator
Posts: 35106
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Read-error format error discovered in the file in sub-do

Post by RoryOF »

The quickest way to fix the file is to upload it; I'm sure John_Ha will agree. We need the actual broken file, not a version of it that has been Saved after a repair attempt.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.5 LTS
User avatar
RoryOF
Moderator
Posts: 35106
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Read-error format error discovered in the file in sub-do

Post by RoryOF »

You unzip the OpenOffice file; then open content.xml with an XML editor, and remove all but one of the tags at 2,3316, re-save the altered content.xml and rebuild the OpenOffice file. But it is easy to damage the file, possibly beyond repair. Upload for an experienced operator to fix is simpler and quicker.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.5 LTS
Locked