W3C home > Mailing lists > Public > www-math@w3.org > November 2006

Re: need help with Math Player compatibility (via specifying the DTD on an XHTML page)

From: Chris Chiasson <chris@chiasson.name>
Date: Wed, 22 Nov 2006 15:53:34 -0600
Message-ID: <acbec1a40611221353i572a0ddsa45e735178cb1e0f@mail.gmail.com>
To: paul@activemath.org
Cc: "Robert Miner" <robertm@dessci.com>, www-math@w3.org

It also sends *

which means anything is accepted.

It should send * with a lower q value.

The ordering is irrelevant, AFAIK.

On 11/22/06, Paul Libbrecht <paul@activemath.org> wrote:
> I am not sure that IE can actually send equal preferences for HTML and
> XHTML mime-types... the Accept header provides an ordered list of
> preferred mime-types. To my taste, q-values are just a fine-grain
> ordering which has to be compatible with the types order.
>
> hope that helps.
>
> paul
>
> Chris Chiasson wrote:
> > 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).
> >
> > 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 &NoBreak;& 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/
> >> >
> >> >
> >> >
> >>
> >
> >
>
>
>
>


-- 
http://chris.chiasson.name/
Received on Wednesday, 22 November 2006 21:53:58 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 20 February 2010 06:12:59 GMT