W3C home > Mailing lists > Public > ietf-http-wg@w3.org > April to June 2009

Re: Ticket 162, was: Ambiguity in ABNF for comment

From: Julian Reschke <julian.reschke@gmx.de>
Date: Sun, 03 May 2009 11:21:42 +0200
Message-ID: <49FD6226.7060200@gmx.de>
To: Brian Smith <brian@briansmith.org>
CC: ietf-http-wg@w3.org, 'Thomas Nordin' <nordin@rbdev.com>
Brian Smith wrote:
> Julian Reschke wrote:
>> So how about:
>>
>>       quoted-string  = DQUOTE *( qdtext / quoted-pair ) DQUOTE
>>       qdtext         = OWS / %x21 / %x23-5B / %x5D-7E / obs-text
>>                      ; OWS / VCHAR except DQUOTE / obs-text
> 
> It should be 'VCHAR except DQUOTE and "\"'.

Oh well. Thanks for catching this one.

>>       comment        = "(" *( ctext / quoted-pair / comment ) ")"
>>       ctext          = OWS / %x21-27 / %x2A-5B / %x5D-7E / obs-text
>>                      ; OWS / VCHAR except "(", ")" and "\" / obs-text
> 
> It should be 'VCHAR except "(", ")", and "\"' (one more comma), based on the
> style used in the rest of the document.

Ack. New text:

      quoted-string  = DQUOTE *( qdtext / quoted-pair ) DQUOTE
      qdtext         = OWS / %x21 / %x23-5B / %x5D-7E / obs-text
                     ; OWS / <VCHAR except DQUOTE and "\"> / obs-text

      comment        = "(" *( ctext / quoted-pair / comment ) ")"
      ctext          = OWS / %x21-27 / %x2A-5B / %x5D-7E / obs-text
                     ; OWS / <VCHAR except "(", ")", and "\"> / obs-text

See 
<http://trac.tools.ietf.org/wg/httpbis/trac/attachment/ticket/162/162.2.diff>.

> ...

BR, Julian
Received on Sunday, 3 May 2009 09:22:29 GMT

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