Re: [xml-dev] Relative URLs using the file scheme?

From
Elliotte Rusty Harold <>
To
"J.Pietschmann" <>
Date
2002-10-17T13:33:01Z
ID
<p04330101b9d46c42a428@[192.168.254.4]>
Thread
Re: [xml-dev] Relative URLs using the file scheme?
At 10:29 PM +0200 10/16/02, J.Pietschmann wrote:

>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.
>

No, C is not a network host. It satisfies the BNF grammar but it does 
not satisfy the spec semantics. It refers to the host named C, not 
the disk named C.
-- 

+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold |  | Writer/Programmer |
+-----------------------+------------------------+-------------------+
|          XML in a  Nutshell, 2nd Edition (O'Reilly, 2002)          |
|              http://www.cafeconleche.org/books/xian2/              |
|  http://www.amazon.com/exec/obidos/ISBN%3D0596002920/cafeaulaitA/  |
+----------------------------------+---------------------------------+
|  Read Cafe au Lait for Java News:  http://www.cafeaulait.org/      |
|  Read Cafe con Leche for XML News: http://www.cafeconleche.org/    |
+----------------------------------+---------------------------------+