Created attachment 127368 [details] Test document I received a .docx document which I could open in libreoffice, but when saving in .docx format from libreoffice and then opening again, libreoffice failed: terminate called after throwing an instance of 'com::sun::star::xml::sax::SAXParseException' Document in question is attached. Not sure where the bug is. > find . -name "*.xml" | xargs -n1 xmllint > /dev/null ./word/styles.xml:2: parser error : Attribute w:val redefined meShade="" w:fill="FFFFFF" w:themeFill="" w:themeFillTint="" w:themeFillShade="" ^ ./word/styles.xml:2: parser error : Attribute w:fill redefined meShade="" w:fill="FFFFFF" w:themeFill="" w:themeFillTint="" w:themeFillShade="" ^ ./word/styles.xml:2: parser error : Attribute w:val redefined meShade="" w:fill="FFFFFF" w:themeFill="" w:themeFillTint="" w:themeFillShade="" ^ ./word/styles.xml:2: parser error : Attribute w:fill redefined meShade="" w:fill="FFFFFF" w:themeFill="" w:themeFillTint="" w:themeFillShade="" ^ ./word/styles.xml:2: parser error : Attribute w:val redefined meShade="" w:fill="FFFFFF" w:themeFill="" w:themeFillTint="" w:themeFillShade="" ^ ./word/styles.xml:2: parser error : Attribute w:fill redefined meShade="" w:fill="FFFFFF" w:themeFill="" w:themeFillTint="" w:themeFillShade="" ^ ./word/styles.xml:2: parser error : Attribute w:val redefined meShade="" w:fill="FFFFFF" w:themeFill="" w:themeFillTint="" w:themeFillShade="" ^ ./word/styles.xml:2: parser error : Attribute w:fill redefined meShade="" w:fill="FFFFFF" w:themeFill="" w:themeFillTint="" w:themeFillShade="" ^ ./word/styles.xml:2: parser error : Attribute w:val redefined meShade="" w:fill="FFFFFF" w:themeFill="" w:themeFillTint="" w:themeFillShade="" ^ ./word/styles.xml:2: parser error : Attribute w:fill redefined meShade="" w:fill="FFFFFF" w:themeFill="" w:themeFillTint="" w:themeFillShade="" ^ ./word/styles.xml:2: parser error : Attribute w:val redefined meShade="" w:fill="FFFFFF" w:themeFill="" w:themeFillTint="" w:themeFillShade="" ^ ./word/styles.xml:2: parser error : Attribute w:fill redefined meShade="" w:fill="FFFFFF" w:themeFill="" w:themeFillTint="" w:themeFillShade=""
I confirm it with 5.2 and master warn:sfx.doc:51830:1:sfx2/source/doc/objstor.cxx:2298: exception: SAXParseException: '[ line 2]: Attribute w:fill redefined ', Stream '', Line 2, Column 5334
Confirmed. Already in 3.3 and 3.6. Arch Linux 64-bit, KDE Plasma 5 Version: 5.3.0.0.alpha0+ Build ID: 798d55fcd8efc10fcef6b8ac3fa5abdbc82501ec CPU Threads: 8; OS Version: Linux 4.7; UI Render: default; Locale: fi-FI (fi_FI.UTF-8); Calc: group Built on September 13th 2016 Arch Linux 64-bit LibreOffice 3.3.0 OOO330m19 (Build:6) tag libreoffice-3.3.0.4 Arch Linux 64-bit Version 3.6.7.2 (Build ID: e183d5b)
any chance to get the original file before re-saving?
Yes, please ping me off-list at hps@selasky.org .
Hi, Here is how to reproduce: 1) open the Songs_before_editing.docx I send off-list in libreoffice 2) select file->save as "Songs_after_editing.docx" 3) select to use docx format 3) close libreoffice 4) Now open Songs_after_editing.docx: "libreoffice Songs_after_editing.docx" 5) *Bang* --HPS
FYI: zipdetails Songs_before_editing.docx 00000 LOCAL HEADER #1 04034B50 00004 Extract Zip Spec 14 '2.0' 00005 Extract OS 00 'MS-DOS' 00006 General Purpose Flag 0000 [Bits 1-2] 0 'Normal Compression' 00008 Compression Method 0008 'Deflated' 0000A Last Mod Time 492E79F1 'Wed Sep 14 15:15:34 2016' 0000E CRC 8AB86388 00012 Compressed Length 000000E2 00016 Uncompressed Length 0000024D 0001A Filename Length 000B 0001C Extra Length 0014 0001E Filename '_rels/.rels' 00029 Extra ID #0001 0001 'ZIP64' 0002B Length 0010 0002D PAYLOAD ...................J.1...>E.{7.."....z.Y .`HfwC7..Lk...Qt..A.....70..)L.H.x...M.. .e..`..{Z..*.........v.~........*#...Hz. ..........9..Z.A'.{.H...N....3....;..... .....:...3- R..Y|.Du......s...DS../..~/.}.- =.=..r..NB.....)]3..O... Unexpecded END at offset 0000010F, value 671BCCB7 Done Trying to unzip it using unzip results in all zero XML-files.
Created attachment 127374 [details] Original file
So, with the original file I realized more recent versions do not cause the problem of terminating. HPS confirmed that version 5.0.6 already works fine in that regard. However, it does cause a layout problem, where big areas of whitespace appear after a couple of verses: the text is broken up to more pages. This report was originally about the file saved with version 4.3.
** Please read this message in its entirety before responding ** To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the information from Help - About LibreOffice. If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice. Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from http://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to 'inherited from OOo'; 4b. If the bug was not present in 3.3 - add 'regression' to keyword Feel free to come ask questions or to say hello in our QA chat: https://kiwiirc.com/nextclient/irc.freenode.net/#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug
Dear HPS, To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the information from Help - About LibreOffice. If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice. Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from http://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to 'inherited from OOo'; 4b. If the bug was not present in 3.3 - add 'regression' to keyword Feel free to come ask questions or to say hello in our QA chat: https://kiwiirc.com/nextclient/irc.freenode.net/#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug
WFM 8 pages with master 70+.