GNOME Bugzilla – Bug 705100
Corrupt .gnumeric output
Last modified: 2015-05-12 15:36:00 UTC
Corrupt .gnumeric output. Git versions of glib, goffice, gnumeric, libgsf and libxml2. Test case: http://yritystulkki.fi/files/yt22_1_alkavan_tulossuunnitelma_vasek.xls 1) Open with Gnumeric 2) "Save as" into a .gnumeric file 3) Open the .gnumeric file 4) Observe an error of malformed XML file -- Juha Kylmänen Research Assistant, OUSPG
It's not corrupt. Just the node is too large to be read by libxml. This is quite annoying.
Created attachment 250437 [details] [review] Fixes the issue
Interesting, but see https://bitbucket.org/shlomif/perl-xml-libxml/pull-request/19 Do we lose anything?
We need either to enable the huge mode or to save large pixbufs as several blocks, with no one exceeding 2^20 (hoping the limit will never shrink in libxml). Otherwise, just put a photo inside a gnumeric file, and you will not be able to load it back. What could we loose?
This problem has been fixed in our software repository. The fix will go into the next software release. Thank you for your bug report.
See bug 749238 for related fallout.