[Libreoffice-bugs] [Bug 118853] New: DOCX is not readable as an attribute is included more then once

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Jul 20 11:03:58 UTC 2018


https://bugs.documentfoundation.org/show_bug.cgi?id=118853

            Bug ID: 118853
           Summary: DOCX is not readable as an attribute is included more
                    then once
           Product: LibreOffice
           Version: 5.1.6.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: filters and storage
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: mjbecker at web.de

After saving a document in DOCX format, I was not able to open the just saved
document. lowriter displayed the following error message:

An error occurred during opening the file. This may be caused by incorrect file
contents.
The error details are:
SAXException: [word/document.xml line 2]: Attribute w:cstheme redefined

I have unziped and searched through word/document.xml and found the following:

<w:r>
<w:rPr>
<w:rFonts w:eastAsia="Times New Roman" w:cs="Calibri Light"
w:cstheme="majorHAnsi" w:ascii="Calibri Light" w:hAnsi="Calibri Light"
w:cstheme="majorHAnsi"/>
<w:sz w:val="30"/>
<w:szCs w:val="30"/>
<w:lang w:val="en-US" w:eastAsia="de-DE"/>
</w:rPr>
<w:t xml:space="preserve">extra-low voltage </w:t>
</w:r>

So the element w:rFonts contains wcsTheme twice with the same value.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20180720/7ba0778b/attachment.html>


More information about the Libreoffice-bugs mailing list