[NTG-context] MathML test suite feedback

nico nicolas.marsgui at libertysurf.fr
Mon Mar 20 22:28:32 CET 2006

On Mon, 20 Mar 2006 21:37:25 +0100, Hans Hagen <pragma at wxs.nl> wrote:

> nico wrote:
>> Hello,
>> I've compiled with ConTeXt a large excerpt from the MathML 2.0 Test
>> Suite (http://www.w3.org/Math/testsuite) and I encountered the
>> following problems (test cases attached):
> you say: [...]
> \startbuffer
>     <mml:math xmlns="http://www.w3.org/1998/Math/MathML">
>       <mfenced separators="" open="" close=" ">
>         <mi>x</mi>
>         <mi>y</mi>
>       </mfenced>
>     </mml:math>
> \stopbuffer
> \typebuffer
> is rendered as:
> \processXMLbuffer
> saves keystrokes and is less error prone (differences in code)

Thanks for the advice. Indeed it is shorter and much more elegant. But in  
this case the test was automatically generated.

Actually the code is different because the XML namespace does not seem  
correctly handled.
For example, this does not compile:

   <mml:math xmlns="http://www.w3.org/1998/Math/MathML">

But this compiles:



More information about the ntg-context mailing list