Re: ACTION-97: comments on link relations

On Wed, 12 Oct 2011 15:01:34 -0500
Shane McCarron <shane@aptest.com> wrote:

> alternate, bookmark, help, icon, license, next, prev, and stylesheet

I think the only major problem is:

	rel="alternate stylesheet"

This is HTML4's fault really. It gave this construct a special meaning
in contradiction to the usual meaning of the space-separated list of
relationships. It is the only case where:

	<link rel="foo bar" href="quux" />

means something different to:

	<link rel="foo" href="quux" />
	<link rel="bar" href="quux" />

Although creating special cases for (X)HTML in a language intended for
general use in other XML dialects too is not pleasant, right now it is
a source of junk triples.

	<link rel="alternate stylesheet" href="bigtext.css" />

Gives us the triple:

	<document.html> xhv:alternate <bigtext.css> .

Which says that <bigtext.css> is an alternate version of
<document.html>.

The alternative to special-casing rel="alternate stylesheet" is to drop
support for "alternate" altogether.

-- 
Toby A Inkster
<mailto:mail@tobyinkster.co.uk>
<http://tobyinkster.co.uk>

Received on Thursday, 13 October 2011 10:36:34 UTC