From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Stephen J. Turnbull" Newsgroups: gmane.emacs.devel Subject: Re: file:///c:/nxdist/tut/tutorials.html or file:c:/nxdist/tut/tutorials.html? Date: Thu, 23 Jul 2009 15:59:33 +0900 Message-ID: <87y6qfvq96.fsf@uwakimon.sk.tsukuba.ac.jp> References: <44502.130.55.118.19.1248304745.squirrel@webmail.lanl.gov> <873a8ow0jx.fsf@uwakimon.sk.tsukuba.ac.jp> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1248332588 28295 80.91.229.12 (23 Jul 2009 07:03:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 23 Jul 2009 07:03:08 +0000 (UTC) Cc: Emacs-Devel devel To: Lennart Borgman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 23 09:03:00 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MTsKS-0003G9-3A for ged-emacs-devel@m.gmane.org; Thu, 23 Jul 2009 09:03:00 +0200 Original-Received: from localhost ([127.0.0.1]:37292 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MTsKR-0007cS-OC for ged-emacs-devel@m.gmane.org; Thu, 23 Jul 2009 03:02:59 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MTsKN-0007c8-NH for emacs-devel@gnu.org; Thu, 23 Jul 2009 03:02:55 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MTsKJ-0007az-D2 for emacs-devel@gnu.org; Thu, 23 Jul 2009 03:02:55 -0400 Original-Received: from [199.232.76.173] (port=46939 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MTsKI-0007ap-6C for emacs-devel@gnu.org; Thu, 23 Jul 2009 03:02:50 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:19798) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MTsKH-0000Ch-C7 for emacs-devel@gnu.org; Thu, 23 Jul 2009 03:02:49 -0400 Original-Received: from mtps01.sk.tsukuba.ac.jp ([130.158.97.223]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MTsKF-0003Kr-SJ for emacs-devel@gnu.org; Thu, 23 Jul 2009 03:02:48 -0400 Original-Received: from uwakimon.sk.tsukuba.ac.jp (uwakimon.sk.tsukuba.ac.jp [130.158.99.156]) by mtps01.sk.tsukuba.ac.jp (Postfix) with ESMTP id 4D0531535AF; Thu, 23 Jul 2009 16:02:39 +0900 (JST) Original-Received: by uwakimon.sk.tsukuba.ac.jp (Postfix, from userid 1000) id 1EC3E1A3002; Thu, 23 Jul 2009 15:59:33 +0900 (JST) In-Reply-To: X-Mailer: VM 8.0.12-devo-585 under 21.5 (beta29) "garbanzo" 5bbff3553494 XEmacs Lucid (x86_64-unknown-linux) X-Detected-Operating-System: by mx20.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:113039 Archived-At: Lennart Borgman writes: > I found it impossible to read. I took a quick look at 3986 OK, I'll read it for you. RFC 3986 no longer defines any URI schemes, unlike RFC 1738 which did define the file URI (among others). From Section 8, they are registered with the IANA. Looking at the IANA registry http://www.iana.org/assignments/uri-schemes.html in fact RFC 1738 still defines the file URI, as follows: A file URL takes the form: file:/// where is the fully qualified domain name of the system on which the is accessible, and is a hierarchical directory path of the form //.../. As a special case, can be the string "localhost" or the empty string; this is interpreted as `the machine from which the URL is being interpreted'. "file:c:/nxdist/tut/tutorials.html" doesn't satisfy this definition; the "//" that introduces the host component may not be omitted. Section 4.2: The ABNF shows that a relative reference does not contain a scheme. "file:c:/nxdist/tut/tutorials.html" doesn't satisfy this definition, either. Conclusion: "file:c:/nxdist/tut/tutorials.html" is not a URI.