Re: Some clarification on file URLs

I'm asking since I'm writing an application note on file URL for JDF (see
www.cip4.org).

So it is not a matter of existing implementations , but how to instruct
developers to follow file URL RFC rules and produce correct file: URLs
within XML job ticket for the graphic arts / printing industry.

I think my questions are still relevant.
If everything is system / library dependent so why RFC 1738, 2396 doesn't
say any word about it ?

Regards Israel

----- Original Message -----
From: "John Cowan" <cowan@mercury.ccil.org>
To: "Israel Viente" <israel_viente@il.vio.com>
Cc: <uri@w3.org>
Sent: Monday, May 19, 2003 1:05 PM
Subject: Re: Some clarification on file URLs


>
> Israel Viente scripsit:
>
> > 1. Can I describe the UNC path
> > "\\file_server\share\file.txt"
> >
> > by "file://file_server/share/file.txt" ?
> >
> > 2. Is "file://10.213.123.23/c:/temp/file.txt" a valid file URL ?
> >
> > 3. Are "file:///c:/temp" and file:///c/temp (without the ":") equivalent
?
> >
> > 4. Is it right to say that the file URL "file:///outputFile" has meaning
in Unix platform (/outputFile)
> > but has no defined meaning in Windows or Macintosh platforms (since
there is no single root disk) ?
> >
> > 5. How should I describe Unix root directory : file:/// (3 "/") or
file://// (4 "/") ?
>
> The answers to all your questions are system- and even library-dependent,
> as file: explicitly depends on the conventions of the local system
> (except for using / as the hierarchical separator).  Most systems ignore
> the host field, but the old libwww treated a host field other than
> localhost as meaning "use FTP instead".  UNC support is certainly
> possible; whether anyone does it is another question.
>
> --
> John Cowan  www.ccil.org/~cowan  www.reutershealth.com
jcowan@reutershealth.com
> In might the Feanorians / that swore the unforgotten oath
> brought war into Arvernien / with burning and with broken troth.
> and Elwing from her fastness dim / then cast her in the waters wide,
> but like a mew was swiftly borne, / uplifted o'er the roaring tide.
>         --the Earendillinwe

Received on Tuesday, 20 May 2003 05:00:47 UTC