W3C home > Mailing lists > Public > xml-uri@w3.org > May 2000

Re: Are *relative* URIs as namespace nemes considered harmful?

From: Tim Berners-Lee <timbl@w3.org>
Date: Tue, 16 May 2000 10:15:18 -0400 (EDT)
Message-ID: <005101bfbf41$7351bfa0$dce7adc1@ridge.w3.org>
To: <xml-uri@w3.org>, "Paul Grosso" <pgrosso@arbortext.com>

-----Original Message-----
From: Paul Grosso <pgrosso@arbortext.com>
To: xml-uri@w3.org <xml-uri@w3.org>
Date: Monday, May 15, 2000 5:35 PM
Subject: Re: Are *relative* URIs as namespace nemes considered harmful?


>At 16:50 2000 05 15 -0400, Tim Berners-Lee wrote:
>
>>. . .  You can absoluteize a URI
>>without making any use of any dereferencing mechanism.   Maybe this is
what
>>is not commonly understood. To dereference a relative URI is very
*simple*.
>                                ^^^^^^^^^^^
>>One call. minimal CPU. No other resources. Just a function.
>
>Either I'm confused, or TBL meant to say "absolutize" instead of
>"dereference" where I've highlighted it above.



Ooops - ys I did mean to say "absolutize" instead of "dereference" in
refering to it as simple!

>By the way, the absolutization algorithm is defined by RFC 2396:
>http://www.ietf.org/rfc/rfc2396.txt (see mostly section 5).


Some ancient code for doing it (and also breaking a URI up) is at
http://www.w3.org/Library/src/HTParse.c
I am sure there are millions of more recent and possibly more bug-free
routines.

>paul


Tim
Received on Tuesday, 16 May 2000 10:28:59 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:32:42 UTC