W3C home > Mailing lists > Public > ietf-http-wg@w3.org > October to December 2013

#541, use of "word" ABNF production

From: Julian Reschke <julian.reschke@gmx.de>
Date: Sat, 21 Dec 2013 10:08:59 +0100
Message-ID: <52B55AAB.30005@gmx.de>
To: "Roy T. Fielding" <fielding@gbiv.com>
CC: Simon Yarde <simonyarde@me.com>, ietf-http-wg@w3.org
On 2013-12-21 01:45, Roy T. Fielding wrote:
> On Dec 16, 2013, at 3:16 AM, Julian Reschke wrote:
>
>> On 2013-12-16 12:05, Simon Yarde wrote:
>>> Might be neater to use the new 'word' rule?
>>>
>>>
>>> -- > chunk-ext      = *( ";" chunk-ext-name [ "=" chunk-ext-val ] )
>>> -- >
>>> -- > chunk-ext-name = token
>>> -- > chunk-ext-val  = word
>>>
>>>
>>> -- > word           = token / quoted-string
>>>
>>>
>>> Best Regards
>>>
>>> Simon
>>> ...
>>
>> Maybe. Right now we use "word" only in two places; either we should get rid of it, or use it consistently.
>
> Removed in
>
>     http://trac.tools.ietf.org/wg/httpbis/trac/changeset/2519
>
> along with some other unnecessary rules.

I have re-added the "special" rule. It's not referenced by the ABNF but 
it was there to clarify "tchar":

   tchar          = "!" / "#" / "$" / "%" / "&" / "'" / "*"
                  / "+" / "-" / "." / "^" / "_" / "`" / "|" / "~"
                  / DIGIT / ALPHA
                  ; any VCHAR, except special

   special        = "(" / ")" / "<" / ">" / "@" / ","
                  / ";" / ":" / "\" / DQUOTE / "/" / "["
                  / "]" / "?" / "=" / "{" / "}"

Best regards, Julian
Received on Saturday, 21 December 2013 09:09:36 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 11:11:20 UTC