Re: Suggestions for tools/resources for producing better MathML

On 10/29/2024 8:48 PM, Neil Soiffer wrote:

> People sometimes send me an expression that doesn't speak well with
> MathCAT or even occasionally, causes a crash. Invariably, the MathML
> is technically correct but semantic nonsense with variables or numbers
> randomly being in mtext, sometimes runs of them into a single leaf
> node, etc
.
>
> One person asked me if there was a simpler document than the spec that
> they could point their vendor (the company generating the documents
> with bad MathML) on what is "good" MathML. Does anyone have some
> suggestions?
>
>     Neil
>
Somehow that reminds me of the openmath validation tool


https://openmath.org/validation/omvalidate.html



which uses JavaScript rather than a schema to check the input, so can be
arbitrarily chatty or forgiving, I haven't touched that since 2017
(according to git)  but something like that could do a mathml lint
service spotting things like the forms you mention




Disclaimer

The Numerical Algorithms Group Ltd is a company registered in England and Wales with company number 1249803. The registered office is: 30 St. Giles, Oxford, OX1 3LE, United Kingdom. Please see our Privacy Notice <https://www.nag.com/content/privacy-notice> for information on how we process personal data and for details of how to stop or limit communications from us.

This e-mail has been scanned for all viruses and malware by Microsoft Exchange Online (EOP)

Received on Tuesday, 29 October 2024 22:40:34 UTC