You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Mark J Cox <ma...@awe.com> on 2001/09/25 11:46:29 UTC
[PATCH] add .xsl file extension
Any objections to this patch?
Mozilla is quite strict about only parsing stylesheets in text/xml. And
according to http://www.w3.org/TR/xslt .xsl is common extension and "The
MIME media types text/xml and application/xml [RFC2376] should be used for
XSLT stylesheets. It is possible that a media type will be registered
specifically for XSLT stylesheets; if and when it is, that media type may
also be used."
I wanted to add the SVG mime-type too, but it's not in the IANA list yet :(
Index: conf/mime.types
===================================================================
RCS file: /home/cvs/apache-1.3/conf/mime.types,v
retrieving revision 1.30
diff -u -r1.30 mime.types
--- mime.types 2000/10/19 01:02:41 1.30
+++ mime.types 2001/09/24 18:18:08
@@ -415,7 +415,7 @@
text/vnd.wap.wml wml
text/vnd.wap.wmlscript wmls
text/x-setext etx
-text/xml xml
+text/xml xml xsl
video/mpeg mpeg mpg mpe
video/pointer
video/quicktime qt mov