https://bugs.freedesktop.org/show_bug.cgi?id=85496
tmacalp <tmac...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW CC| |tmac...@gmail.com Version|4.3.2.2 release |4.2.0.4 release OS|Windows (All) |All --- Comment #6 from tmacalp <tmac...@gmail.com> --- I believe that I'm running into the same issue. It seems to relate to a glitch where you try to remove text in a cell that contained two different font style attributes, in my case, font-weight. I have attached an example document that should show how to reproduce this corruption. The example document was originally created using an older version of OpenOffice. I've simplified the document as much as possible. Steps to reproduce: 1. Open my example document 2. Double-click into A1 to modify contents 3. Select all text in cell 4. Backspace to clear 5. Save the file 6. File -> Reload Note that you have to follow the above instructions to clear the cell. If you simply select the cell and press delete, the document will not have the same issue. Also, after the reload fails, you need to re-open the example document from scratch. Somehow, performing the undo to restore the original state "fixes" it in the process. Expected: File should reload as expected. Actual: I get the following message on file load. Read-Error. Format error discovered in the file in sub-document content.xml at 2,4706(row,col). Notes: I unzipped the corrupted ods and used xmllint on it: $ xmllint --format content.xml content.xml:2: parser error : Attribute fo:font-weight redefined nt-weight="bold" style:font-weight-asian="bold" style:font-weight-complex="bold" ^ content.xml:2: parser error : Attribute style:font-weight-asian redefined nt-weight="bold" style:font-weight-asian="bold" style:font-weight-complex="bold" ^ content.xml:2: parser error : Attribute style:font-weight-complex redefined nt-weight="bold" style:font-weight-asian="bold" style:font-weight-complex="bold" ^ I then edited content.xml and confirmed that it does define each of those attributes twice in those 3 styles. I can confirm that this is reproducible under the following tested versions: LO 4.2.0.4 running on 32bit Fedora 17 LO 4.2.6.2 running on 64bit RHEL6 LO 4.3.3.2 running on 32bit Fedora 17 and that it does NOT affect the following versions: LO 4.1.3.2 running on 32bit Fedora 17 LO 4.0.6.2 running on 32bit Fedora 17 So, this appears to have started with 4.2.x. If I get some time, I'll bibisect too. Because I can confirm in a reproducible manner, I'm setting the status to "NEW" and changing the version to the first version I can confirm it in, "4.2.0.4". Also, since I'm running Linux, I've changed the OS from Windows to All. -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs