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

nested comments [was: Ticket 162, was: Ambiguity in ABNF for comment]

From: Mark Nottingham <mnot@mnot.net>
Date: Mon, 4 May 2009 15:35:19 +1000
Cc: Thomas Nordin <nordin@rbdev.com>, Brian Smith <brian@briansmith.org>
Message-Id: <B31F31AF-496D-4878-BA3D-D9D6F338A8EE@mnot.net>
To: HTTP Working Group <ietf-http-wg@w3.org>
I've never seen an nested comment, and agree that they're nasty to  
handle.

So, +1 to deprecating.


On 03/05/2009, at 1:55 PM, Brian Smith wrote:

>> Furthermore, am I missing something, or can't we also remove  
>> "comment"
>> from the right hand side of the "comment" production?
>
> IMO, nested comments are a bad idea because it makes comment (and  
> thus Via
> and User-Agent) non-regular. They should be treated as obsolete (like
> obs-text), especially since those headers are very frequently parsed  
> with
> regular expressions.


--
Mark Nottingham     http://www.mnot.net/
Received on Monday, 4 May 2009 05:36:01 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 2 February 2023 18:43:19 UTC