Re: link relationship registration

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
hsivonen@iki.fi
http://hsivonen.iki.fi/

Received on Wednesday, 10 December 2008 18:12:48 UTC