Hi, each time a emerge (a new version) of share-mime-info, I have to patch the "freedesktop.org.xml" database of mime-types, because of an incorrect mime-type for XSL files. /* If mime-type is "application/x-xslt" mozilla browsers do neither display an XSL file correctly nor an XML file with an attached XSL, if both are stored on the local file system. */ Since version 1.54 of "freesdesktop.org.xml" in freedesktop's CVS the mime-type is changed to application/xslt+xml which should be OK for XSLT 2.0, but still does not work on current mozilla browsers. I think a good compromise would be to set the mime-type to "application/xml". I will attach a/my patch to this bug report and another patch that is a workaround for a known problem with wrong "mime-magic" detection that occurs for the "x-font-tex-tfm" magic pattern, i. e. "x-font-tex-tfm" is detected although the pattern should not match. /* xdgmime should already be fixed in CVS, but is not realeased yet */ Applying these patches (or something similar) to the gentoo-ebuild would make a happy gentoo user even more happy. :-) Axel
Created attachment 64992 [details, diff] changes XSL mime-type to "application/xml"
Created attachment 64993 [details, diff] decrease the priority of the "x-font-tex-tfm" magic pattern to "49"
FYI: * the freedesktop bug report about the XSL issue: https://bugs.freedesktop.org/show_bug.cgi?id=2928 * the freedesktop bug report about the "x-font-tex-tfm" issue: https://bugs.freedesktop.org/show_bug.cgi?id=2050 /* ... though I had the problem with a tiff file ... */ Axel
nothing i will change in the gentoo ebuild, please discuss this with upstream
I've tried to get this fixed upstream, but without success. To those who are interested in a workaround: https://bugs.freedesktop.org/show_bug.cgi?id=2928 Cheers, Axel