https://bugs.freedesktop.org/show_bug.cgi?id=57579

          Priority: medium
            Bug ID: 57579
          Assignee: libreoffice-bugs@lists.freedesktop.org
           Summary: docx Exporter Generates Invalid XML in header1.xml and
                    document.xml Files
          Severity: major
    Classification: Unclassified
                OS: Linux (All)
          Reporter: pscot...@gmail.com
          Hardware: x86 (IA32)
            Status: UNCONFIRMED
           Version: 3.5.7.2 release
         Component: Writer
           Product: LibreOffice

Created attachment 70629
  --> https://bugs.freedesktop.org/attachment.cgi?id=70629&action=edit
document that displays the problem

When saving a file to docx (Word 2007/2010) format, LibreOffice Writer
generates invalid XML.  Specifically, there were numerous </w:tc> closing tags
with no matching opening tag in both header1.xml and documenet.xml. 
header1.xml also contained </w:tr> and </w:tbl> closing tags with no matching
opening tag.

I attempted to add the opening tags manually where they seemed to belong, but
Word 2010 reported the resulting zipped docx file to be corrupt.

BTW, LibreOffice, itself WILL open the docx file that it creates, but only
shows the first page.

LibreOffice will also open the manually repaired .docx file and will show all
three pages, but the header on the 2nd and third page is missing and one of the
split cells of the table is handled incorrectly.

The document in question is attached in odt format.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to