error loading stylesheet:(null)
recently two days I deal with problem on solaris (sun)10 with mozilla 1.7 browser.
It always said error loading stylesheet:(null). I tried many method,then got the solution.
It is Mozilla support MIME type's problem. there is the package shared-mime-info which installs the file /usr/share/mime/packages/freedesktop.org.xml
Do step as below:
1. cd /usr/share/mime/packages
2. vi freedesktop.org.xml
in this file there is comments like:
<mime-type type="text/x-xslt">
<comment>XSLT stylesheet</comment>
<comment xml:lang="de">XSLT-Stylesheet</comment>
<comment xml:lang="fi">XSLT-tyylitiedosto</comment>
<comment xml:lang="no">XSLT-stilark</comment>
<glob pattern="*.xslt"/>
<glob pattern="*.xsl"/>
</mime-type>
just comment out that element
<!--
<mime-type type="text/x-xslt">
<comment>XSLT stylesheet</comment>
<comment xml:lang="de">XSLT-Stylesheet</comment>
<comment xml:lang="fi">XSLT-tyylitiedosto</comment>
<comment xml:lang="no">XSLT-stilark</comment>
<glob pattern="*.xslt"/>
<glob pattern="*.xsl"/>
</mime-type>
-->
3.run command
# dpkg-reconfigure shared-mime-info
if you don't have this command
run update-mime-database /usr/share/mime
reference got below:
http://www.se.eecs.uni-kassel.de/~thm/Linux/mozilla-xml-xsl.html