W3C home > Mailing lists > Public > public-rdfa-wg@w3.org > October 2011

Re: ACTION-97: comments on link relations

From: Toby Inkster <tai@g5n.co.uk>
Date: Thu, 13 Oct 2011 11:37:08 +0100
To: Shane McCarron <shane@aptest.com>
Cc: public-rdfa-wg@w3.org, jeni@jenitennison.com, Ivan Herman <ivan@w3.org>
Message-ID: <20111013113708.297b8fd4@miranda.g5n.co.uk>
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

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

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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:05:27 UTC