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

Ian Jacobs wrote:
> Dan, can you propose how to clear this up?

Er.. I thougt i did: change this:

> Dan Connolly wrote:
> > ========
> > 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

to (something like) this:

> [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:

So... gluing it all together:

type = content-type [CI]
   the type attribute gives an advisory hint as to the Internet Media
Type
   of the content available at the link target address. It allows
   user agents to opt to use a fallback mechanism rather
   than fetch the content if they are advised
   that they will get content in an Internet Media Type they do not
support.

   Authors who use this attribute take responsibility to manage the risk
that it may
   become inconsistent with the content available at the link target
address.

   [you could go into detail with an example, if you like.]


-- 
Dan Connolly
tel:+1-512-310-2971
http://www.w3.org/People/Connolly/

Received on Friday, 17 December 1999 22:55:28 UTC