W3C home > Mailing lists > Public > www-math@w3.org > July 2003

Re: <mml:math>..., xsl and InputControl

From: David Carlisle <davidc@nag.co.uk>
Date: Mon, 7 Jul 2003 10:47:12 +0100
Message-Id: <200307070947.KAA29809@penguin.nag.co.uk>
To: mortena@mip.sdu.dk
CC: www-math@w3.org



  I got a bit further using Paul's server-side code, that changes unicode 
  into UTF. It's ugly but it works.

I didn't try to follow all the details of what that was doing:-)
"changes unicode into UTF" can't quite be an acurate description though
as a UTF encoding is in practice the only way to encode the whole of
Unicode, so if it wasn't UTF* before, it probably wasn't unicode either.



  1) It seems that Internet explorer converts mathml into something like :

  <mml:math><mml:mrow>...

pmathml.xsl forces all the mathml to be prefixed, as the behavior
interface that IE uses to talk to MathPlayer requires that at least the
math element is prefixed, as it is the prefix that triggers IE to use
the specified behavior (MathPlayer, in this case).

If you find all the places that the string mml:{ occurs in pmathml.xsl
and remove the mml: then the prefixes will go, but the mathml rendering
is tied to the mml: prefix so this will stop working,


 value="<mat

That would be legal in HTML but it is not well formed XML as you can not
have any < in an attribute value.
that must be
 value="&lt;math


If you want the stylesheet to quote this automatically, you could look
at the code it uses for the techexplorer plugin inteface  which uses
<embed
  mmldata="&lt;math....


David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________
Received on Monday, 7 July 2003 05:47:35 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 20 February 2010 06:12:55 GMT