[Seaside-dev] Re: MathML support in Seaside?

Nikolay Suslov nsuslovi at gmail.com
Wed Apr 21 22:04:41 UTC 2010


I use Mozilla Firefox for testing, as it is one of the web browsers, which
supports MathML without external plugins.

And digging into the problem more, I have founded one thing:

>From Wikipedia <http://en.wikipedia.org/wiki?title=Talk:MathML>:
"If you want to view how MathML works in Mozilla, you have to save it with
the file extension ".xml".

And it is really true, if you try to open the same MathML document with
.html extension, it will be not parsed (being defined as xhtml document in
root). But with .xhtml (or .xml) extension it will be parsed fine.

So, it seems that the pages generated by Seaside with MathML code in are not
recognized by Mozilla Firefox aka files with .xhtml extension, and so MathML
parsing fails.

Is this a bug in Firefox or there could be a solution from Seaside part (?)

As the quick and not very good MathML support sollution I have found this:
https://developer.mozilla.org/en/Mozilla_MathML_Project/Authoring
https://developer.mozilla.org/@api/deki/files/4260/=mathml_in_html4.zip
Including MathML in <object> or <iframe> elements etc, but this forces to
use WAFileLbrary infrastructure for serving Math formulas as external .xml
files.

Thanks for any insights,

Nikolay


On Wed, Apr 21, 2010 at 6:11 PM, Nikolay Suslov <nsuslovi at gmail.com> wrote:

> Hello,
>
> Is there exist any MathML <http://ru.wikipedia.org/wiki/MathML>implementation in Seaside?
> One attempt could be founded at
> http://www.squeaksource.com/DeveloperWorkspace (MathML-Test), but seems it
> does not work properly.
>
> Looking forward for help,
> Nikolay
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside-dev/attachments/20100422/95ae0a29/attachment.htm


More information about the seaside-dev mailing list