FW: Clarifying the meaning of the type (pseudo-)attribute

As this may cycle back the XML Core WG (and we have also had
other requests to clarify xml-stylesheet), I'm forwarding this.

There are some responses already in this thread:
http://lists.w3.org/Archives/Member/w3c-xml-cg/2005Feb/0020

paul 

-----Original Message-----
From: w3c-xml-cg-request@w3.org On Behalf Of Henry S. Thompson
Sent: Thursday, 10 February, 2005 6:14
To: w3c-xml-cg@w3.org; w3c-html-cg@w3.org
Subject: Clarifying the meaning of the type (pseudo-)attribute


HTML defines a 'type' attribute for LINK elements [1], and the XML
stylesheet processing instruction defines a 'type' pseudo-attribute [2]
by reference to HTML's 'type'.

  "This attribute gives an advisory hint as to the content type of the
   content available at the link target address."

We think this needs clarification with respect to the interpretation
of fragment identifiers in the URI of the LINK or
<?xml-stylesheet...?>, along the following lines:

  If the URI has a fragment identifier, it is interpreted as specified
  in RFC 3986, that is, as defined for the media type of the retrieved
  resource.  The 'type' only provides a hint for the _interpretation_
  of resulting fragment.

The reason we're sending this to these two CGs is because it's not
clear to us whether some such clarification should be published as an
erratum to HTML 4.01 or only to the xml-stylesheet PI, or both.

Bert Bos
Henry S. Thompson

[1] http://www.w3.org/TR/html40/struct/links.html#adef-type-A
[2]
http://www.w3.org/TR/xml-stylesheet/#The%20xml-stylesheet%20processing%2
0instruction
-- 
 Henry S. Thompson, HCRC Language Technology Group, University of
Edinburgh
                     Half-time member of W3C Team
    2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
            Fax: (44) 131 650-4587, e-mail: ht@inf.ed.ac.uk
                   URL: http://www.ltg.ed.ac.uk/~ht/
[mail really from me _always_ has this .sig -- mail without it is forged
spam]

Received on Thursday, 10 February 2005 12:51:01 UTC