https://bugs.freedesktop.org/show_bug.cgi?id=83836

          Priority: medium
            Bug ID: 83836
          Assignee: [email protected]
           Summary: FILESAVE: Corrupted content.xml after saving a ODS
                    spreadsheet
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: [email protected]
          Hardware: Other
        Whiteboard: BSA
            Status: UNCONFIRMED
           Version: 4.2.6.2 release
         Component: Spreadsheet
           Product: LibreOffice

Created attachment 106241
  --> https://bugs.freedesktop.org/attachment.cgi?id=106241&action=edit
Defect spreadsheet created by calc

Problem description: 

Recently I created a speadsheet with Libreoffice Calc and saved it. Later I
tried to open it again, but Calc could not open the file and outputted the
following error message:

"Read-Error.
Format error discovered in the file in sub-document content.xml at
2,8442(row,col)."

After investigation I found out that the cause were duplicated attributes
within some XML tags in content.xml. After manually deleting those attributes
and adding the modified content.xml back to the ods file, I was able to open
the spreadsheet again.

I have attached the defect/corrupted spreadsheet as created by Calc, the
manually fixed spreadsheet that can be opened again, and a screenshot showing
the output of wdiff when comparing the two content.xml-files.

Steps to reproduce:
1. Try to open spreadsheet-defect.ods
2. Calc will fail to open it and quits with the error message quoted above.

Current behavior:
Spreadsheet file is corrupted and cannot be used without manual knowledge of
the interns of ODF files/XML format.

Expected behavior:
While saving files, Calc should under every circumstance produce a file that
can be opened again.

Kind regards,
Jan

Operating System: Ubuntu
Version: 4.2.6.2 release

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to