[Home] [By Thread] [By Date] [Recent Entries]

  • From: Richard Tobin <richard@c...>
  • To: xml-dev@l...
  • Date: Mon, 11 Jun 2001 23:40:56 +0100 (BST)

> i had understood the file scheme to always require a host

Definitely not - RFC1738 says:

   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'.

It does not authorize omitting the // too as in file:/dev/null.  On
the other hand, the example you quote from the test suite uses it as
the system id for a notation, which is not required to be dereferenced
by the XML parser and whose use is implementation defined.  The same
goes for the use of "scheme:" and "d:", which appear in the system IDs
of unparsed entities.

-- Richard

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member