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

Re: progress on BNF conversion

From: Julian Reschke <julian.reschke@gmx.de>
Date: Fri, 23 Nov 2007 15:55:09 +0100
Message-ID: <4746E9CD.1030608@gmx.de>
To: HTTP Working Group <ietf-http-wg@w3.org>

Hi,

in the meantime I have made some progress changing the BNF productions 
so that they actually become parseable; see 
<http://www.w3.org/Protocols/HTTP/1.1/rfc2616bis/draft-lafon-rfc2616bis-latest.html> 
and 
<http://www.w3.org/Protocols/HTTP/1.1/rfc2616bis/draft-lafon-rfc2616bis-latest-from-previous.abnf.diff.html>.

One thing I'm currently looking at is to remove rules defined in prose 
when possible. For instance:

      token          = 1*<any CHAR except CTLs or separators>
      separators     = "(" | ")" | "<" | ">" | "@"
                     | "," | ";" | ":" | "\" | <">
                     | "/" | "[" | "]" | "?" | "="
                     | "{" | "}" | SP | HT

could be rewritten as

     separators     = "(" | ")" | "<" | ">" | "@"
                    | "," | ";" | ":" | "\" | DQUOTE
                    | "/" | "[" | "]" | "?" | "="
                    | "{" | "}" | SP | HT

     tchar          = "!" | "#" | "$" | "%" | "&" | "'" | "*" | "+" | "-"
                    | "." | "^" | "_" | "`" | "|" | "~" | DIGIT | ALPHA
                      ; any CHAR except CTLs or separators
     token          = 1*tchar

(unless I broke it, of course :-).

Which leads me to the obvious question: was it really intended that 
things like method names and header names can contain all these characters?

BR, Julian

(planning to submit a draft defining the "!" method).
Received on Friday, 23 November 2007 14:55:23 GMT

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