Re: Inconsistency between IETF and W3C: XML fragments and media types

Dan Connolly wrote:
> 
> www-html-editor: I suggest that the definition of the "type"
> attribute on the HTML "link" element needs clarification.

[snip]
> My recollection is that type="..." is advisory: it helps user agents
> optimize for the case that they don't know the relevant media type,
> so they can skip fetching the thing. So it would be odd for it
> to be mandatory. But sure enough! it is:
> 
> =======
> 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"
> 
> The semantics of the pseudo-attributes are exactly as with <LINK
> REL="stylesheet"> in HTML 4.0
> =======
> 
> I wonder why it's mandatory.
> 
> Anyway.. regarding the semantics... the advisory stuff seems to have
> been
> lost somewhere:
> 
> ========
> http://www.w3.org/TR/1998/REC-html40-19980424/struct/links.html#adef-type-A
> 
> type = content-type [CI]
>     When present, this attribute specifies the content type of a piece
> of
>     content, for example, the result of dereferencing a URI. Content
> types
>     are defined in [MIMETYPES].
> ========
> 
> The same text occurs at
> http://www.w3.org/TR/1999/PR-html40-19990824/struct/links.html#adef-type-A
> 
> Hmm... perhaps I can get this cleared up before HTML 4.01 becomes a
> recommendation.

Dan, can you propose how to clear this up?
I'm sorry my reply is so late; 
I just found this buried in my inbox.

 - Ian

-- 
Ian Jacobs (jacobs@w3.org)   http://www.w3.org/People/Jacobs
Tel/Fax:                     +1 212 684-1814
Cell:                        +1 917 450-8783

Received on Thursday, 16 December 1999 22:56:57 UTC