Bug 87118 - LibreOffice should not claim to use version 1.01 of MathML
Summary: LibreOffice should not claim to use version 1.01 of MathML
Status: VERIFIED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Formula Editor (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: x86 (IA32) Windows (All)
: medium minor
Assignee: Not Assigned
URL:
Whiteboard: target:5.2.0
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-08 20:08 UTC by Regina Henschel
Modified: 2016-09-15 11:51 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Regina Henschel 2014-12-08 20:08:01 UTC
The export filter is named "MathML 1.01 (*.mml), but LibreOffice does not use that version.

In addition ODF has version MathML 2.0 in its specification and therefore the content.xml of *.odf files is not MathML 1.01 too.

Why LibreOffice does not use MathML 1.01:
(1) LibreOffice does not write a doctype, therefore the version is not given in the file.
(2) LibreOffice writes the attribute "display" into the math-element. That attribute does not exist in MathML 1.01
(3) LibreOffice writes the attribute "xmlns" into the math-element. That attribute does not exist in MathML 1.01

For ODF specification see part 1, section 14.5
"The <math:math> element serves as a container for content defined by the MathML 2.0 standard"
http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part1.html#__RefHeading__1416212_253892949

For doctype of MathML 1.01 see http://www.w3.org/TR/REC-MathML/appendixA.html
Comment 1 Adolfo Jayme Barrientos 2014-12-09 04:17:18 UTC
Thanks, marking as NEW.
Comment 3 QA Administrators 2015-12-20 16:19:35 UTC Comment hidden (obsolete)
Comment 4 Commit Notification 2016-01-12 15:33:34 UTC
Takeshi Abe committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=bcfc60c35e7f7d6436bba0f2554c66bcf699758e

tdf#87118 LibreOffice should not claim to use version 1.01 of MathML

It will be available in 5.2.0.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 5 Xisco Faulí 2016-09-15 11:50:26 UTC
Closing this bug as RESOLVED FIXED