[
Lists Home |
Date Index |
Thread Index
]
?
"J.Pietschmann" wrote:
>
> Elliotte Rusty Harold wrote:
> >> i've wondered about forms such as "file://C:/Files/Schemas/test.xsd",
> >> which specifies a "host" "C:".
>
> I think it specifies a host C. The colon should be accepted as separator
> for the following port number, IIRC the production is
> file://[user[:password]@]host[:port][/pathcomponent?]*
>
> > The host is a domain name of a network host, or its IPv4 address as a
> > set of four decimal digit groups separated by ".". Literal IPv6
> > addresses are not supported.
> >
> > There's no room for another kind of host.
>
> A C as hostname would be legal. But the string above fails the port
> part of the production, if there is a colon, a decimal number designing
> the port should follow.
unless port is specified to be *digit. does not rfc 2396 apply?
yet this remains speculation.
is there any literature which discusses mapping the conventions which prevail in common file systems to the syntax of file urls?
>
> J.Pietschmann
>
|