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

Re: Collected ABNF for HTTPbis

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Mon, 18 May 2009 02:21:42 +0200
To: "Brian Smith" <brian@briansmith.org>
Cc: ietf-http-wg@w3.org
Message-ID: <eo9115h8vl6h9ke61mdrmlhspdmft7h6a8@hive.bjoern.hoehrmann.de>
* Brian Smith wrote:
>As Julian said before, the collected ABNF exists in order to desugar the
>"#X" ABNF extension into true ABNF syntax. AFAICT, that isn't necessary
>since ABNF processing tools seem to handle the extension anyway. But, also,
>the "#X" extension is really a huge readability advantage. Every usage of
>"#X" is easily replaced with X (COMMA-ows X)* where COMMA-ows is just "OWS
>COMMA OWS". That doesn't justify the extra complication. Just desugar all
>the inline productions, remove the #X extension, remove the collected ABNF.

If you would like to suggest changes to the drafts, the best way to do
that would be to start a new thread. As for the suggestions above, the
expansion you give is incorrect as it fails to account for empty items
in lists, and there is little evidence of widespread support for the
list syntax, for example, Chris Newman's abnf.c, bap, abnfgen, and my
own Parse::ABNF Perl module do not support it out of the box.
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de
25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 
Received on Monday, 18 May 2009 00:22:19 UTC

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