W3C home > Mailing lists > Public > xsl-editors@w3.org > April to June 2001

Re: Correct type for XSLT stylesheets

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Tue, 24 Apr 2001 01:33:01 +0200
To: Chris Lilley <chris@w3.org>
Cc: Jeffrey Yasskin <jyasskin@appcomp.com>, www-style@w3.org, wasp@microsoft.com, xsl-editors@w3.org
Message-ID: <iuc9et4t6k3tmm5jognrgt3ab20v6332va@4ax.com>
* Chris Lilley wrote:
>> If Microsoft Internet Explorer does not
>> accept them as MIME types for XSLT sheets, thats a bug. 
>
>Accepting them is one thing, making a decision about whether a stylesheet
>language is supported or not is another and cannot be done on the basis of
>such limited information as text/xml

XSLT 1.0 says in section 1:

  "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." [1]

The xml-stylesheet recommendation [2] provides no other means than the
MIME type to define the used style sheet language. The implementation is
broken, if the recommended and only possible (i.e. conforming) method of
using a special facility isn't supported.

I wonder, why the XSL WG thought, text/xml carries enough information to
recognize XSLT sheets.

>> RFC 3023
>> mentions application/xslt+xml in the examples section (8.17), but that
>> MIME type isn't currently registered.
>
>So, it is up to the XSL WG to register the MIME type that they want to use,
>put that in the spec, and then have implementors issue the appropriate dot
>releases.

Yes, excactly.

[1] http://www.w3.org/TR/xslt#section-Introduction
[2] http://www.w3.org/TR/xml-stylesheet/
-- 
Björn Höhrmann { mailto:bjoern@hoehrmann.de } http://www.bjoernsworld.de
am Badedeich 7 } Telefon: +49(0)4667/981028 { http://bjoern.hoehrmann.de
25899 Dagebüll { PGP Pub. KeyID: 0xA4357E78 } http://www.learn.to/quote/
Received on Monday, 23 April 2001 19:32:01 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:59:52 GMT