W3C home > Mailing lists > Public > w3c-dist-auth@w3.org > October to December 2005

Re: [Bug 201] LWS allowed in Coded-URL

From: Julian Reschke <julian.reschke@gmx.de>
Date: Mon, 05 Dec 2005 01:27:53 +0100
Message-ID: <43938989.6000909@gmx.de>
To: Lisa Dusseault <lisa@osafoundation.org>
CC: WebDAV WG <w3c-dist-auth@w3.org>

Lisa Dusseault wrote:
> 
> If I understand correctly, that's not the only place where RFC2616's LWS 
> rules get us into trouble.
> 
>    TimeOut = "Timeout" ":" 1#TimeType
>    TimeType = ("Second-" DAVTimeOutVal | "Infinite")
>    DAVTimeOutVal = 1*digit
> 
> Applying the 2616 word-based grammer to those rules, we could have 
> Timeout headers like
> 
>   Timeout: Second-               1111

Yes.

>   Timeout: Second-1   1   1   1

No.

> Is my understanding of 2616 BNF grammar correct?  I'm not sure if 
> 1*DIGIT is one token or several, so it's not entirely clear to me if the 
> second example is allowed.  Certainly the intent of 2616 is not to allow 
> that because values like Content-Length are defined as 1*DIGIT.

Best regards, Julian
Received on Monday, 5 December 2005 00:29:05 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 2 June 2009 18:44:11 GMT