[XML-SIG] file urls in urllib
Michael McLay
mclay@nist.gov
Wed, 7 Mar 2001 17:44:11 -0500
On Wednesday 07 March 2001 17:15, Martin v. Loewis wrote:
> > rfc 1738 states:
>
> translation between a file name and a <path> is meant to be executed
> in a system-dependent manner, but many systems failed to define a
> procedure for doing so. Considering that one needs to distinguish the
> drv case, the logical form would be
>
> file://C:/autoexec.bat
This mapping skips a slash for the hostname. I'm using a commercial tool, XML
Authority, that is written in Java. It maps the local file:
C:/windows/command.com
to:
file:///C:/windows/command.com
This looks consistent with the example mapping of a VMS logical drive in RFC
1738:
For example, a VMS file
DISK$USER:[MY.NOTES]NOTE123456.TXT
might become
<URL:file://vms.host.edu/disk$user/my/notes/note12345.txt>