Save as DOCX results in improper XML document
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libreoffice (Ubuntu) |
Invalid
|
Medium
|
Unassigned |
Bug Description
1) lsb_release -rd
Description: Ubuntu quantal (development branch)
Release: 12.10
2) apt-cache policy libreoffice-writer
libreoffice-writer:
Installed: 1:3.6.1~
Candidate: 1:3.6.1~
Version table:
*** 1:3.6.1~
500 http://
100 /var/lib/
3) What is expected to happen is when one opens the following via a terminal:
cd ~/Desktop && wget -c https:/
and save the document as a .docx (Microsoft Office XML) file, it opens successfully in Microsoft Word 2012.
4) What happens instead is it complains:
The file Envs243.docx cannot be opened because there are problems with the contents. [Details] The name in the end tag of the element must match the element type in the start tag. Location: Part: /word/document.xml, Line: 2, Column: 24292
I've confirmed with an XML editor (Jaxe) that document.xml does in fact have invalid XML. Its complaint is similar:
The element type w:p must be terminated by a corresponding end-tag </w:p> at line 2.
Version where problem found was 1:3.6.1-rc2-ubuntu3 . I thought for sure there would be a standard field for this in your bug system.