Hi.
If you are seeing the XML view, that is a sure sign that MathPlayer's built-in transformation from XML to HTML is not kicking in. I don't think there is anything wrong with your document content. The only conditions on the content are that a) there is a DOCTYPE mentioning MathML, and b) there isn't an XSL stylesheet link (on the assumption that if there is an explicit stylesheet specified, it will handle the math processing for MathPlayer).
That leave's two possibilities. First, IE is incorrectly detecting the MIME type. IE's sniffing to guess MIME types is sort of a black box, and I've never had much luck at getting it to do what I want. MathPlayer only considers a handful of MIME type for built-in processing, which application/xhtml+xml being the preferred one. But presumably you've checked and rechecked that, and since it works on some machines, that seems unlikely.
The last possibility is that some other piece of software has overwritten our registry entries on the problem machines. MathPlayer has to register to listen to specific MIME types by making registry entries. But, for example, if you install or upgrade Office after installing MathPlayer, Office will overwrite the text/xml entries. Maybe some other software is overwritting our application/xhtml+xml keys. Try uninstalling and reinstalling MathPlayer on the problem machines. If that works, this is probably the issue. Of course, by doing so, you will probably be breaking some other app that wants to filter incoming data, but that is a limitation of Windows that I can't do anything about.
Hope this helps,
--Robert
Dr. Robert Miner
Director of New Product Development
- our address has changed-
Design Science, Inc.
140 Pine Avenue, 4th Floor
Long Beach, California 90802
USA
Main: (562) 432-2920
Direct: (651) 223-2883
Fax: (651) 292-0014
***@dessci.com
www.dessci.com
-----Original Message-----
From: mozilla-mathml-***@mozilla.org on behalf of DKM
Sent: Wed 11/16/2005 10:10 AM
To: mozilla-***@mozilla.org
Subject: Re: Math ML in XHTML
Post by Robert MinerHi.
Thanks for reporting the bad DTD link. I see it is updated. Sorry for
the hassle.
No, it has not been corrected. I am looking at the following link:
http://www.dessci.com/en/products/mathplayer/author/creatingpages.htm
At the bottom of the page, there is a bit of code that could be used as
xhtml template.
I am using the same template and I am using the corrected DTD link as
follows:
<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN"
"http://www.w3.org/Math/DTD/mathml2/xhtml-math11-f.dtd"
[<!ENTITY mathml "http://www.w3.org/1998/Math/MathML">
]>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>XHTML + MathML Sample Page</title>
</head>
<body>
<h1>XHTML + MathML Sample Page</h1>
<p>This page demonstrates the new MathPlayer 2.0 support XHTML + MathML
pages. It renders properly in Internet Explorer 6 with MathPlayer 2.0,
Netscape 7, and Mozilla 1.4.</p>
<p>Here is a sample equation:</p>
<math display="block" xmlns="&mathml;">
<mi>g</mi>
<mrow><mo>(</mo><mi>x</mi><mo>)</mo></mrow>
<mo>=</mo>
<mrow>
<mfrac>
<mi>α</mi>
<mi>x</mi>
</mfrac>
<mo>+</mo>
<mfrac>
<mn>1</mn>
<mn>2</mn>
</mfrac>
</mrow>
</math>
<p>You can use this as a template for creating your own interoperable
XHTML + MathML pages.</p>
</body>
</html>
Its working in some systems using IE 6.0 but not working in other
systems using IE 6.0. It does not matter if I am using old bad link to
the DTD or the corrected DTD link. Yes, the latest Mathplayer 2.0 is
installed in all systems.
In the systems where it is not working, I had the old error that I
posted in the original post when using the old link. After changing to
the corrected DTD link, there is no error, but IE 6.0 is displaying in
its default XML view not any rendering of Mathplayer 2.0. It looks like
Mathplayer 2.0 is not intercepting it and letting IE render it in its
default view style.
Thanks in advance for any help.
DKM
Post by Robert Miner--Robert
Robert Miner
Director, New Product Development
- our address has changed -
Design Science, Inc.
140 Pine Avenue, 4th Floor
Long Beach, California 90802
USA
Tel: (651) 223-2883
Fax: (651) 292-0014
www.dessci.com
~ Makers of MathType, MathFlow, MathPlayer, WebEQ, Equation Editor,
TexAide ~
-----Original Message-----
Sent: Sunday, November 13, 2005 9:40 AM
Subject: Re: Math ML in XHTML
Post by David CarlislePost by DKMIs IE 6.0 trying to read
http://www.w3.org/TR/MathML2/dtd/xhtml-math11-f.dtd?
yes
Because that is what you have specified. Most XML parsers will read a
DTD if it is specified (that's the point of the doctype declaration)
Mozilla does not,it special cases the mathml dtd and uses its own copy
but that is very much mozilla-specific behaviour.
What if one is offline and the cache is empty? I am glad to know that
Mozilla does not read the DTD. I supposes it is doing the right thing.
So, I wonder why IE is trying to read.
Post by David CarlisleThe URI you used is the wrong one, the canonical mathml dtd is at
Well, I got the template from Design Science web site. And, the
template is still there and it has the 'wrong' DTD link.
Anyway, I had tried it before many months ago with IE 6.0 and it had no
problems with the wrong DTD link. It just stopped working sometime
during the last few months.
Post by David Carlislehttp://www.w3.org/Math/DTD/mathml2/xhtml-math11-f.dtd? Why?
I replaced the old link with the above link and it works now. Thanks.
Post by David CarlisleIE can read that one, but you don't really want to download that every
time you look at the page.
It's best not to use a DTD (and so don't use entities) or use
mathplayer's auto-detection of the mathml dtd (and so notuse the XSL
stylesheet) in either of those cases, IE will not download the dtd.
I really want to know this. What is a correct template for xhtml that
works for both Mozilla and IE. I have it working on both Mozilla and IE
6.0 with the correct DTD link.
Thank you very much and I really appreciate the info about the correct
DTD link.
DKM
________________________________________________________________________
Post by David CarlisleThis e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
http://www.star.net.uk
________________________________________________________________________
_______________________________________________
Mozilla-mathml mailing list
http://mail.mozilla.org/listinfo/mozilla-mathml