RE: Issue 163, was: Meaning of invalid but well-formed dates

Geoffrey Sneddon wrote:
> On 8 May 2009, at 18:08, Brian Smith wrote:
> 
> > I don't get why s-Mon, s-Jan, l-Mon, etc. are named productions
> > (instead of
> > unnamed alternatives like in RFC 5023), but that is not new to this
> > change.
> 
> Case sensitivity. Plain strings in ABNF are case insensitive.

I meant, why not write them like this:

  day-name = %x4D.6F.6E  ; "Mon", case-sensitive
           / %x54.75.65  ; "Tue", case-sensitive
           / %x57.65.64  ; "Wed", case-sensitive
           / %x54.68.75  ; "Thu", case-sensitive
           / %x46.72.69  ; "Fri", case-sensitive
           / %x53.61.74  ; "Sat", case-sensitive
           / %x53.75.6E  ; "Sun", case-sensitive

It's not really a big deal, but I think this way is clearer.

- Brian

Received on Friday, 8 May 2009 17:33:40 UTC