[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: languages



On Sun, Mar 05, 2006 at 10:34:21AM +0100, Chris Hanson wrote:
> Although the original language specification, "scheme://r6rs", looks
> vaguely like a URI, it's not correctly formed (see
> "http://www.ietf.org/rfc/rfc3986.txt";).

Huh? I see:

   URI           = scheme ":" hier-part [ "?" query ] [ "#" fragment ]
   scheme        = ALPHA *( ALPHA / DIGIT / "+" / "-" / "." )
   hier-part     = "//" authority path-abempty
   path-abempty  = *( "/" segment )
   authority     = [ userinfo "@" ] host [ ":" port ]
   host          = IP-literal / IPv4address / reg-name
   reg-name      = *( unreserved / pct-encoded / sub-delims )
   unreserved    = ALPHA / DIGIT / "-" / "." / "_" / "~"

3.2.2 additionally notes that reg-name can use a custom namespace:

   A host identified by a registered name is a sequence of characters
   usually intended for lookup within a locally defined host or service
   name registry, though the URI's scheme-specific semantics may require
   that a specific registry (or fixed name table) be used instead. 

So, apart from using an unregistered scheme, it is a real URI.


Lauri