Open Office Read-error Format Error Discovered in the File in Sub-document Content.xml
[Solved] Format error discovered in the file in sub-document
Discuss the spreadsheet application
[Solved] Format error discovered in the file in sub-certificate
I have an fault in an OpenDocument calc spreadsheet that prevents me from opening it:
"Format error discovered in the file in sub-document content.xml at 2,141422(row,col)."
I have tried unzipping to remove the style section of tags in the content.xml file, and re-zipping back to a .ods file to no avail.
Delight can anybody help? I have attached the spreadsheet.
- Attachments
-
- Guitar_Lessons.ods
- (nineteen.25 KiB) Downloaded 1133 times
Last edited past Hagar Delest on Fri Jan 14, 2011 1:43 pm, edited 1 fourth dimension in total.
Reason: tagged [Solved].
- nph2011
- Posts: 4
- Joined: Friday January fourteen, 2011 11:13 am
Re: Format error discovered in the file in sub-certificate
Something like that? At that place actually was a mistake: instead of "type" was "tupe"...
- Attachments
-
- Guitar_Lessons_recover.ods
- Changed one byte in line 2, in position 141 422
- (18.18 KiB) Downloaded 1531 times
I may not have a lot to give but what I got I'll requite to you...
Apache OpenOffice 4.1.v, LibreOffice 6.4.iv.2 (x64) on Windows 7
If yous call up that I did non answer your question, make allowances for my imperfect English language
-
JohnSUN-Pensioner - Volunteer
- Posts: 875
- Joined: Fri Jan fourteen, 2011 1:21 pm
- Location: Kyiv, Ukraine
Re: Format error discovered in the file in sub-document
That's wonderful! Thankyou ever so much JohnSUN-Pensioner.
You accept saved me an awful lot of work in updating a much older file that I had saved as a backup. Later unzipping the faulty spreadsheet and using Microsoft Wordpad as a text editor, I had no easy way of counting 141422 characters along the 2d line in lodge to check it.
May I ask, did you use some type of XML parser, or did you have a text editor with line and character numbering available?
OpenOffice.org 3.2.1
Windows XP Pro SP3 5.1.2600 Build 2600
- nph2011
- Posts: four
- Joined: Fri Jan 14, 2011 eleven:13 am
Re: Format mistake discovered in the file in sub-document
LibreOffice 7.2.1 on Xubuntu 21.04 and seven.2.i portable on Windows 10
-
Hagar Delest - Moderator
- Posts: 30235
- Joined: Sun Oct 07, 2007 9:07 pm
- Location: French republic
Re: [Solved] Format error discovered in the file in sub-docu
Thanks for replying Hagar de l'Est. I did really read that thread and I had tried that method before posting on the forum. Unfortunately a similar error occurred when I rebuilt the .ods file by re-zipping the edited content.xml file together with the other previously extracted files. I'm now on the search for a simple text aditor with line/character numbering, then if it happens in time to come I can fix it myself.
OpenOffice.org 3.2.ane
Windows XP Pro SP3 5.1.2600 Build 2600
- nph2011
- Posts: 4
- Joined: Friday Jan 14, 2011 xi:13 am
Re: Format mistake discovered in the file in sub-certificate
nph2011 wrote:...did you have a text editor with line and graphic symbol numbering available?
Exactly This time I took EditPad Pro
I may non have a lot to give but what I got I'll give to you lot...
Apache OpenOffice 4.1.v, LibreOffice 6.4.4.2 (x64) on Windows 7
If you lot retrieve that I did not answer your question, make allowances for my imperfect English language
-
JohnSUN-Pensioner - Volunteer
- Posts: 875
- Joined: Fri January 14, 2011 ane:21 pm
- Location: Kyiv, Ukraine
Re: [Solved] Format error discovered in the file in sub-docu
Now that I call up nearly this, I accept a linux operating system on CD-ROM that is bootable lying effectually the house somewhere. I suppose I can use the native "six" editor and determine the graphic symbol location with <number><pipe> using that in future.
Thanks once again for your help, you've fabricated what looked like it was going to be a miserable twenty-four hour period, very vivid (even though it'due south cold and rainly).
OpenOffice.org 3.ii.i
Windows XP Pro SP3 5.1.2600 Build 2600
- nph2011
- Posts: 4
- Joined: Fri Jan fourteen, 2011 11:13 am
Re: [Solved] Format error discovered in the file in sub-docu
XMLCopy Editor is quite good under GNU/Linux IIRC.
LibreOffice vii.two.1 on Xubuntu 21.04 and 7.2.ane portable on Windows x
-
Hagar Delest - Moderator
- Posts: 30235
- Joined: Dominicus Oct 07, 2007 9:07 pm
- Location: France
Re: [Solved] Format error discovered in the file in sub-docu
Hi,
for hereafter use just untag 'Size Optimization for ODF Format'.
This will brand the xml files in the container pretty printed and non but a single long line.
The size will not increment so much and the advantage of a readable IMHO is amend than the deviation of a few bytes.
The setting can be establish under Tools-Options-Load/Save-Full general
Frank
Frank
If your question is answered, please go to your offset mail service, select the Edit button, and add [Solved] to the beginning of the title.
- fst
- Volunteer
- Posts: 152
- Joined: Wednesday November 28, 2007 2:31 pm
Re: [Solved] Format mistake discovered in the file in sub-docu
I take faced the same problem and I solved below ways.
Stride 1: open file_name.ods file in notepad++ and then salve as file_name.zero
Step two: open up the file_name.nothing using winrar (not excerpt) , from this I can seeing the content.xml file.
Pace 3: open the content.xml (by default xml file using in notepad++ app) in notepad++ and copy the whole data.
Step 4: Validate that xml content and rectify the errors. Then save it.
Stride five: now open up the file_name.cipher using notepad++ and salve it as file_name.ods
At present it solved!
OpenOffice iii.ane on Windows Vista
- aspsak
- Posts: ane
- Joined: Thu Sep 18, 2014 three:09 pm
Re: [Solved] Format error discovered in the file in sub-docu
I have the same problem. Please assistance. Tks
- Attachments
-
- Untitled 1.ods
- (20.66 KiB) Downloaded 334 times
LibreOffice 4.ii.five.two Win vii
- bluebilly
- Posts: two
- Joined: Thu Aug 06, 2015 one:40 pm
Re: [Solved] Format mistake discovered in the file in sub-docu
I tried a little, but i resolve the trouble with the aspsak solution.
LibreOffice 4.2.5.2 Win 7
- bluebilly
- Posts: 2
- Joined: Thu Aug 06, 2015 1:xl pm
Re: [Solved] Format error discovered in the file in sub-docu
I have an odt document, when I open up it in author information technology says: Format fault discovered in the file in sub-certificate etc. I tried apsaks solution above simply when I tried to open the content.xml file it was blank. I really desire this file dorsum. Anyone who can walk me through an alternative recovery solution?
Windows 7
OpenOffice 4.one.ane.
- stianx
- Posts: three
- Joined: Fri Oct 09, 2015 ix:53 pm
Re: [Solved] Format error discovered in the file in sub-docu
If at that place is cypher in the content.xml file (and its size is 0) so forget the certificate file. You might have a fill-in or a temporary file in the OpenOffice backup or temporary directories. I'd run an undelete utility such as Photorec or Recuva to see can that observe a deleted old copy.
Apache OpenOffice iv.1.10 on Xubuntu 20.04.3 and very infrequently on Win2K/XP
-
RoryOF - Moderator
- Posts: 33277
- Joined: Sat Jan 31, 2009 9:thirty pm
- Location: Ireland
Re: [Solved] Format error discovered in the file in sub-docu
Cheers. Turns out there was content. I don't know why it showed up blank at first. I ran a validation using this:
http://world wide web.xmlvalidation.com/
and it detected a couple of errors. Even so, I have no thought where to get from there, how to fix the errors. Not too familiar with code ...
2: 1708 cvc-elt.1: Cannot find the declaration of element 'office:document-content'.
2: 4527 Attribute "name" bound to namespace "urn:oasis:names:tc:opendocument:xmlns:function:1.0" was already specified for element "style:mode".
Windows 7
OpenOffice iv.ane.1.
- stianx
- Posts: iii
- Joined: Fri Oct 09, 2015 9:53 pm
Re: [Solved] Format error discovered in the file in sub-docu
I have not sufficient knowledge of XML to advise - or indeed, to right - those errors. I normally use XML copy editor. All I can suggest is that you try different XML editors until yous find i that highlights the error(s) in some articulate way, delete the erroneous text then reinsert the repaired file into the OO archive.
Apache OpenOffice 4.1.10 on Xubuntu 20.04.3 and very infrequently on Win2K/XP
-
RoryOF - Moderator
- Posts: 33277
- Joined: Saturday Jan 31, 2009 9:xxx pm
- Location: Ireland
Re: [Solved] Format fault discovered in the file in sub-docu
Cheers for your tip RoryOF. It seems pretty straightforward. However, I did not succeed in manually fixing my XML, my validator just kept finding new errors, probably as a result of my clumsy handling of the editing process, dunno. Eventually I found a link to this handy piddling piece of online software in another forum which did the job for me:
https://online.officerecovery.com/author/
It'south free if you share. Took xxx seconds, and now I can read my file over again.
Windows 7
OpenOffice 4.one.one.
- stianx
- Posts: 3
- Joined: Fri October 09, 2015 9:53 pm
Re: [Solved] Format error discovered in the file in sub-docu
I have an error in an OpenDocument calc spreadsheet that prevents me from opening it:
"Format mistake discovered in the file in sub-document content.xml at 2,172788(row,col)."
pls help me !
- Attachments
-
- CUM_TRUNG.ods
- (45.32 KiB) Downloaded 129 times
I Live VIETNAM, OpenOffice 4.ane.6
- huymoto
- Posts: 1
- Joined: Tue Dec 17, 2019 ix:23 am
Re: [Solved] Format error discovered in the file in sub-docu
Try this file.
There were about 20 occurrences where tabular array:content-validation-name="xxxx" was repeated. The repeated values were different (every bit beneath, val3 and val2) and I do not know whether I should have deleted the first occurrence or the second. I guessed and I deleted the second occurrence each time so, while the file at present opens, information technology may exist corrupted. Check it carefully!!
Run across [Tutorial] How to find and un-delete AOO temporary files for detailed instructions on how to
a) use Previous Versions (W7 and afterward) to recover previous versions of the file (is there something like on MacOS and Linux?);
b) recover your file as information technology was when you last opened or saved it, or as it was when information technology was last saved with AutoRecovery;
c) find previous versions of the file in the folder it is located in, but which have since been deleted;
d) un-delete the temporary files AOO wrote while you were editing the file, and then deleted. This will recover your file as it was when yous concluding opened or you last saved it.
See [Tutorial] Format mistake discovered in sub-certificate for the method.
I volition be very interested to know if one file is better than the other or if you cannot meet any differences betwixt the two files.
- John_Ha
- Volunteer
- Posts: 8794
- Joined: Fri Sep xviii, 2009 5:51 pm
- Location: United kingdom
Read-Error. Format mistake discovered in the file in sub-docum
I tin can non open my spreadsheet it comes up with this error: Read-Error. Format error discovered in the file in sub-certificate .
Kindly help me to recover of reopen my file. The file is attached herewith.
- Attachments
-
- Deadstock Received from eCourts.ods
- (62.09 KiB) Downloaded 105 times
Libre Office 4.2.vii.2 Operating Organisation Ubuntu fourteen.04
- Gangadhar
- Posts: 2
- Joined: Sat Nov 28, 2020 12:52 pm
Re: [Solved] Format error discovered in the file in sub-docu
Cheers
David
Apache OpenOffice 420m2(Build:9821) - Slackware 14.ii - 64 bit
LibreOffice 6.4.6.2 (SlackBuild for half-dozen.4.half-dozen past Eric Hameleers) - Slackware 14.2 - 64 flake
Apache OpenOffice 4.1.four - Windows 7 Virtual machine
-
robleyd - Moderator
- Posts: 4267
- Joined: Mon Aug 19, 2013 3:47 am
- Location: Murbko, Australia
Re: [Solved] Format error discovered in the file in sub-docu
Thank you very much
Libre Office 4.2.seven.two Operating System Ubuntu 14.04
- Gangadhar
- Posts: 2
- Joined: Sat Nov 28, 2020 12:52 pm
Return to Calc
Who is online
Users browsing this forum: No registered users and 24 guests
Source: https://forum.openoffice.org/en/forum/viewtopic.php?f=9&t=37417
0 Response to "Open Office Read-error Format Error Discovered in the File in Sub-document Content.xml"
Post a Comment