[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: URI references [was: XML 1.0 Conformance Test Results
- From: Richard Tobin <richard@cogsci.ed.ac.uk>
- To: xml-dev@lists.xml.org
- 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