Webサーバーから動的に生成されたxmlページを提供し、同じWebサーバーからカスタムの静的なxsltを提供しようとしています。これにより、処理がクライアントのWebブラウザーにオフロードされます。
最近まで、Firefox 2、3、IE5、6、およびChromeでこれは正常に機能していました。しかし最近、何かが変更され、Firefox3はソース内のテキスト要素のみを表示するようになりました。
ページソースは次のように始まります。
<?xml version="1.0" encoding="UTF-8"?>
<!-- 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 -->
<?xml-stylesheet type="text/xsl" href="/WebObjects/SantaPreview.woa/Contents/WebServerResources/Root.xsl"?>
<wrapper xmlns="http://www.bbc.co.uk/ContentInterface/Content" xmlns:cont="http://www.bbc.co.uk/ContentInterface/Content" sceneId="T2a_INDEX" serviceName="DSat_T2">
....
Firebugは、Root.xslファイルがロードされていることを示しており、その応答ヘッダーには次の行が含まれています
Content-Type text/xml
また、コンテンツタイプとしてapplication / xmlを使用して試しましたが、違いはありません:-(
Web Developer Extensionは、生成された正しいソースも表示します。これを保存してFirefoxにページをロードすると、正しく表示されます。
問題を表示しているFirefoxのバージョンは3.0.3です
私が間違っているかもしれないアイデアはありますか?