ietf-822
[Top] [All Lists]

Re: obs-commas (was: 2822upd-05 just submitted)

2008-01-28 20:45:09

On 1/29/08 at 3:40 AM +0100, Frank Ellermann wrote:

IOW, is this really CFWS, and [CFWS] is not good enough ?

Uh, I think we're talking past each other (and apologies to the list if this discussion is getting a bit obscure). CFWS *is* optional in group. Here's all of the syntax in question:

group           =   display-name ":" [group-list] ";" [CFWS]
display-name    =   phrase
group-list      =   mailbox-list / CFWS / obs-group-list
mailbox-list    =   (mailbox *("," mailbox)) / obs-mbox-list

So, in the generate syntax, group-list is optional in group, and may contain either a mailbox-list or CFWS.

Now, here's my new obs-mailbox syntax:

obs-mbox-list   =   *([CFWS] ",") mailbox *("," [mailbox / CFWS])

The only thing not described by the above is a mailbox list with no mailboxes at all (i.e., simply commas with optional surrounding CFWS). That's:

obs-group-list  =   1*([CFWS] ",") [CFWS]

I'm happy to simplify if possible. But so far, that's the best I can do.

pr
--
Pete Resnick <http://www.qualcomm.com/~presnick/>
Qualcomm Incorporated - Direct phone: (858)651-4478, Fax: (858)651-1102

<Prev in Thread] Current Thread [Next in Thread>