Re: HTML/MathML integration

> So what happens when someone *does* write

that's what this thread is trying to specify, but it will be specified,
somehow.


> But it won't be written correctly.  That is part of the culture of
> html.  And browsers will try to fix it up anyhow.  That is part of the
> culture of html browsers.

But "correctly" (according to most suggestions in this thread) doesn't
imply full xml well formed rules. everything from omitting end tags to
onmitting start tags to omitting tags altogether and allowing
<math>x+y</math> to parse to a valid mathml DOM have been on the table.

> When people *do* write the "invalid":
>     <math>100,000</math>
> 
> should it mean:
>     <mhtml><mn>146,382</mn></mhtml>
> or:
>     <mhtml><mn>146</mn><mo>,</mo><mn>382</mn></mhtml>
> or something else?
> 

If HTML5 picks up math as has been proposed, then currently it's not
known what the answer would be, but it would be specified by the html5
parse rules, ad produce a valid mathml dom, perhaps on eof those
suggestions, perhaps <merror><mtext>146,382</mtext>... we'll see, but it
would be specified somehow, not left open.

> Note that this won't stop MathML from integrating with SVG or docbooks
> -- it is HTML that is the odd man out.

hence this thread. To integrate MathM into an XML vocabulary takes more
or less no effort at the syntax level 9although of course applications
still have to cope with the mixed markup) but with teh monolithic design
currently being proposed for html5 with a specific parser with
per-element rules built into the parser, exteding teh vocabular needs
per-element discussion for each element to be added, hence this thread.


david

________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 
________________________________________________________________________

Received on Tuesday, 1 April 2008 20:42:23 UTC