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