W3C home > Mailing lists > Public > ietf-http-wg@w3.org > April to June 2009

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

From: Brian Smith <brian@briansmith.org>
Date: Fri, 8 May 2009 12:32:59 -0500
To: "'Geoffrey Sneddon'" <foolistbar@googlemail.com>, "'Brian Smith'" <brian@briansmith.org>
Cc: "'Julian Reschke'" <julian.reschke@gmx.de>, "'HTTP Working Group'" <ietf-http-wg@w3.org>
Message-ID: <000401c9d003$08ff05e0$1afd11a0$@org>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 27 April 2012 06:51:02 GMT