Apache OpenOffice (AOO) Bugzilla – Issue 97200
MathML export should write valid MathML 2.0
Last modified: 2013-08-07 14:56:19 UTC
The MathML export adds namespace prefixes to XML attributes. According the the MathML schema, the attributes must not have a namespace prefix.
.
Files changed: - starmath\source\mathml.cxx
In agreement with MIB and MT it was diecided that the Math.dtd should be removed from the installation set as well since it a) has incorrect content b) is no longer used nowadays at all Files changed: scp2: M source\math\module_math.scp M source\math\file_math.scp
Files changed: xmloff: M source\core\nmspmap.cxx M source\core\xmlexp.cxx M inc\xmloff\xmlexp.hxx starmath: M source\mathml.cxx
Breaking up mathml.hxx/cxx into separate files for import and export. Files changed: D source\mathml.hxx D source\mathml.cxx A source\mathmlimport.hxx A source\mathmlimport.cxx A source\mathmlexport.hxx A source\mathmlexport.cxx M source\view.cxx M source\document.cxx M source\makefile.mk
Files changed: - xmloff/inc/xmloff/xmltoken.hxx - xmloff/source/core/xmltoken.cxx
Changed summary to reflect the new goal. A ODF validator to verify this issue is http://tools.odftoolkit.org/odfvalidator/
Fixed in CWS tl66. Additional files changed: starmath: M source\mathmlexport.cxx M source\accessibility.cxx M source\mathmlexport.hxx M source\parse.cxx M source\unomodel.cxx M source\node.cxx M source\types.cxx M source\mathmlimport.cxx M inc\unomodel.hxx M inc\node.hxx
Created attachment 61978 [details] Sample odf files to test MathML export
TL->MRU: To use the testcase do the following for all of them: - first load them in the office from the CWS - modify them a little by adding a new character - save the new file - check the result with the odf validator (see link above) Don't forget to check that - older math formulas still can get properly read with this CWS - and that older offices should still be able to read the new formulas written by this CWS If you have very much time at hand you can also check if the visual result of the pure MathML export (saving as .mml) is about the same as before. Ask how to do that if interested.
Created attachment 62077 [details] Document producing error on validation
Reopening; newly attached doc gives error "The content of element 'munderover' is not complete." on validation.
Reassigned to TL.
Missing problem fixed as well.
New build now survives the ODF validation with en even more complex document.
Checked integration with OOO320m6.