[Libreoffice-bugs] [Bug 118237] New: FILESAVE DOCX w:themeColor and w:themeShade attributes get duplicated inside w:color tag
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Tue Jun 19 07:09:34 UTC 2018
https://bugs.documentfoundation.org/show_bug.cgi?id=118237
Bug ID: 118237
Summary: FILESAVE DOCX w:themeColor and w:themeShade attributes
get duplicated inside w:color tag
Product: LibreOffice
Version: 6.2.0.0.alpha0+ Master
Hardware: All
OS: All
Status: UNCONFIRMED
Keywords: dataLoss, filter:docx
Severity: major
Priority: medium
Component: Writer
Assignee: libreoffice-bugs at lists.freedesktop.org
Reporter: kelemeng at ubuntu.com
Created attachment 142895
--> https://bugs.documentfoundation.org/attachment.cgi?id=142895&action=edit
Example file from Word 2013 with w:themeShade attribute
The attached three documents were created in Microsoft Office, and have a
similar issue: the w:themeColor or the w:themeShade attributes inside a w:color
tag gets duplicated, resulting a broken file. All three documents were made
with track changes turned on, and had tracked changes near or around the broken
tags. All documents were originally more complex, the attached files are
simplified and focused on the bug. As the documents weren't made by us, we
don't know exactly, how the bug can be reproduced. We uploaded three documents
with similar issue to help in identifying the underlying bug causing the issue.
These are the broken tags for each document:
SAXParseException-themecolor-LO62Dev.docx:
<w:color w:val="000000" w:themeColor="text1" w:themeColor="text1"/>
SAXParseException-themecolor-2-LO62Dev.docx:
<w:color w:val="000000" w:themeColor="text1" w:themeColor="text1"/>
SAXParseException-wthemeshade-LO62Dev.docx
<w:color w:val="365F91" w:themeColor="accent1" w:themeShade="bf"
w:themeColor="accent1" w:themeShade="bf"/>
Steps to reproduce:
1. Open a file ending with -MSO (SAXParseException-themecolor-MSO.docx,
SAXParseException-themecolor-2-MSO.docx or
SAXParseException-wthemeshade-LO62Dev.docx)
2. Save the file as DOCX with LibreOffice Writer.
3. Reopen the saved file in LibreOffice Writer or Microsoft Word.
Actual results:
An attribute inside a w:color tag gets duplicated, resulting the file to open
with an “SAXParseException: '[word/document.xml line 2]” error message.
Expected results:
Attributes inside w:color tags shouldn't duplicate.
--
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/20180619/553a9a60/attachment.html>
More information about the Libreoffice-bugs
mailing list