Red Hat Bugzilla – Bug 132627
XSLT engine rejects local stylesheets as MIME type deemed incorrect
Last modified: 2007-11-30 17:10:49 EST
Using mozilla-1.7.2-0.2.0, an attempt to XSLT-process a local XML
document and stylesheet fails because the XSL stylesheet does not have
a text/xml mimetype. The mozilla installer picks up a MIME type for
stylesheets of text/x-xslt from the file
Local transformations cannot occur unless this file is edited and the
program "update-mime-database" is run to update the gnome configuration.
This bug was marked as a Fedora problem in the Mozilla bugzilla, bug
It's worth taking a look at bug
https://bugzilla.mozilla.org/show_bug.cgi?id=259206 - whilst Mozilla
wouldn't fix this bug for this reason, it's been suggested that bug
259206 (inadvertently :-) changed this behaviour under Mozilla.
Fedora Core 2 is now maintained by the Fedora Legacy project for
security updates only. If this problem is a security issue, please
reopen and reassign to the Fedora Legacy product. If it is not a
security issue and hasn't been resolved in the current FC3 updates or
in the FC4 test release, reopen and change the version to match.
Still an issue under FC3 with mozilla-1.7.6-1.2.5. To fix this, the patch from
https://bugzilla.mozilla.org/show_bug.cgi?id=259206 needs to be incorporated
in. Hopefully one day it'll hit the mozilla trunk.
Still an issue under fc5test1 with mozilla and epiphany. It's fixed for firefox,
/usr/share/mime/packages/freedesktop.org.xml now assigns application/xslt+xml to
XSLT stylesheets. That mime type is defined in RFC 3236
(http://www.faqs.org/rfcs/rfc3236.html) but it's not listed in the IANA's
registry of mime types (http://www.iana.org/assignments/media-types/application/).
Fedora Core 3 is now maintained by the Fedora Legacy project for security
updates only. If this problem is a security issue, please reopen and
reassign to the Fedora Legacy product. If it is not a security issue and
hasn't been resolved in the current FC5 updates or in the FC6 test
release, reopen and change the version to match.
It looks like this is fixed for firefox and probably fixed for seamonkey
according to the upstream bug report. It won't get fixed for mozilla 1.7.x,
according to upstream. Closing the bug. If it still occurs in, say, epiphany,
please file another bug or change the component to epiphany. Thanks!