W3C home > Mailing lists > Public > uri@w3.org > January 2001

pls fix KURL::isRelativeURL w.r.t. tel: URIs

From: Dan Connolly <connolly@w3.org>
Date: Wed, 17 Jan 2001 02:00:23 -0600
Message-ID: <3A655117.4C2BA975@w3.org>
To: kfm-devel@kde.org
CC: uri@w3.org
Short version:

This comment and the code following it are wrong:

        // URL starts with "xxx:/" -> absolute URL


It should be
	// URI starts with "xxx:" -> absolute URI

per the IETF Draft Standard:

|3. URI Syntactic Components
|   The URI syntax is dependent upon the scheme.  In general, absolute
|   URI are written as follows:
|      <scheme>:<scheme-specific-part>

August 1998 
     Uniform Resource Identifiers (URI): Generic Syntax
     (RFC 2396) T. Berners-Lee, R. Fielding, L. Masinter 

That spec includes a pretty nice little test suite:

| C.1.  Normal Examples
|      g:h           =  g:h
|      g             =  http://a/b/c/g
|      ./g           =  http://a/b/c/g

The netscape guys got this wrong a while a go too but
the mozilla folks have since fixed it; see


The reason I ask is that I'm trying to add tel: support
to my desktop. cf

  How to Add URI Schemes to Your Desktop

and in particular:

  Real-Time Resources in the Web: IRC, Telephone, Instant Messaging

I wrote a little HTTP proxy server that handles tel: URIs
from netscape (actually, urn:tel: URIs; sigh...). See:

  an HTTP agent for placing and receiving telephone calls

The KDE services stuff looks promising; in particular,
the .protocol files; I gather the
documentation is out of date; if somebody wants
a documentation beta-tester, let me know.


Dan Connolly, W3C http://www.w3.org/People/Connolly/
Received on Wednesday, 17 January 2001 03:00:44 UTC

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