FireFox Xml Rendering using Xsl is broken in Fedora Core 4

Chetan Raj hichetu at gmail.com
Sun Jul 10 13:06:05 UTC 2005


Hi,

>
> text/xml is for viewing as text, application/xml sounds more appropriate
>

I tried the above, but the result is the same :-(

Thanks,
Chetan


On 7/10/05, Daniel Veillard <veillard at 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 at redhat.com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
> http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20050710/88815283/attachment.htm>


More information about the fedora-devel-list mailing list