Check the char encoding... it might actually be working properly but
somewhere along the line the wrong encoding is being used.
- Brill
On 6-Aug-08, at 1:51 PM, mdossing wrote:
Hi,
I am undergoing a project that involves outputting MathML to wicket
pages.
I use a custom label that outputs my string directly in to a body
tag so
that it isn't escaped. The problem comes when I change the page to
be of the
type xhtml with the following code:
public final String getMarkupType() {
return "xhtml";
}
protected final void configureResponse() {
super.configureResponse();
getResponse().setContentType("text/html");
}
With some example mathml of:
<math xmlns="http://www.w3.org/1998/Math/MathML"
xmlns:mml="http://www.w3.org/1998/Math/MathML">
<mrow>
<mrow>
<mrow/>
<mo>⁡</mo>
<mfenced separators=",">
<mrow>
<mrow/>
<mo>⁡</mo>
<mfenced separators=",">
<mi>X</mi>
</mfenced>
</mrow>
</mfenced>
</mrow>
<mo>=</mo>
<mo>∅</mo>
</mrow>
</math>
Ran in a normal xhtml page i get something along the lines of ((X))
= ∅ but
instead wicket throws out ∅ = 0 and longer mathml just
throws out
more random characters.
Any help would be appreciated,
Martin
--
View this message in context:
http://www.nabble.com/MathML-in-wicket-tp18856345p18856345.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]