Re: ambiguous ABNF in RFC 2231 (and friends)

As the secondary charset expert reviewer, I have never seen a charset 
with a "'" in it. There is note at 
http://www.iana.org/assignments/character-sets, and they are not allowed 
in the "more restrictive" production in Section 2.3 of RFC 2978. They 
are also not allowed in XML, which is even more restrictive. I guess 
that as a reviewer, I'd simply tell an applicant to change the name.

As the co-chair of the LTRU WG, I know quite for sure that language tags 
don't contain "'". Please check yourself at 
http://tools.ietf.org/html/rfc5646 or one of it's predecessors.

So I see absolutely no problem to tightening up the grammar.

Regards,    Martin.

On 2009/10/06 3:57, Julian Reschke wrote:
> Hi,
>
> I just noticed a problem in RFC 2231 that draft-reschke-rfc2231-in-http
> inherits:
>
> extended-initial-value := [charset] "'" [language] "'"
> extended-other-values
>
> Both charset and language can contain a single quote, so it's not the
> greatest choice as separator.
>
> On the other hand, this doesn't seem to a problem in practice, so my
> plan for draft-reschke-rfc2231-in-http is to simply disallow single
> quotes inside charset and language.
>
> Opinions?
>
> BR, Julian
>
>

-- 
#-# Martin J. Dürst, Professor, Aoyama Gakuin University
#-# http://www.sw.it.aoyama.ac.jp   mailto:duerst@it.aoyama.ac.jp

Received on Tuesday, 6 October 2009 03:05:38 UTC