ietf-822
[Top] [All Lists]

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

2004-02-09 09:58:34

Charles Lindsey wrote:
In <4023162E(_dot_)7060003(_at_)verizon(_dot_)net> Bruce Lilly 
<blilly(_at_)verizon(_dot_)net> writes:

comments         =   "Comments" ":" unstructured CRLF
obs-comments     =   "Comments" *WSP ":" [FWS] obs-unstructured CRLF
etc.

No, that does not work, because you have just forbidden a header made up
exactly as follows:

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