W3C home > Mailing lists > Public > www-math@w3.org > December 2014

Re: Make testsuite usable for non browser applications

From: Regina Henschel <rb.henschel@t-online.de>
Date: Fri, 26 Dec 2014 19:11:20 +0100
Message-ID: <549DA4C8.3020808@t-online.de>
To: www-math@w3.org
Hi Paul,

Paul Libbrecht schrieb:
> Regina,
>
> there's quite a few other variants than the mml files available.
> I'm considering the test case Presentation/GeneralLayout/mfrac/mfrac7 as a sample.
>
> The source files are the ".xml" files, they use an internal document structure. Here's an example:
> 	http://www.w3.org/Math/testsuite/testsuite/Presentation/GeneralLayout/mfrac/mfrac7.xml
>
> The XHTML files have proper namespaces: e.g.:
> 	http://www.w3.org/Math/testsuite/build/main/Presentation/GeneralLayout/mfrac/mfrac7-simple.xhtml
> or  http://www.w3.org/Math/testsuite/build/main/Presentation/GeneralLayout/mfrac/mfrac7-plain.xhtml

Those will fail in Apache OpenOffice because of the wrong root element.

>
> The .mml file has been prepared for inclusion in bigger pipelines, some
of which are not namespace aware (in particular, anything to do with
HTML5 tends to consider namespaces rather impolite). However, note that
injecting the xmlns attribute by string manipulations is probably quite
safe, since the files are all automatically produced by the same
xml-generator. To date, there's no very formal requirement about the xml
specifics about .mml files since we have no formal interop requirement.
E.g. for some older apps such as Maple, it may be even better to make it
with the m prefix.

> If you wish that we make alternate mml files with namespaces, it is
probably doable by changing our script (an apache jelly script) but
wouldn't you need more than the .mml files? E.g. the png-files as
comparisons or the comments?

Yes. The png-files would be nice too. The svg-testsuite has in its 
offline version a folder with the .svg-graphics, a folder with the .png 
images (with same file names as svg) and a folder with an .html 
environment. Something similar would be good.

But there is no need for a MathML2 version, if a MathML3 version could 
be made.

Kind regards
Regina
Received on Friday, 26 December 2014 18:11:44 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:27:48 UTC