all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Stephen J. Turnbull" <stephen@xemacs.org>
To: Lennart Borgman <lennart.borgman@gmail.com>
Cc: Emacs-Devel devel <emacs-devel@gnu.org>
Subject: Re: file:///c:/nxdist/tut/tutorials.html or file:c:/nxdist/tut/tutorials.html?
Date: Thu, 23 Jul 2009 15:59:33 +0900	[thread overview]
Message-ID: <87y6qfvq96.fsf@uwakimon.sk.tsukuba.ac.jp> (raw)
In-Reply-To: <e01d8a50907222035u31c36f12tb47d164bfaeb5604@mail.gmail.com>

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://<host>/<path>

   where <host> is the fully qualified domain name of the system on
   which the <path> is accessible, and <path> is a hierarchical
   directory path of the form <directory>/<directory>/.../<name>.

   As a special case, <host> 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.




  reply	other threads:[~2009-07-23  6:59 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-22 22:22 file:///c:/nxdist/tut/tutorials.html or file:c:/nxdist/tut/tutorials.html? Lennart Borgman
2009-07-22 23:19 ` Davis Herring
2009-07-22 23:22   ` Lennart Borgman
2009-07-23  3:17     ` Stephen J. Turnbull
2009-07-23  3:35       ` Lennart Borgman
2009-07-23  6:59         ` Stephen J. Turnbull [this message]
2009-07-23  7:10           ` Lennart Borgman
2009-07-23 14:55           ` Davis Herring

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y6qfvq96.fsf@uwakimon.sk.tsukuba.ac.jp \
    --to=stephen@xemacs.org \
    --cc=emacs-devel@gnu.org \
    --cc=lennart.borgman@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.