ietf-822
[Top] [All Lists]

Re: Revisiting RFC 2822 grammar

2004-01-16 05:12:38

In 
<20040115180903(_dot_)GA19146(_at_)bra(_dot_)gulbrandsen(_dot_)priv(_dot_)no> 
Arnt Gulbrandsen <arnt(_at_)gulbrandsen(_dot_)priv(_dot_)no> writes:

1. Bruce elimites obs-qp, even though it can match a few pairs 
quoted-pair cannot, such as "\" DEL.

No, "\" DEL is in fact permitted by the regular syntax. The missed ones
are "\" (NUL / LF / CR)

2. I think I found a case in which Bruce permits CFWS where it wasn't 
before, although I cannot decipher my very cramped margin notes. It 
was something like "To: blah: (cfws) a(_at_)b(_dot_)org;".

No, that was always allowed, because a dot-atom can always be preceded by
CFWS. But it is a good example of how hard it can be to check some of
these cases in the present syntax.

3. The date syntax is reordered, and four-digit years seem to have 
disappeared from the obsolete syntax. This looks like a good idea:

I don't think 4DIGIT was ever in obs-year. Nor even in RFC 822?


7. There may be a few cases where FWS in 2822 is replced by CWFS in 
Bruce's grammar. It's a little hard to tell. For example, in Bruce's 
grammar there always is CFWS following field-name ":", I'm not sure 
the same holds for 2822. It may.

Not so. Look at orig-date, for example, where it is explicitly [FWS] that
follows the ":".

-- 
Charles H. Lindsey ---------At Home, doing my own thing------------------------
Tel: +44 161 436 6131 Fax: +44 161 436 6133   Web: http://www.cs.man.ac.uk/~chl
Email: chl(_at_)clerew(_dot_)man(_dot_)ac(_dot_)uk      Snail: 5 Clerewood Ave, 
CHEADLE, SK8 3JU, U.K.
PGP: 2C15F1A9      Fingerprint: 73 6D C2 51 93 A0 01 E7 65 E8 64 7E 14 A4 AB A5