[Solved-Partially] Format error discovered in … content.xml

Discuss the spreadsheet application
Locked
gekkid
Posts: 5
Joined: Thu Dec 12, 2024 11:59 pm

[Solved-Partially] Format error discovered in … content.xml

Post by gekkid »

Hello everyone! Happy to be here...

I have an error in a document that seems quite common... :crazy: I'm not good with .XML files, so I am attaching the file here and kindly asking for help. The document is important for my work, so I'd truly be grateful :bravo:

There's a maximum size for the file per attachment: 128 KiB, so I am sharing the document through my drive:

https://drive.google.com/file/d/1asIgK2 ... sp=sharing

Thank you in advance....

 Edit: Commercial link deleted - see Links in posts and signatures. [robleyd, moderator] 
Last edited by MrProgrammer on Wed Jan 08, 2025 10:15 pm, edited 3 times in total.
Reason: Edited topic's subject
Windows 10 Home, LibreOffice 24.8.3.2
Alex1
Volunteer
Posts: 852
Joined: Fri Feb 26, 2010 1:00 pm
Location: Netherlands, EU

Re: ... content.xml em 2,8151380(linha,coluna).

Post by Alex1 »

Welcome to the forum!
Unlike other files with the same problem, I couldn't extract content.xml from it.
Please check if the file hasn't been truncated during uploading.
AOO 4.1.16 & LO 25.8.3 on Windows 10
gekkid
Posts: 5
Joined: Thu Dec 12, 2024 11:59 pm

Re: ... content.xml em 2,8151380(linha,coluna).

Post by gekkid »

Thank you!

Indeed I have the same issue on my computer before uploading... What now? :knock:
Windows 10 Home, LibreOffice 24.8.3.2
User avatar
Hagar Delest
Moderator
Posts: 33614
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: ... content.xml em 2,8151380(linha,coluna).

Post by Hagar Delest »

You are toast.
All the data is stored in the content.xml file. If it can't be recovered, then the file is lost, sorry.
Maybe someone will have better luck with extracting it but you should consider redoing it or looking for backups.

Note: your signature is misleading, if 24.8, then it's LibreOffice, not OpenOffice.
LibreOffice 25.2 on Linux Mint Debian Edition (LMDE 7 Gigi) and 25.2 portable on Windows 11.
User avatar
robleyd
Moderator
Posts: 5500
Joined: Mon Aug 19, 2013 3:47 am
Location: Murbko, Australia

Re: Error in content.xml em 2,8151380 (line,column)

Post by robleyd »

Using Linux I was able to extract the contents of the .ods file with a warning from (un)zip program. However the resulting contents.xml was some 8 Mb and would not display in my XML editor, at which stage I bowed out.
Slackware 15 (current) 64 bit
Apache OpenOffice 4.1.16
LibreOffice 26.2.2.2; SlackBuild for 26.2.2 by Eric Hameleers
---------------
I hate this damn computer, I wish that I could sell it.
It won't do what I want it to, Only what I tell it.
gekkid
Posts: 5
Joined: Thu Dec 12, 2024 11:59 pm

Re: Error in content.xml em 2,8151380 (line,column)

Post by gekkid »

Thank you for the kind support peepz. Well, I probably have some backups and I can see the data on Google Docs platform. I've updated the Libre Office version.. This has happened before to me so I just hope won't happen again. Is this due to a virus or something?
Windows 10 Home, LibreOffice 24.8.3.2
gekkid
Posts: 5
Joined: Thu Dec 12, 2024 11:59 pm

Re: ... content.xml em 2,8151380(linha,coluna).

Post by gekkid »

Hagar Delest wrote: Fri Dec 13, 2024 8:26 am You are toast.
All the data is stored in the content.xml file. If it can't be recovered, then the file is lost, sorry.
Maybe someone will have better luck with extracting it but you should consider redoing it or looking for backups.

Note: your signature is misleading, if 24.8, then it's LibreOffice, not OpenOffice.
Which is better by the way, Libre or Open?
Windows 10 Home, LibreOffice 24.8.3.2
User avatar
Hagar Delest
Moderator
Posts: 33614
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: Error in content.xml em 2,8151380 (line,column)

Post by Hagar Delest »

There has been several topics about that issue but never linked with a virus. It's more about malformation of the content.xml file when saved.
I think that all of them occur with AOO but there might be very few with LO.
Honestly, I have switched to LO few years ago because AOO is now almost dead. Most of the active devs have moved to LO and development on AOO is now very limited. The gap with LO is too wide to be recovered. Some still stick to AOO because of it's very stable for them (I have never had any issue with LO). Try and see if it fits your needs.
LibreOffice 25.2 on Linux Mint Debian Edition (LMDE 7 Gigi) and 25.2 portable on Windows 11.
User avatar
robleyd
Moderator
Posts: 5500
Joined: Mon Aug 19, 2013 3:47 am
Location: Murbko, Australia

Re: Error in content.xml em 2,8151380 (line,column)

Post by robleyd »

If anyone wants to try their luck with the content.xml PM me and I'll make it available. Zipped it is around 522 Kb, unzipped it expands to over 12 Mb.
Slackware 15 (current) 64 bit
Apache OpenOffice 4.1.16
LibreOffice 26.2.2.2; SlackBuild for 26.2.2 by Eric Hameleers
---------------
I hate this damn computer, I wish that I could sell it.
It won't do what I want it to, Only what I tell it.
Jan_J
Posts: 195
Joined: Wed Apr 29, 2009 1:42 pm
Location: Poland

Re: Error in content.xml em 2,8151380 (line,column)

Post by Jan_J »

The .ods file is corrupted. When unpacking with command line unzip tool, a message

Code: Select all

inflating: content.xml              bad CRC 8005d210  (should be 695f4517)
shows wrong control sum. This points that some part of the .ods file (maybe even single byte) has been modified, no matter: intentionally, by accident or by media error.
This yields that validity of the content of the unpacked content.xml cannot be guaranteed.

Anyway, after unpacking the content.xml file, when examined by xmllint tool, its first error message

Code: Select all

parser error : attributes construct error
table-cell office:value-type="float" office:value="2014le-cell tabe:style-name="
is related to the text at offset 8151360. There's no evidence that the content remains correct before that point. The type of damage is typical for the modification of the zipped file code after compression. I would not trust this file at all.
JJ ∙ https://forum.openoffice.org/pl/
LO (26.2) ∙ Python (3.13|3.10) ∙ Unicode 17 ∙ LᴬTEX 2ε ∙ XML ∙ Unix tools ∙ Linux (Rocky|CentOS)
Alex1
Volunteer
Posts: 852
Joined: Fri Feb 26, 2010 1:00 pm
Location: Netherlands, EU

Re: Error in content.xml em 2,8151380 (line,column)

Post by Alex1 »

The part after the fragment shown by Jan_J has too many errors, so I had to truncate content.xml. Here's the result:
https://1drv.ms/x/c/f765b63bcd137171/ER ... =true&at=9
AOO 4.1.16 & LO 25.8.3 on Windows 10
gekkid
Posts: 5
Joined: Thu Dec 12, 2024 11:59 pm

Re: Error in content.xml em 2,8151380 (line,column)

Post by gekkid »

Alex1 wrote: Sat Dec 14, 2024 3:41 am The part after the fragment shown by Jan_J has too many errors, so I had to truncate content.xml. Here's the result:
https://1drv.ms/x/c/f765b63bcd137171/ER ... =true&at=9
Amazing @alex1 ! Awesome..

Thank you so much!!!

Want to share your crypto Public-key so that I may thank you for your service?

You guys are the best! Have a nice day...
Windows 10 Home, LibreOffice 24.8.3.2
Locked