I try to convert xhtml document with mathml formulae with this command:
umcl_cli convert -o out.xhtml -x mathml cmathml test.xhtml
and i have some problems because it was unsuccesfull.
Here is log:
mfenced
separators :
mi pour y
runtime error: file /usr/local/share/umcl/XSLT/xIN/MathML/04_unary_op.xsl line 152 element element
xsl:element: The effective name '' is not a valid QName.
runtime error: file /usr/local/share/umcl/XSLT/xIN/MathML/08_add_index.xsl line 69 element element
xsl:element: The effective name '' is not a valid QName.
runtime error: file /usr/local/share/umcl/XSLT/xIN/MathML/04_unary_op.xsl line 152 element element
xsl:element: The effective name '' is not a valid QName.
runtime error: file /usr/local/share/umcl/XSLT/xIN/MathML/08_add_index.xsl line 69 element element
xsl:element: The effective name '' is not a valid QName.
runtime error: file /usr/local/share/umcl/XSLT/xIN/MathML/04_unary_op.xsl line 152 element element
xsl:element: The effective name '' is not a valid QName.
runtime error: file /usr/local/share/umcl/XSLT/xIN/MathML/08_add_index.xsl line 69 element element
xsl:element: The effective name '' is not a valid QName.
mfenced
separators :
mi pour q
mo pour
mi pour q
mfenced
separators :
mi pour q
mfenced
separators :
mi pour s
mo pour
mi pour q
mfenced
separators :
mi pour q
Segmentation fault
Problem is with this formulae: <math xmlns="http://www.w3.org/1998/Math/MathML" display="inline"><semantics><mo>±</mo><annotation-xml encoding="MathML-Content"><ci>±</ci></annotation-xml></semantics></math>
because mathematical sign "±" is in <mo> tag. I try replce it with some Strings and if there is mathematical sign transformation is unsuccesfull, but if there is any other string then it is succesfull.
I send you my test file in attachment.
The '<mo>±</mo>' or '<mo>±</mo>' mathml patern crash umcl and for instance we can just get around the problem replacing the 'mo' tag by a 'mi' or a 'mtext' one in the patern.
ps: this is a workaround and we'll work on fiix the problem
Actually it looks it's only woith the French Braille. We are progressing...
the problem does not happen when transcribing into Marburg or Nemeth
Thank you for your solutions.