Re: [webfinger] Absolute URI vs URI

"Paul E. Jones" <paulej@packetizer.com> Mon, 22 July 2013 14:10 UTC

Return-Path: <paulej@packetizer.com>
X-Original-To: webfinger@ietfa.amsl.com
Delivered-To: webfinger@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EBB0511E80F5 for <webfinger@ietfa.amsl.com>; Mon, 22 Jul 2013 07:10:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.542
X-Spam-Level:
X-Spam-Status: No, score=-2.542 tagged_above=-999 required=5 tests=[AWL=0.056, BAYES_00=-2.599, HTML_MESSAGE=0.001]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2GrRXAWNX58l for <webfinger@ietfa.amsl.com>; Mon, 22 Jul 2013 07:10:00 -0700 (PDT)
Received: from dublin.packetizer.com (dublin.packetizer.com [75.101.130.125]) by ietfa.amsl.com (Postfix) with ESMTP id CCDFC11E80AE for <webfinger@ietf.org>; Mon, 22 Jul 2013 07:09:59 -0700 (PDT)
Received: from sydney (rrcs-98-101-148-48.midsouth.biz.rr.com [98.101.148.48]) (authenticated bits=0) by dublin.packetizer.com (8.14.5/8.14.5) with ESMTP id r6ME9w27022435 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Mon, 22 Jul 2013 10:09:58 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=packetizer.com; s=dublin; t=1374502198; bh=kmcIjcQZwCDOTxv7beJxbptRr3F4/Zon1tc6T5lf4Oo=; h=From:To:Cc:References:In-Reply-To:Subject:Date:Message-ID: MIME-Version:Content-Type; b=EwHmpMtslfGhFBjqk5tYZoHZxWSSpCynbm/px2I99JqJnVD4PJeoKBQz2DHtR98tn 9XnAGf5yVkqdmndr0hfcph81wa0y6ul0LU44DeOrfbVBqv5y7UmoNL/YTiyyD2/3ea d9wPjcaBzlplN06QBkaJw6H7nYNH6x1VlUkFTJss=
From: "Paul E. Jones" <paulej@packetizer.com>
To: 'Melvin Carvalho' <melvincarvalho@gmail.com>
References: <028101ce869e$f02cddb0$d0869910$@packetizer.com> <CAKaEYhJwpR5b6jEcGYzAcWDJ0P1v6w2+L_h0Sh=m-ZOZA=ZHyw@mail.gmail.com> <0a1140f5-24d9-4be6-aab4-1ae6a3d63c0c@email.android.com> <CAKaEYh+iHNz_WawqRKakrHCdctC6_1V5COWYWQ4m9aC0+fh9WQ@mail.gmail.com>
In-Reply-To: <CAKaEYh+iHNz_WawqRKakrHCdctC6_1V5COWYWQ4m9aC0+fh9WQ@mail.gmail.com>
Date: Mon, 22 Jul 2013 10:10:00 -0400
Message-ID: <032701ce86e5$27b2dff0$77189fd0$@packetizer.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_0328_01CE86C3.A0A27870"
X-Mailer: Microsoft Outlook 14.0
Thread-Index: AQGbBSn4eLdZ0GwQKG6t3MRTa4capgJDGRYaAu5vqZkDRM75ipmUDKHQ
Content-Language: en-us
Cc: 'webfinger' <webfinger@ietf.org>
Subject: Re: [webfinger] Absolute URI vs URI
X-BeenThere: webfinger@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Discussion of the Webfinger protocol proposal in the Applications Area <webfinger.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/webfinger>, <mailto:webfinger-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/webfinger>
List-Post: <mailto:webfinger@ietf.org>
List-Help: <mailto:webfinger-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/webfinger>, <mailto:webfinger-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 22 Jul 2013 14:10:08 -0000

Melvin,

 

It's easy enough to replace strings in URIs should data need to be ported.
I suggest we remove the word "absolute" where we currently have "absolute
URI" and then introduce a new paragraph in the terminology section as
follows:

 

The use of URIs throughout this document refers to URIs following the syntax
specified in Section 3 of RFC 3986.  Relative URIs, having syntax following
that of Section 4.2 or RFC 3986, are not used with WebFinger.

 

Is that clear?

 

Paul

 

From: Melvin Carvalho [mailto:melvincarvalho@gmail.com] 
Sent: Monday, July 22, 2013 4:09 AM
To: Paul E. Jones
Cc: webfinger
Subject: Re: [webfinger] Absolute URI vs URI

 

 

 

On 22 July 2013 09:06, Paul E. Jones <paulej@packetizer.com> wrote:

In not suggesting we use or allow relative URIs. The immediate question
would be "relative to what". I think the URIs should be absolute, but not
following the syntax of "absolute-URI", but instead just following "URI".

Yes, that's a good question.  Generally relative URIs are relative to the
document, but they need not be.  For example they could be relative by
default to the [supposed] webfinger registry.  In JSON LD they have a
@context variable which allows quite a bit of flexibility in this regard.
I'm unsure if relative URIs are considered a must in standards based
serialization (I suspect not) but they have the advantage of slightly
increased data portability.

 

Paul

 


  _____  


From: Melvin Carvalho <melvincarvalho@gmail.com>
Sent: Mon Jul 22 02:46:25 EDT 2013


To: "Paul E. Jones" <paulej@packetizer.com>

Cc: webfinger <webfinger@ietf.org>


Subject: Re: [webfinger] Absolute URI vs URI

 

 

 

 

On 22 July 2013 07:47, Paul E. Jones <paulej@packetizer.com> wrote:

Folks,

One of the requirements in the JRD spec is that certain URIs (e.g., those
identifying link relation types and properties) be "absolute URIs".  This
term has been a point of confusion, since RFC 3986 uses the term to have a
concrete meaning, namely this:

     absolute-URI  = scheme ":" hier-part [ "?" query ]

And the term is used, because that's the term used in the OASIS XRD
specification.  However, it was not clear to me whether that referred to the
above (which I assumed) or referred to URIs that are not relative URIs
(i.e., those lacking a scheme specified).

I had an exchange with Eran Hammer and Mark Nottingham.  I believe the
intent of that language was not to require the above constrained syntax,
but to require the standard URI syntax:

     URI = scheme ":" hier-part [ "?" query ] [ "#" fragment ]

 

There are many ways that people do this, see:

http://tantek.com/2011/238/b1/many-ways-slice-url-name-pieces

 


Given that understanding, I believe we should remove the word "absolute"
that appears in front of "URI" in the WebFinger spec.  Do others have an
opinion on this?

 

+1 on allowing relative URIs

 


Paul


_______________________________________________
webfinger mailing list
webfinger@ietf.org
https://www.ietf.org/mailman/listinfo/webfinger