title: Firefox 3 doesn't apply my xslt stylesheet, but other browsers do
body: <p>I'm trying to serve dynamically generated xml pages from a web server, and provide a custom, static, xslt from the same web server, that will offload the processing into the client web browser.</p>
  
  <p>Until recently, I had this working fine in Firefox 2, 3, IE5, 6 and Chrome. Recently, though, something has changed, and Firefox 3 now displays just the text elements in the source.</p>
  
  <p>The page source starts like this:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;!-- Firefox 2.0 and Internet Explorer 7 use simplistic feed sniffing to override desired presentation behavior for this feed, and thus we are obliged to insert this comment, a bit of a waste of bandwidth, unfortunately. This should ensure that the following stylesheet processing instruction is honored by these new browser versions. For some more background you might want to visit the following bug report: https://bugzilla.mozilla.org/show_bug.cgi?id=338621 --&gt;
  &lt;?xml-stylesheet type="text/xsl" href="/WebObjects/SantaPreview.woa/Contents/WebServerResources/Root.xsl"?&gt;
  &lt;wrapper xmlns="http://www.bbc.co.uk/ContentInterface/Content" xmlns:cont="http://www.bbc.co.uk/ContentInterface/Content" sceneId="T2a_INDEX" serviceName="DSat_T2"&gt;
      ....
  </code></pre>
  
  <p>Firebug shows that the Root.xsl file is being loaded, and the response headers for it include the line</p>
  
  <pre><code>Content-Type    text/xml
  </code></pre>
  
  <p><em>I've also tried it with application/xml as the content type, but it makes no difference :-(</em></p>
  
  <p>The Web Developer Extension shows the correct generated source too, and if you save this and load the page in Firefox, it displays correctly.</p>
  
  <p>The version of Firefox displaying the problem is 3.0.3</p>
  
  <p>Any ideas what I might be doing wrong?</p>