[
Lists Home |
Date Index |
Thread Index
]
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 | elharo@metalab.unc.edu | 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/ |
+----------------------------------+---------------------------------+
|