httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark J Cox <>
Subject [PATCH] add .xsl file extension
Date Tue, 25 Sep 2001 09:46:29 GMT
Any objections to this patch?

Mozilla is quite strict about only parsing stylesheets in text/xml.  And
according to .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/quicktime			qt mov

View raw message