Re: Make testsuite usable for non browser applications

On 27/12/2014 15:06, Regina Henschel wrote:
> Hi Paul,
>
> Paul Libbrecht schrieb:
>>>> 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.
>>
>> Is XHTML wrong inside OpenOffice? Maybe for some tests...
>
> Apache OpenOffice does not work on the node-tree, but has its own model.
> Therefore it has import and export filters.
>
> You are right about this special XHTML files. Apache OpenOffice opens
> them in the Formula module, imports the MathML fragment and skips all
> surrounding elements. LibreOffice has a different file type detection
> and you need to explicitly choose the MathML import filter. But either
> way it is possible to test the MathML import using the XHTML files. I
> was not aware that the parser has this feature.
>
> There exists no filter to show the whole XHTML-file as a browser would
> do, but you can only import the file as source code.
>
> [..]
>>
>> So… is all you need an archive of the files?
>> Just ask what kind of archive you need and I'll create it for you.
>> I assume you want an archive with the .mml and the .png files. Is that
>> right? Are the xhtml files with the comments not useful too for a
>> human to validate?
>
> Yes, the XHTML files are useful too, so that I can use the browser to
> show the comments and see the rendering in the browser.
>
>>
>> Unfortunately, the way we publish on the web at the WG makes it a bit
>> bad-style to put several archives on the web-site on a regular basis.
>> Thus, I'd bake the archive your request and make it available on my
>> personal site.
>>
>
> A common archive type would be good, a kind that 7-Zip can handle. A
> .zip will work and a .tar.gz as well.
>
> I would be delighted if you could produce such an archive. Am I the
> first who is looking for an archive?
>
> Kind regards
> Regina
>
>
>


The zip file is available see

http://lists.w3.org/Archives/Public/www-math/2012Oct/0013.html

sorry looks like it's still not directly linked on the website
we should fix that

David

Received on Saturday, 27 December 2014 18:11:05 UTC