[Libreoffice-bugs] [Bug 113790] New: 'SAXParseException: Attribute w:cstheme redefined' error upon certain changes to a DOCX
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Sun Nov 12 19:04:36 UTC 2017
https://bugs.documentfoundation.org/show_bug.cgi?id=113790
Bug ID: 113790
Summary: 'SAXParseException: Attribute w:cstheme redefined'
error upon certain changes to a DOCX
Product: LibreOffice
Version: 5.4.3.2 release
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: critical
Priority: medium
Component: filters and storage
Assignee: libreoffice-bugs at lists.freedesktop.org
Reporter: baron at caesar.elte.hu
Blocks: 104448
Created attachment 137703
--> https://bugs.documentfoundation.org/attachment.cgi?id=137703&action=edit
Sample DOCX
I received a file that gave the same error message upon opening as bug 102929
(that error is also mentioned in bug 92731):
'SAXParseException: [word/document.xml line 2]: Attribute w:cstheme redefined.'
The erroneous element looked like this:
<w:rFonts w:cs="Calibri" w:cstheme="minorHAnsi" w:ascii="Calibri"
w:hAnsi="Calibri" w:cstheme="minorHAnsi"/>
After removing the duplicate attribute from the file manually, the document
could be opened. I copied the relevant part of the text to a new document,
simplified it, and managed to get the followiing repro case:
- Open the attached sample document.
- Copy the bulleted entry "ABCD", and paste it somewhere else, eg. above
"Title3".
- Save as a different DOCX, and reopen it.
=> You get the error/exception mentioned above.
Reproduced using LO 6.0 daily build (2017-11-06_23:18:19,
a5af0fd9f27af42cf2e8571f659cdad6e606215b), 5.4.3.2 / Windows 7.
Note that the sample file, as well as the fixed original contains a couple of
instances of the following OOXML validation error (no idea if it's related,
Word and Writer opens the documents fine):
NumberingSymbolRunProperties /word/numbering.xml
/w:numbering[1]/w:abstractNum[1]/w:lvl[1]/w:rPr[1] RunFonts The
element has unexpected child element
Referenced Bugs:
https://bugs.documentfoundation.org/show_bug.cgi?id=104448
[Bug 104448] [META] DOCX SAXParseException
--
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/20171112/830c4f58/attachment.html>
More information about the Libreoffice-bugs
mailing list