[Libreoffice-bugs] [Bug 140018] Export: Input list with empty item makes DOCX that can't be opened in Word - Generates XML parsing error

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat Jan 30 14:37:22 UTC 2021


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

Mike Kaganski <mikekaganski at hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|1                           |0
             Status|NEEDINFO                    |UNCONFIRMED

--- Comment #4 from Mike Kaganski <mikekaganski at hotmail.com> ---
(In reply to Dave Potter from comment #3)
> Could you provide the exact steps you used to create the document please?

Definitely.
1. Receive a broken DOCX document from a user privately.
2. Start cleaning its XML to nail down the problem.
3. Find out that the field is the culprit, and that removing the empty item
fixes the problem.
4. Save the original broken document to ODF, removing everything except the
problematic field ;-P

So no, I don't know how it was created initially. Maybe it was created
elsewhere, e.g. in Word, and then re-saved in LibreOffice. The problem is that
LibreOffice saves invalid XML (or at least unreadable by Word); LibreOffice
could of course consider the empty entry invalid (and drop on import), or do
something else :-D

-- 
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/20210130/6ba0274c/attachment.htm>


More information about the Libreoffice-bugs mailing list