Hi,<br>
<br>
><br>
> text/xml is for viewing as text, application/xml sounds more appropriate<br>
><br>
<br>
I tried the above, but the result is the same :-(<br>
<br>
Thanks,<br>
Chetan<br>
<br><br><div><span class="gmail_quote">On 7/10/05, <b class="gmail_sendername">Daniel Veillard</b> <<a href="mailto:veillard@redhat.com">veillard@redhat.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Sun, Jul 10, 2005 at 04:28:49PM +0530, Chetan Raj wrote:<br>> Hi All,<br>><br>> I use CUnit for my unit-testing framework. (<a href="http://cunit.sourceforge.net/">http://cunit.sourceforge.net/</a>)<br>><br>
> It generates an Xml file as an output and uses Xsl to render the same on the<br>> browser.<br>><br>> Now, after moving to Fedora Core 4 from RedHat 9.0, when I open the xml in<br>> firefox 1.04 ,I get the following error.
<br>><br>> Error loading stylesheet: An XSLT stylesheet does not have an XML mimetype:<br>> <a href="file:///home/chetan//TEST/BIN/CUnit-Run.xsl">file:///home/chetan//TEST/BIN/CUnit-Run.xsl</a><br>><br>> The same was rendering fine in firefox 
1.04 on Redhat 9.0.<br>><br>> I have checked /etc/mime.types and it does have an entry for xsl. I have<br>> also added xslt and dtd to the file as show,<br>><br>> text/xml xsl xml dtd xslt<br>><br>><br>
> Any clues why this doesn't work on Fedora Core 4? And what is the work<br>> around?<br><br>  Hum, text/xml is for viewing as text, application/xml sounds more appropriate<br>in taht case.<br><br>Daniel<br><br>--<br>
Daniel Veillard      | Red Hat Desktop team <a href="http://redhat.com/">http://redhat.com/</a><br><a href="mailto:veillard@redhat.com">veillard@redhat.com</a>  | libxml GNOME XML XSLT toolkit  <a href="http://xmlsoft.org/">
http://xmlsoft.org/</a><br><a href="http://veillard.com/">http://veillard.com/</a> | Rpmfind RPM search engine <a href="http://rpmfind.net/">http://rpmfind.net/</a><br></blockquote></div><br>