W3C home > Mailing lists > Public > uri@w3.org > March 2003

Re: parsing hostname -- implementation feedback

From: Roy T. Fielding <fielding@apache.org>
Date: Fri, 7 Mar 2003 18:44:48 -0800
Cc: Graham Klyne <gk@ninebynine.org>
To: uri@w3.org
Message-Id: <EDEB99E0-510F-11D7-932C-000393753936@apache.org>

>> I appreciate this is not strictly correct, but I see no practical 
>> harm from defining the syntax in this way and asserting the form of 
>> the final domain label as an extra-syntactic constraint.  A (limited) 
>> few tests with my browser  suggest that it does not syntactically 
>> prohibit numeric top-level domain labels, but simply reports that the 
>> domain cannot be found.
>
> Doing that would cause the syntax to be ambiguous in regards to IPv4
> addresses, which is why that syntax was added to the specification
> in the first place.  The reason that literal IP addresses are 
> explicitly
> denoted is because applications are encouraged to convert them
> directly to numeric IP rather than send everything to a DNS resolver.

Never mind, it was already ambiguous.  *sigh*

....Roy
Received on Friday, 7 March 2003 21:43:26 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:25:05 UTC