J
Jukka K. Korpela
Scripsit Toby A Inkster:
Not necessarily. As the specifications say, the detailed syntax and the
semantics of file:// URLs is system-dependent. There's no requirement
that even localhost must work, and no prohibition against other values -
just no guarantee about anything.
Neither does it prohibit that. The client _may_ access that host via
some local network protocol, for example.
No, any URL is a reference, not an instruction at all.
It's not surprising at all, and it's not an extension. How could you
extend something that is by definition system-dependent? You just
implement it, the way you like, if you like.
Thus, file:// URLs are generally useless in web authoring, but they
might have their use in other contexts.
Because as I have repeatedly said, "localhost" is the only useful
value for the "host" part of "file://" URLs.
Not necessarily. As the specifications say, the detailed syntax and the
semantics of file:// URLs is system-dependent. There's no requirement
that even localhost must work, and no prohibition against other values -
just no guarantee about anything.
Putting a host in (either domain name or IP address) does *not* mean
that the client must attempt to fetch the file from that host via
some sort of network protocol
Neither does it prohibit that. The client _may_ access that host via
some local network protocol, for example.
So "file://HOST/SOMEFILE" is not an
instruction to the client to download SOMEFILE from HOST, but is an
instruction to the user to access SOMEFILE from HOST -- this might
require a physical walk over to HOST to access the file.
No, any URL is a reference, not an instruction at all.
If a browser resolves "file://HOST/SOMEFILE" by using CIFS (i.e. the
protocol by which Windows machines share files and printers) to
retrieve the file automatically, then that is a proprietary extension
to the file protocol -- and this seems to be what IE is doing. Hardly
surprising.
It's not surprising at all, and it's not an extension. How could you
extend something that is by definition system-dependent? You just
implement it, the way you like, if you like.
Thus, file:// URLs are generally useless in web authoring, but they
might have their use in other contexts.