In July 2009, I again spent days seeing if I would be able to upgrade my web site to make it available to a wider browser
audience, by re-writing all my code in XHTML.
Unfortunately, as this test page illustrates, I am still unable to do what I need to do in any environment other than PC + Internet Explorer + MathPlayer.
So... the good news is that I won't be spending hundreds of hours converting my code to XHTML.
This way, I'll have lots more time to devote to learning how to write math apps for the iPod Touch/iPhone.
The bad news is that my site will remain fully functional only to those people using a PC, with Internet
Explorer as the browser, and with MathPlayer installed.
On the newer MACS, my site is fully functional in "PC-mode," providing again that you use Internet Explorer and have
downloaded MathPlayer.
(Since I'm now primarily a MAC-user, I have to go into "PC-mode" to use my own web site!)
Sorry, everyone. Again, I've tried.
If anyone reading this page has ideas about overcoming the difficulties illustrated in this test document,
then I'd be very appreciative if you'd contact me with your insights. Thanks!
Reference for the DTD (Document Type Definition) used in this file:
http://www.w3.org/TR/XHTMLplusMathMLplusSVG/#howto-xhtml
When you save the file, the file extension must be ".xml";
this is an eXtensible Markup Language document.
This file has been validated:
XHTML: http://validator.w3.org/
CSS: http://jigsaw.w3.org/css-validator
This is an IMAGE of the "horizontal fraction" that you will see below, if MathML is displaying properly:
MathML:
This is an IMAGE of the circle that you will see below, if SVG is displaying properly:
SVG:
The <iframe> tag does not validate, but it works as indicated in the chart below.
July 2009 | MathML? | SVG? | iframe with dynamic text containing HTML code, using JavaScript (no MathML) | NOTES |
Firefox (on MAC) (Version 3.5) | ✓ | ✓ | NO: Text inside HTML tags is completely ignored. | |
Internet Explorer (Version 6.0, implemented on the MAC with VMWare Fusion) | NO | NO | NO | As a LOCAL file on my machine: MathML works, but not SVG; Unicode checkmark does not display; iframe with dynamic text containing HTML code, using JavaScript, works. However, once I uploaded to my web server and tried to access the file, it wouldn't display at all. I got the following error: "The XML page cannot be displayed. Cannot view XML input using style sheet. The character '>' was expected. Error processing resource 'http://www.w3.org/2002/04/xhtml-math-svg/xhtml-math-svg-flat.dtd..." |
Opera (on MAC) (Version 9.64) | NO | ✓ | NO: Text inside HTML tags appears, but HTML formatting is not applied. | |
Safari (on MAC) (Version 4.0.1) | NO | ✓ | NO: Text inside HTML tags is completely ignored. | |
Firefox (on PC) (Version 3.5) | ✓ | ✓ | NO: Text inside HTML tags is completely ignored. | |
Internet Explorer (on PC) (Version 8.0) | NO | NO | NO | File would not display at all. I got
the following error: "Cannot view XML input using XSL style sheet. Use of default namespace declaration attribute in DTD not supported." |
Chrome (on PC) (Version 2.0) | NO | ✓ | NO: Text inside HTML tags is completely ignored. |