Bug 60274 - libre don't use standard ISO XML - Why ?
Summary: libre don't use standard ISO XML - Why ?
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
3.6.5.2 release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-04 12:51 UTC by Bartosz Bartczak
Modified: 2013-02-04 14:20 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.