W3C home > Mailing lists > Public > www-tag@w3.org > December 2008

Re: link relationship registration

From: Henri Sivonen <hsivonen@iki.fi>
Date: Wed, 10 Dec 2008 10:11:52 -0800
Cc: Anne van Kesteren <annevk@opera.com>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>, "Atom Syntax" <atom-syntax@imc.org>, www-tag@w3.org, "HTML WG" <public-html@w3.org>
Message-Id: <92DAFE72-C3E0-4259-9131-F33CB2233482@iki.fi>
To: Mark Nottingham <mnot@mnot.net>

On Dec 10, 2008, at 04:56, Mark Nottingham wrote:

> Thoughts (everyone, not just Anne)?

I suggest what I suggested at the HTML WG f2f at TPAC this year:

  1) Rel keywords are are strings that are one or more Unicode  
characters in length and don't contain HTML5 space characters and  
don't start with the string "http://www.iana.org/assignments/relation/".
     - It follows that both "foo" and "http://example.com/ns/2008/12/ 
bar" are possible keywords.
  2) If a keyword contains a colon, the keyword must (for document  
conformance) be a valid IRI.
  3) Keywords are compared ASCII-case-insensitively, that is, a-z  
equals A-Z and otherwise code-point-for-code-point.
  4) The Link HTTP header can use those rel keywords that are ASCII- 
only (since HTTP header values aren't robust with arbitrary Unicode).
  5) Consumers who want to see the world as IRIs (not browsers but  
e.g. GRDDL extractors) run the following algorithm to convert a rel  
keyword to an IRI:
     a) Replace A-Z with a-z.
     b) If the result does not contain a colon, prepend "http://www.iana.org/assignments/relation/ 
  6) Keywords that don't contain a colon must be registered on the  
WHATWG wiki (or a W3C wiki if the W3C decides to host the registry).
  7) The registry wiki is licensed under a GPL-compatible but not in  
itself reciprocal Free Software license (e.g. MIT or New BSD).

(Notes about points #6 and #7: I consider the IANA registration  
procedure too cumbersome compared to editing a wiki, and I think it is  
a bug that IANA registries are not under a Free Software license,  
since not being under a Free Software license is a problem for  
inclusion in Free Software.)

Henri Sivonen
Received on Wednesday, 10 December 2008 18:12:45 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:32:59 UTC