Re: minor fix for url-syntax-02

Foteos Macrides <MACRIDES@sci.wfbr.edu> Thu, 26 December 1996 23:14 UTC

Received: from cnri by ietf.org id aa23324; 26 Dec 96 18:14 EST
Received: from services.Bunyip.Com by CNRI.Reston.VA.US id aa16894; 26 Dec 96 18:14 EST
Received: (from daemon@localhost) by services.bunyip.com (8.6.10/8.6.9) id RAA28129 for uri-out; Thu, 26 Dec 1996 17:55:10 -0500
Received: from mocha.bunyip.com (mocha.Bunyip.Com [192.197.208.1]) by services.bunyip.com (8.6.10/8.6.9) with SMTP id RAA28124 for <uri@services.bunyip.com>; Thu, 26 Dec 1996 17:55:09 -0500
Received: from sci.wfbr.edu by mocha.bunyip.com with SMTP (5.65a/IDA-1.4.2b/CC-Guru-2b) id AA19481 (mail destined for uri@services.bunyip.com); Thu, 26 Dec 96 17:55:07 -0500
Received: from SCI.WFBR.EDU by SCI.WFBR.EDU (PMDF V5.0-4 #14178) id <01IDH2NEJKFO003SJC@SCI.WFBR.EDU> for uri@bunyip.com; Thu, 26 Dec 1996 17:55:57 -0500 (EST)
Date: Thu, 26 Dec 1996 17:55:57 -0500 (EST)
From: Foteos Macrides <MACRIDES@sci.wfbr.edu>
Subject: Re: minor fix for url-syntax-02
To: uri@bunyip.com
Message-Id: <01IDH2NEJLDI003SJC@SCI.WFBR.EDU>
X-Vms-To: IN%"uri@bunyip.com"
X-Vms-Cc: MACRIDES
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
Content-Transfer-Encoding: 7BIT
Sender: owner-uri@bunyip.com
Precedence: bulk

"Roy T. Fielding" <fielding@liege.ICS.UCI.EDU> wrote:
>This is from Gisle Aas <aas@bergen.sn.no>no>.  The regular expression
>in Appendix B can be slightly simplified from
>
>      ^(([^/?#]+):)?(//([^/?#]*))?([^?#]*)?(\?([^#]*))?(#(.*))?
>                                          ^
>                                          redundant
>to
>      ^(([^/?#]+):)?(//([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?

	The 02 draft specifies that a lone fragment (HREF="#fragment")
should be resolved versus the current document's URL, rather than
versus a BASE tag's HREF, if one was present.  That's good, because
in most cases you otherwise would be getting another copy of a document
that's the same as what you've already copied locally, to go to
some place in it that's the same as in your current document.  It also
doesn't matter that no presently deployed browser behaves that way, and
Lynx users generally would prefer that behavior, so I went ahead and
made that change in Lynx.

	The 02 draft also now specifies that an empty reference should
be treated as the current document's URL, rather that using the BASE.
That's protentially a problem for FORMs, in which an ACTION might
be omitted with the expection that the BASE will be used, to go
back to a CGI script which generated the current document, and I'm
worried about making this change in Lynx when no other browser behaves
that way.  Could the rationale for this change be spelled out?  Do the
major browsers plan to make this change?

			 	Fote

=========================================================================
 Foteos Macrides            Worcester Foundation for Biomedical Research
 MACRIDES@SCI.WFBR.EDU         222 Maple Avenue, Shrewsbury, MA 01545
=========================================================================