W3C home > Mailing lists > Public > ietf-http-wg-old@w3.org > May to August 1997

Re: Rewrite of feature tag syntax rules

From: David W. Morris <dwm@xpasc.com>
Date: Thu, 15 May 1997 09:39:57 -0700 (PDT)
To: Larry Masinter <masinter@parc.xerox.com>
Cc: Koen Holtman <koen@win.tue.nl>, http-wg@cuckoo.hpl.hp.com
Message-Id: <Pine.SOL.3.95.970515090507.3013B-100000@shell1.aimnet.com>


On Wed, 14 May 1997, Larry Masinter wrote:

> It's a common difficulty with URL processing, to the point
> where we wrote a special section in the revised URL draft
> on "when to escape and when not to escape". But the short
> answer is that you cannot 'unescape' a URL except when you are
> parsing it into its component parts. Thus, URL equivalence
> using %XX = <character represented by that byte> is unacceptable. 
> 
> Look at latest draft-fielding-url-syntax-* in the internet
> drafts directory.

That is true of URL processing, but I don't agree that is need be true of
a quasi URL used as a feature tag qualifier. The URL processing problem is
that %xx are used to escape characters which have syntactic significance
to the parsing process. The classic URL was/is expected to carry arbitrary
user input data, etc.  The feature code usage doesn't need that level of
complexity. 

There will be a lot less confusion if the feature code usage specifies
URLs which can be simply decoded and compared than if encoding is allowed
but the compares are made on the encoded result. Successful comparison of
the encoded result requires that methodology for encoding be much more
precisely specified than is now the case

Dave Morris
Received on Thursday, 15 May 1997 09:45:54 EDT

This archive was generated by hypermail pre-2.1.9 : Wednesday, 24 September 2003 06:32:41 EDT