- From: Bruce Miller <bruce.miller@nist.gov>
- Date: Tue, 21 Nov 2006 16:05:36 -0500
- To: Chris Chiasson <chris@chiasson.name>
- CC: Robert Miner <robertm@dessci.com>, www-math@w3.org
Chris Chiasson wrote: > > Robert Miner, > > Thank you for the diagnosis. > > The reason why I bother sending qs=.99 at all is so that regular IE > does not get sent /index.xhtml over /index.html if content negotiation > is taking place for a URL like /index (because IE has an accept header > that says it accepts any MIME type with the same level of > preference/quality it has for regular HTML). FWIW, even though content negotiation is supposed to be the solution, I've given up on it where MathML is concerned; it really doesn't have the needed resolution. On the one hand, IE _will_ handle XHTML if MathPlayer is installed, but not otherwise. On the other hand, Opera handles XHTML perfectly fine, but not MathML. I'm sure I'll live to regret it, but I've gone with browser sniffing for the case where the "+xml" means +MathML. > On 11/21/06, Robert Miner <robertm@dessci.com> wrote: >> Hi Chris, >> >> I looked at your pages using a handy diagnostic tool called Charles >> (http://www.xk72.com/charles) that lets one examine the http header >> traffic. I discovered that the literal MIME type string being sent by >> your server is >> >> application/xhtml+xml; qs=.99 >> >> Unfortunately, the way IE works is that we have to make a registry entry >> that *exactly matches* the incoming MIME type in order for MathPlayer to >> fire up. While we register for application/xhtml+xml, the quality >> parameter at the end spoils the match. >> >> If I manually add a reg key on my machine at >> >> HKEY_CLASSES_ROOT\PROTOCOLS\Filter\application/xhtml+xml; qs=.99 >> >> and fill in the subkeys analogously to the entry we make for plain >> application/xhtml+xml, MathPlayer fires for me, and the page displays >> fine. Obviously this isn't a solution, merely a debugging technique. >> >> As an aside, the second formula renders with a couple of annoying >> question marks in it, since at least on my system, MathPlayer thinks it >> can't find a character for the ⁠& entity. That doesn't seem >> reasonable to me, but I'll have to look into it. >> >> Sorry I don't have a more constructive suggestion, other than to strip >> off the qs parameter. >> >> --Robert >> >> Robert Miner >> Director, New Product Development >> >> Design Science, Inc. >> 140 Pine Avenue, 4th Floor >> Long Beach, California 90802 >> USA >> Tel: (651) 223-2883 >> Fax: (651) 292-0014 >> robertm@dessci.com >> www.dessci.com >> ~ Makers of MathType, MathFlow, MathPlayer, WebEQ, Equation Editor, >> TexAide ~ >> >> >> >> > -----Original Message----- >> > From: www-math-request@w3.org >> > [mailto:www-math-request@w3.org] On Behalf Of Chris Chiasson >> > Sent: Saturday, November 11, 2006 7:33 PM >> > To: www-math@w3.org >> > Subject: need help with Math Player compatibility (via >> > specifying the DTD on an XHTML page) >> > >> > >> > Hi, >> > >> > I decided to see if I could make my XHTML (+MathML) pages compatible >> > with IE 7 & MathPlayer 2.0b. >> > >> > I followed the directions here (or tried to) >> > >> > http://www.dessci.com/en/products/mathplayer/author/creatingpages.htm >> > >> > , creating test documents here >> > >> > xhtml >> > >> > http://test.chris.chiasson.name/Engineering_Optimization/index.xhtml >> > >> > Why is it not working? >> > >> > P.S. If you can't see that document (and I certainly can't with IE >> > because it just writes out a bunch of errors), here are some backup >> > documents (in need of work...): >> > >> > html >> > >> > http://test.chris.chiasson.name/Engineering_Optimization/index.html >> > >> > pdf >> > >> > http://test.chris.chiasson.name/Engineering_Optimization/Engin >> > eering_Optimization.pdf >> > >> > P.P.S. If there is a better list, forum, or group for this question, >> > please do not hesitate to tell me where to go :=] >> > >> > -- >> > http://chris.chiasson.name/ >> > >> > >> > >> > > -- bruce.miller@nist.gov http://math.nist.gov/~BMiller/
Received on Tuesday, 21 November 2006 21:06:15 UTC