[Libreoffice-bugs] [Bug 52060] New: LibreOffice Calc does not validate xml and preserves faults in the xml structure.

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Jul 14 00:53:23 CEST 2012


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

             Bug #: 52060
           Summary: LibreOffice Calc does not validate xml and preserves
                    faults in the xml structure.
    Classification: Unclassified
           Product: LibreOffice
           Version: 3.5.5.3 release
          Platform: x86-64 (AMD64)
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Spreadsheet
        AssignedTo: libreoffice-bugs at lists.freedesktop.org
        ReportedBy: machinegodzilla at gmail.com


Created attachment 64184
  --> https://bugs.freedesktop.org/attachment.cgi?id=64184
In the attached sample file the second graph has issues. Double-click on the
graph to see it break.

I used LibO 3.6.0beta1 (build: 1f1cdd8) to create a spreadsheet that contained
a number of graphs. Some of these graphs got corrupt. It turned out that for
whatever reason the content.xml files for the broken graphs got chopped off at
various places.

I then used both LibO 3.6.0beta1 (build: 1f1cdd8) and LibO 3.5.5.3 (build:
7122e39-92ed229-498d286-15e43b4-d70da21) to open the file with corrupt charts.
None has complained while opening the file and both have saved the changes to
the file preserving the faults in content.xml for the graphs.

Issues with LibO:

- there seems to be no xml validation performed on the document during opening,
- no warning is issued that the document may be corrupt,
- saving the document preserves faults in the structure,
- there is no attempt of recovery.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Libreoffice-bugs mailing list