Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Re: Firefox 3 ignores processing instruction [Thread Next] Re: Firefox 3 ignores processing instructionTo: NULL Date: 6/24/2008 9:01:00 AM On Jun 20, 5:06=A0pm, Eric Amick <eric-am...@comcast.net> wrote: > On Fri, 20 Jun 2008 14:33:21 -0700 (PDT), Spizzat2 <Spizz...@gmail.com> > wrote: > > >Firefox 3 seems to be having problems with my XSL stylesheet. The page > >does the transformation just fine in FF2, but after the upgrade, it > >just loads the XML as if the tags were html tags. Checking wireshark > >shows that it's not even making a request for the XSL file (which it > >did in FF2). I load the stylesheet with the processing instruction <? > >xml-stylesheet href=3D"q.php?cid=3D7&aid=3D31" type=3D"text/xsl"?> > >I've tried different types, like application/xml, but I'm not getting > >anywhere. > >Any thoughts? > > That ampersand in the href attribute value looks fishy. Have you tried > > href=3D"q.php?cid=3D7&aid=3D31" > > instead? (And no, I don't know why FF2 apparently was happy with it. > Perhaps that was a bug?) > -- > Eric Amick > Columbia, MD Good catch, Eric. Thanks. It doesn't appear to be an issue when Javascript receives/parses the document, but when going straight to the XML, FF3 doesn't know how to handle it. That meant it didn't make the second request. Escaping the ampersand allowed FF to fetch the document. | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
