Issue 93608 - DOCX: Writer fails to open document containing OMML-formulas
Summary: DOCX: Writer fails to open document containing OMML-formulas
Status: CONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: open-import (show other issues)
Version: OOO300m3
Hardware: Unknown Windows XP
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
: 119011 122349 (view as issue list)
Depends on:
Blocks:
 
Reported: 2008-09-08 13:50 UTC by jlundstocholm
Modified: 2017-05-20 10:45 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
A DOCX-document containing a simple equation (1.25 KB, application/vnd.openxmlformats)
2008-09-08 13:57 UTC, jlundstocholm
no flags Details
Original file opened by Microsoft Office 2007 and converted to ODT by OOO3 (7.22 KB, application/vnd.oasis.opendocument.text)
2008-09-08 15:52 UTC, jlundstocholm
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description jlundstocholm 2008-09-08 13:50:01 UTC
I have been testing import of OOXML-files in OOO 3.0 Beta (BEB300m3 (Build:9328)
and specifically import of OOXML-documents containing Math zones (Office Math ML).

What I did was this:

1.
I used the attached file (math minimal.docx) and used the "File/Open" dialog.

2.
I selected "Microsoft Word 2007 XML (*.docx;*.dotx) and selected the file

3.
OOO3 now prompts me to select a "filter"

4.
I choose (again) "Microsoft Word 2007 XML"

After this Writer crashes.
Comment 1 jlundstocholm 2008-09-08 13:57:57 UTC
Created attachment 56322 [details]
A DOCX-document containing a simple equation
Comment 2 michael.ruess 2008-09-08 15:22:54 UTC
MRU->HBRINKM: the attached document cannot be opened by OO Writer. When I save a
new instance of the document with Word 2007, it can be opened.

jlundstocholm,
maybe you can give hbrinkm some hint about how you created the document. The
format seems to differ a bit from Word's standard output.
Comment 3 jlundstocholm 2008-09-08 15:50:48 UTC
The file was creates by me by hand, but it conforms perfectly to the
specification of both WordProcessingML as well as the Open Packaging Specification.

(at least according to the tests I have done on the file)

I just ran the test you did (open in Microsoft Office 2007 and save it again)
and the file is now being opened. But the formula is still messed up and
converted to the markup

<text:p text:style-name="P1">
  <text:span text:style-name="T1">cosπ4=22</text:span> 
</text:p>

So the bug might be two-fold: 

1) Maybe OOO3 has the path /Word/ hardcoded for DOCX-files (which would be a
mistake)

2) The OMML-to-MathML conversion is buggy.
Comment 4 jlundstocholm 2008-09-08 15:52:12 UTC
Created attachment 56327 [details]
Original file opened by Microsoft Office 2007 and converted to ODT by OOO3
Comment 5 Regina Henschel 2013-12-08 14:10:45 UTC
*** Issue 119011 has been marked as a duplicate of this issue. ***
Comment 6 Regina Henschel 2013-12-08 14:16:51 UTC
*** Issue 122349 has been marked as a duplicate of this issue. ***
Comment 7 Marcus 2017-05-20 10:45:07 UTC
Reset the assignee to the default "issues@openoffice.apache.org".