Bug 60274

Summary: libre don't use standard ISO XML - Why ?
Product: LibreOffice Reporter: Bartosz Bartczak <lot>
Component: CalcAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED NOTABUG    
Severity: normal CC: tdf
Priority: medium    
Version: 3.6.5.2 release   
Hardware: All   
OS: Linux (All)   
Whiteboard:
Crash report or crash signature: Regression By:

Description Bartosz Bartczak 2013-02-04 12:51:34 UTC
libreoffice-calc 3.6.5-1

Good file:
$ xmllint zadania.ods 
zadania.ods:1: parser error : Start tag expected, '<' not found
PK
^
$

Broken file:
$ xmllint zadania_uszkodzone.ods 
zadania_uszkodzone.ods:1: parser error : Start tag expected, '<' not found
PK
^
$

How can I fix ODS file structure if you do not hold to the standards of ISO?
At the moment, good and damaged files return the same message structure if try analize structure.
Comment 1 Mikko Ahlroth 2013-02-04 13:23:38 UTC
Did you try unzipping the file first? By default an ODS file is a ZIP archive of XML files and relevant data. You can also save your file from Calc as a FODS (Flat ODS) which will produce just one XML file.
Comment 2 Bartosz Bartczak 2013-02-04 13:54:13 UTC
Mikko you have right - unzipping ;)
My mind fixed.
How delete this all post?
Comment 3 Bartosz Bartczak 2013-02-04 14:07:32 UTC
What can I do when try open file and see "Read error. An unknown error occurred."
When unzipping file and check structure all file xml are correct.
And what can I do next if need open this broken file ODS?
Comment 4 Mikko Ahlroth 2013-02-04 14:10:24 UTC
You can try to ask that at http://ask.libreoffice.org/
Comment 5 Bartosz Bartczak 2013-02-04 14:20:23 UTC
I'll do as you suggest.
Too often this text tells calc, so I think it is a program error.