W3C home > Mailing lists > Public > xsl-editors@w3.org > October to December 1999

Re: request XSLT edit: remove "type" from links to embedded style in examples

From: James Clark <jjc@jclark.com>
Date: Sat, 06 Nov 1999 11:00:18 +0700
Message-ID: <3823A7D2.9E71C170@jclark.com>
To: Larry Masinter <masinter@parc.xerox.com>
CC: xsl-editors@w3.org, Makoto MURATA <murata.makoto@fujixerox.co.jp>, Ted Smith <Tsmith@parc.xerox.com>, Tim Berners-Lee <timbl@w3.org>
Larry Masinter wrote:
> 
> I was told this change was trivial enough that
> it wasn't necessary for us to change our vote.
> ====================
> 
> The pseudo-attribute "type" in examples such as
> 
>    <?xml-stylesheet type="text/xml" href="#style1"?>
> 
> should be dropped.
> 
> The use of "type" for embedded XSLT stylesheets is not justified by
> any specifications.  <LINK REL="stylesheet"> in HTML 4.0 references to
> EXTERNAL style sheets only.  In fact, the title of the relevant subsection
> is "12.3.2 Links and EXTERNAL style sheets".  The recommendation
> "Associating Style Sheets with XML documents" merely references to
> HTML 4.0, and thus it does not allow reference to internally embedded
> stylesheets.

In the "Associating Style Sheets with XML documents" Recommendation, the
"type" pseudo-attribute is required:

> The following pseudo attributes are defined
> 
>              href CDATA #REQUIRED
>              type CDATA #REQUIRED
>              title CDATA #IMPLIED
>              media CDATA #IMPLIED
>              charset CDATA #IMPLIED
>              alternate (yes|no) "no"

Maybe this is broken, but I don't think it's up to the XSLT spec to fix
it.

James
Received on Friday, 5 November 1999 23:00:47 GMT

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