W3C home > Mailing lists > Public > ietf-http-wg@w3.org > July to September 2003

Re: BNF inconsistency in Language tag in RFC2616

From: Scott Lawrence <scott@skrb.org>
Date: Tue, 16 Sep 2003 13:20:24 -0400 (EDT)
To: Jim Gettys <Jim.Gettys@hp.com>
Cc: Roy Fielding <roy.fielding@day.com>, Jeffrey Mogul <jeff.mogul@hp.com>, Scott Lawrence <scott@skrb.org>, ietf-http-wg@w3.org
Message-ID: <m3k788d51r.fsf@kathmandu.pingtel.com>




Jim Gettys <Jim.Gettys@hp.com> writes:

>     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
>
> Is there any danger in relaxing the HTTP BNF to remove the
> inconsistency (the hob-goblin of small minds :-))?

I think that would be safe - I doubt anyone is depending on there not
being digits in there, and even if they are, the fallback rules should
make them match on the less-specific primary tag.

-- 
Scott Lawrence        
  http://skrb.org/scott/
Received on Tuesday, 16 September 2003 13:28:23 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 27 April 2012 06:49:23 GMT