ietf-822
[Top] [All Lists]

Re: Revisiting RFC 2822 grammar (obs-utext and unstructured)

2004-02-10 05:12:16

In <4027BC2B(_dot_)1040801(_at_)verizon(_dot_)net> Bruce Lilly 
<blilly(_at_)verizon(_dot_)net> writes:

Charles Lindsey wrote:

    "Comments" ":" SP CRLF

Note that unstructured uses utext, and I have defined utext as 1*text.
text includes SP (%d32).  So your example is matched by the proposed
grammar. [I'm not 100% sure that 1*text is the right thing to do, but
it definitely works for this example]

In that case you have reintroduced the two-FWS-in-succession ambiguity,
because

    "foo" SP SP "bar"

can now be parsed in two ways (well, three ways actually).

-- 
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