Page 1 of 1

[Solved] Format error discovered in content.xml at 2,44475(row,col)

Posted: Thu Jun 30, 2022 2:26 pm
by spandeyji
When I open libre office calc file then it show error message "Format error discovered in the file in sub-document content.xml at 2,44475(row,col)"
Disposal List.ods
(46.64 KiB) Downloaded 187 times

Re: Format error discovered in the file in sub-document content.xml at 2,44475(row,col)

Posted: Thu Jun 30, 2022 3:21 pm
by John_Ha
Try this repaired file where some of the styles will appear differently.

There were multiple instances of corrupted style definitions (IIRC T5, T31 and T32) where they were reported as having duplicate attributes. As I don't know XML well enough to identify which duplicates were causing the problem I copied T1 and pasted it for T5, T31 and T32.

This is a well known bug in AOO - you are strongly recommended to move to LO which does not have this bug.

Re: Format error discovered in content.xml at 2,44475(row,col)

Posted: Mon Jul 04, 2022 7:49 am
by spandeyji
@ John_Ha
Thank you so much

Re: [Solved] Format error discovered in content.xml at 2,44475(row,col)

Posted: Mon Aug 01, 2022 2:10 pm
by spandeyji
Again I am stuck..
When I open libre office calc file then it show error message "Format error discovered in the file in sub-document content.xml at 2,44475(row,col)"

please help me once again.

Re: [Solved] Format error discovered in content.xml at 2,44475(row,col)

Posted: Mon Aug 01, 2022 2:18 pm
by RoryOF
Opened without error for me - I have resaved it, and attach that file; perhaps it will open for you.

The file gave no error in content.xml, although the Saved file is now considerably smaller.

Re: [Solved] Format error discovered in content.xml at 2,44475(row,col)

Posted: Tue Aug 02, 2022 7:57 am
by spandeyji
# RoryOF....... thank you so much

kindly elaborate the complete process of recover of this type of error.

Re: [Solved] Format error discovered in content.xml at 2,44475(row,col)

Posted: Tue Aug 02, 2022 8:37 am
by spandeyji
Kindly Plz help me again
Format error discovered in content.xml at 2,44475(row,col)
plz plz

Re: [Solved] Format error discovered in content.xml at 2,44475(row,col)

Posted: Tue Aug 02, 2022 9:06 am
by Mountaineer
spandeyji wrote: Tue Aug 02, 2022 7:57 am ...
kindly elaborate the complete process of recover of this type of error.
https://forum.openoffice.org/en/forum/v ... p?t=108191

Re: [Solved] Format error discovered in content.xml at 2,44475(row,col)

Posted: Tue Aug 02, 2022 9:53 am
by RoryOF
Open a copy of the .ods file with an archiver (typically winzip or 7-zip). Extract content.xml (or the file in which Open- or Libre-Office identifies the problem). With an XML editor verify the code contained in the extracted .xml file, and make any adjustments necessary to get the code to pass inspection. Then reinsert the repaired .xml file, close up the archive, and pray that it will work.

If you are repeatedly getting errors in this one Calc file, as seems to be the case, I think you need to revise the formatting you are applying. I cannot identify precisely what is causing the problem: do you need all this formatting?

Re: [Solved] Format error discovered in content.xml at 2,44475(row,col)

Posted: Tue Aug 02, 2022 10:43 am
by John_Ha
There is probably something wrong with the file.

1. File > New > Calc spreadsheet.
2. Copy the contents of the old file and paste them into the new, empty file.

Does that fix it?

Re: [Solved] Format error discovered in content.xml at 2,44475(row,col)

Posted: Tue Aug 02, 2022 12:02 pm
by spandeyji
John_Ha wrote: Tue Aug 02, 2022 10:43 am There is probably something wrong with the file.

1. File > New > Calc spreadsheet.
2. Copy the contents of the old file and paste them into the new, empty file.

Does that fix it?
No .....it can not fix.

Re: [Solved] Format error discovered in content.xml at 2,44475(row,col)

Posted: Tue Aug 02, 2022 2:26 pm
by John_Ha
spandeyji wrote: Tue Aug 02, 2022 12:02 pm
John_Ha wrote: Tue Aug 02, 2022 10:43 am There is probably something wrong with the file.

1. File > New > Calc spreadsheet.
2. Copy the contents of the old file and paste them into the new, empty file.

Does that fix it?
No .....it can not fix.
What I meant is you should create the new file and use it for a few days. The new file should not give the Format errors which the old file gives.

Re: [Solved] Format error discovered in content.xml at 2,44475(row,col)

Posted: Wed Aug 03, 2022 6:51 am
by spandeyji
John_Ha wrote: Tue Aug 02, 2022 2:26 pm
spandeyji wrote: Tue Aug 02, 2022 12:02 pm
John_Ha wrote: Tue Aug 02, 2022 10:43 am There is probably something wrong with the file.

1. File > New > Calc spreadsheet.
2. Copy the contents of the old file and paste them into the new, empty file.

Does that fix it?
No .....it can not fix.
What I meant is you should create the new file and use it for a few days. The new file should not give the Format errors which the old file gives.
ok.... I will definitely do this for next time. Now last time recover this attached file. Plz

Re: [Solved] Format error discovered in content.xml at 2,44475(row,col)

Posted: Wed Aug 03, 2022 10:06 am
by robleyd
See how this looks; and I strongly suggest, in addition to what John_Ha suggests, that you adopt some form of incremental backup process. You might consider installing the Timestamped backup extension, which will allow you to make multiple, timestamped backups of your document. Note that this must be invoked separately from your normal Save.