ietf-822
[Top] [All Lists]

Re: RFC 2231 and CFWS

2003-02-05 05:16:29

In 
<HM7/6kReT8NlueIBLhqZOg(_dot_)md5(_at_)melkebalanse(_dot_)gulbrandsen(_dot_)priv(_dot_)no>
 Arnt Gulbrandsen <arnt(_at_)gulbrandsen(_dot_)priv(_dot_)no> writes:

None of the registered names has *any* single quotes or percent signs.

And do _you_ think that will change? Does anyone here?

No, practically speaking it won't. But according to the RFCs it _could_.
Therefore anybody who wants to write an anal-retentively correct parser
for RFC 2231 parameters has to allow for that possibility. And it is
actually hard work - you need an arbitrary lookahead faciltiy, or full
backtracking capability. I doubt anyone will bother, but it would have
been nicer for the RFCs to have excluded those characters in the first
place.

-- 
Charles H. Lindsey ---------At Home, doing my own thing------------------------
Tel: +44 161 436 6131 Fax: +44 161 436 6133   Web: http://www.cs.man.ac.uk/~chl
Email: chl(_at_)clw(_dot_)cs(_dot_)man(_dot_)ac(_dot_)uk      Snail: 5 
Clerewood Ave, CHEADLE, SK8 3JU, U.K.
PGP: 2C15F1A9      Fingerprint: 73 6D C2 51 93 A0 01 E7 65 E8 64 7E 14 A4 AB A5

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