httpbis: Ticket #13: Updated reference for language tags

Link:  http://trac.tools.ietf.org/wg/httpbis/trac/ticket/13

Component: p3-payload

RFC 1766, which is referenced by RFC 2616 section 3.10 as the source for its definition of language tags has a BNF has been updated by RFC3066 (a BCP).

RFC 3066 defines these as:

    Language-Tag = Primary-subtag *( "-" Subtag )
    Primary-subtag = 1*8ALPHA
    Subtag = 1*8(ALPHA / DIGIT)

HTTP/1.1 RFC 2616 defines these as:

    language-tag  = primary-tag *( "-" subtag )
    primary-tag   = 1*8ALPHA
    subtag        = 1*8ALPHA

In the meantime, RFC3066 has been obsoleted by RFC4646, and the original grammar production defining subtags seems to be gone:

Language-Tag  = langtag
/ privateuse             ; private use tag
/ grandfathered          ; grandfathered registrations
langtag       = (language
["-" script]
["-" region]
*("-" variant)
*("-" extension)
["-" privateuse])
language      = (2*3ALPHA [ extlang ]) ; shortest ISO 639 code
/ 4ALPHA                 ; reserved for future use
/ 5*8ALPHA               ; registered language subtag
extlang       = *3("-" 3ALPHA)         ; reserved for future use
script        = 4ALPHA                 ; ISO 15924 code
region        = 2ALPHA                 ; ISO 3166 code
/ 3DIGIT                 ; UN M.49 code
variant       = 5*8alphanum            ; registered variants
/ (DIGIT 3alphanum)
extension     = singleton 1*("-" (2*8alphanum))
singleton     = %x41-57 / %x59-5A / %x61-77 / %x79-7A / DIGIT
; "a"-"w" / "y"-"z" / "A"-"W" / "Y"-"Z" / "0"-"9"
; Single letters: x/X is reserved for private use
privateuse    = ("x"/"X") 1*("-" (1*8alphanum))
grandfathered = 1*3ALPHA 1*2("-" (2*8alphanum))
; grandfathered registration
; Note: i is the only singleton
; that starts a grandfathered tag
alphanum      = (ALPHA / DIGIT)       ; letters and numbers

So shouldn't RFC2616 (Section 3.10) stop defining these things, and just normatively refer to RFC4626 for the definition of "Language-Tag"?

Mails

Mails by Sender (Top 10)

History

: comment added; version set (Sat, 22 Dec 2007 00:35:03 GMT)

: comment added; version changed (Sat, 22 Dec 2007 04:12:43 GMT)

: comment added; milestone set (Sat, 22 Dec 2007 04:16:27 GMT)

: comment added; component set (Fri, 04 Jan 2008 06:22:35 GMT)

: comment added; milestone changed (Sat, 05 Jan 2008 03:10:36 GMT)

postpone until ABNF update.

: comment added; milestone changed (Thu, 28 Feb 2008 05:24:11 GMT)

: comment added; owner set; component changed (Fri, 11 Apr 2008 14:21:09 GMT)

: comment added (Fri, 11 Apr 2008 14:21:53 GMT)

I propose to go ahead with the change independantly of the ABNF migration; we already have applied other changes to the BNF; and, after all, everything is under source control for later checks.

: comment added; attachment set (Tue, 15 Apr 2008 11:34:00 GMT)

Proposed change.

: comment added; attachment set (Wed, 16 Apr 2008 13:15:15 GMT)

Proposed change.

: comment added; milestone changed (Thu, 17 Jul 2008 14:23:17 GMT)

: comment added; milestone changed (Fri, 29 Aug 2008 08:44:33 GMT)

: comment added (Sun, 26 Oct 2008 12:37:08 GMT)

Proposal: delay until RFC4646bis is published (see http://tools.ietf.org/html/draft-ietf-ltru-4646bis-17 )

Related Information

Issues List Index