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

InputControl and special characters

From: Morten Andersen <mortena@mip.sdu.dk>
Date: Fri, 11 Jul 2003 11:22:55 +0200
Message-Id: <>
To: www-math@w3.org
After a lot of digging and emailing to the wonderful people on this list I 
found a way to render a formula and edit it using InputControl on the same 

I used Paul's serverside encoding-code-snippet, that fixed a tomcat - bug, 
which was a good (and ugly) hack.

I also used Davids xsl advises to find the marked formula and use it as 
input to the InputControl applet. (Write me for the code)

That worked fine, with its way to change < to &lt; and > to &gt; and so on.

But, when it comes to special characters like &beta; the following happens:

If I write it in InputControl, then InputControl returns:

<math>   <mrow>     <mi>&beta;</mi>   </mrow> </math>

But if I submit this to the server, and reloads the page..
That is:
-Transforms the "<math><mrow><mi>&beta;</mi></mrow></math>" input using 
verb mode in pmathml.xsl, and applies it as input to InputControl.

Then what is being rendered in InputControl is:

<math>   <mrow>     <mi></mi>   </mrow> </math>

So the xsl code translates the &beta; into .

This is a problem, since  must be written as &beta; in order to be rendered.


   -how can I avoid the translation from &beta; to  ?


Morten Andersen
Received on Friday, 11 July 2003 05:22:58 UTC

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