RFC Errata


Errata Search

 
Source of RFC  
Summary Table Full Records

RFC 5988, "Web Linking", October 2010

Note: This RFC has been obsoleted by RFC 8288

Source of RFC: IETF - NON WORKING GROUP
Area Assignment: app

Errata ID: 3080
Status: Rejected
Type: Technical
Publication Format(s) : TEXT

Reported By: Matt Parker
Date Reported: 2012-01-05
Rejected by: Peter Saint-Andre
Date Rejected: 2012-01-26

Section 5 says:

  link-value     = "<" URI-Reference ">" *( ";" link-param )
  link-param     = ( ( "rel" "=" relation-types )
                 | ( "anchor" "=" <"> URI-Reference <"> )
                 | ( "rev" "=" relation-types )
                 | ( "hreflang" "=" Language-Tag )
                 | ( "media" "=" ( MediaDesc | ( <"> MediaDesc <"> ) ) )
                 | ( "title" "=" quoted-string )
                 | ( "title*" "=" ext-value )
                 | ( "type" "=" ( media-type | quoted-mt ) )
                 | ( link-extension ) )

It should say:

  link-value     = "<" URI-Reference ">" 
                     [( ";" rel-param )] 
                     *( ";" anchor-param ) 
                     *( ";" rev-param ) 
                     *( ";" hreflang-param ) 
                     [( ";" media-param )] 
                     [( ";" title-param )] 
                     [( ";" title-alt-param )] 
                     [( ";" type-param )] 
                     *( ";" link-extension )

  rel-param       = ( "rel" "=" relation-types )
  anchor-param    = ( "anchor" "=" <"> URI-Reference <"> )
  rev-param       = ( "rev" "=" relation-types )
  hreflang-param  = ( "hreflang" "=" Language-Tag )
  media-param     = ( "media" "=" ( MediaDesc | ( <"> MediaDesc <"> ) ) )
  title-param     = ( "title" "=" quoted-string )
  title-alt-param = ( "title*" "=" ext-value )
  type-param      = ( "type" "=" ( media-type | quoted-mt ) )

Notes:

The ABNF for link-value is misleading. It defines link-value as allowing any number of link-params. However, only upon reading the text of both sections 5.3 and 5.4 does the reader discover that "rel", "media", "title", "title*", and "type" are specifically allowed only once. Further, the text of section 5.2 is ambiguous as to whether or not multiple anchors are allowed.
--VERIFIER NOTES--
Mark Nottingham notes:

###

The proposed ABNF makes ordering significant, which is NOT specified or intended. ABNF can never capture all of the constraints on syntax; that's why we have prose.

###

Report New Errata



Advanced Search