[rfc-i] ABNF (RFC2234)

Bruce Lilly blilly at erols.com
Thu Feb 17 06:09:26 PST 2005

>  Date: 2005-02-15 14:08
>  From: Bill Fenner <fenner at research.att.com>

> These are being fixed in a revision due very shortly.

OK -- what's the planned resolution of the multi-line <prose>
> >c. There is no provision for whitespace before the "rulename"
> >   identifier in a rule!
> That's right.  ABNF inside documents is expected to be indented
> consistently, but the leading whitespace is not part of the
> ABNF, it's part of the document.
> "
>    For visual ease, rule definitions are left aligned.  When a rule
>    requires multiple lines, the continuation lines are indented.  The
>    left alignment and indentation are relative to the first lines of the
>    ABNF rules and need not match the left margin of the document.
> "

OK, but that makes parsing ABNF extracted from formatted
documents labor-intensive (manually removing indenting), or
must use a parser which is not strictly an ABNF parser.

> Not legal - continuation lines begin with white space.

My error.

More information about the rfc-interest mailing list