Re: [T2TRG] draft-hartke-t2trg-ciri-00 review

Klaus Hartke <hartke@projectcool.de> Mon, 21 January 2019 21:59 UTC

Return-Path: <hartke@projectcool.de>
X-Original-To: t2trg@ietfa.amsl.com
Delivered-To: t2trg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6635C129B88 for <t2trg@ietfa.amsl.com>; Mon, 21 Jan 2019 13:59:37 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.601
X-Spam-Level:
X-Spam-Status: No, score=-2.601 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9MbKqttMhCkt for <t2trg@ietfa.amsl.com>; Mon, 21 Jan 2019 13:59:36 -0800 (PST)
Received: from wp382.webpack.hosteurope.de (wp382.webpack.hosteurope.de [80.237.133.151]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D6DC6128CF2 for <T2TRG@irtf.org>; Mon, 21 Jan 2019 13:59:35 -0800 (PST)
Received: from mail-qt1-f177.google.com ([209.85.160.177]); authenticated by wp382.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) id 1glhbQ-0002Wn-DO; Mon, 21 Jan 2019 22:59:32 +0100
Received: by mail-qt1-f177.google.com with SMTP id t13so25292985qtn.3 for <T2TRG@irtf.org>; Mon, 21 Jan 2019 13:59:32 -0800 (PST)
X-Gm-Message-State: AJcUukfPJms2siTz+y2RI9RTomPjEWM/9Ju9LjrtPXqGd3+5pjTS2IZ3 b/TwoQEEK5Ag3isaIW5HnSs7i7DI0nt1VlVEE5k=
X-Google-Smtp-Source: ALg8bN6ugHOshwyQL6fcjRWAV1CrFybHd3pvVcDx3MpdexSy6koz5r9atpEQ2REjdfWPo8fb72duhlR6iV62b7Ma7cA=
X-Received: by 2002:a0c:e091:: with SMTP id l17mr27028977qvk.144.1548107971216; Mon, 21 Jan 2019 13:59:31 -0800 (PST)
MIME-Version: 1.0
References: <58aa0ae4-b3fe-abf7-9bda-4908ef0b3fd7@ericsson.com> <CY4PR21MB0168C83AF295761F73FCDF7FA39F0@CY4PR21MB0168.namprd21.prod.outlook.com> <A0D234F0-51D8-4543-9344-43999C304D73@tzi.org> <CY4PR21MB016884C73B7F842FFF5A53C1A39F0@CY4PR21MB0168.namprd21.prod.outlook.com>
In-Reply-To: <CY4PR21MB016884C73B7F842FFF5A53C1A39F0@CY4PR21MB0168.namprd21.prod.outlook.com>
From: Klaus Hartke <hartke@projectcool.de>
Date: Mon, 21 Jan 2019 22:58:55 +0100
X-Gmail-Original-Message-ID: <CAAzbHva=YjK5j=W9aFDikYrLLJQ+pDcRy2HV71e0JbyHu_1BBw@mail.gmail.com>
Message-ID: <CAAzbHva=YjK5j=W9aFDikYrLLJQ+pDcRy2HV71e0JbyHu_1BBw@mail.gmail.com>
To: Dave Thaler <dthaler=40microsoft.com@dmarc.ietf.org>
Cc: Carsten Bormann <cabo@tzi.org>, "draft-hartke-t2trg-ciri@ietf.org" <draft-hartke-t2trg-ciri@ietf.org>, Ari Keränen <ari.keranen@ericsson.com>, "T2TRG@irtf.org" <T2TRG@irtf.org>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-bounce-key: webpack.hosteurope.de; hartke@projectcool.de; 1548107975; c2d63c09;
X-HE-SMSGID: 1glhbQ-0002Wn-DO
Archived-At: <https://mailarchive.ietf.org/arch/msg/t2trg/FCQtgn2QNQVmrKOqkBjJN2KppaM>
Subject: Re: [T2TRG] draft-hartke-t2trg-ciri-00 review
X-BeenThere: t2trg@irtf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: IRTF Thing-to-Thing Research Group <t2trg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/t2trg>, <mailto:t2trg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/t2trg/>
List-Post: <mailto:t2trg@irtf.org>
List-Help: <mailto:t2trg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/t2trg>, <mailto:t2trg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 21 Jan 2019 21:59:38 -0000

Dave Thaler wrote:
> Once you have COAP/HTTP proxies, you pull in all that baggage.

Right. Currently, converting a CIRI to CoAP options is defined as:

1. Recompose the CBOR-encoded IRI components to an IRI
2. Convert the IRI to a URI according to RFC 3987
3. Decompose the URI to CoAP options according to RFC 7252

It sounds like a good idea to rewrite section 4.2 to output a URI and
define the conversion as:

1. Recompose the CBOR-encoded IRI components to a URI
2. Decompose the URI to CoAP options according to RFC 7252

> Furthermore, the conventional wisdom is that there's no problem that
> putting IRIs on the wire solves that isn't better solved by putting URIs
> on the wire.

The Semantic Web relies extensively on IRIs, and some formats like
Turtle put IRIs "on the wire" rather than URIs. E.g.:

   @prefix loc: <http://example.org/location/> .

   loc:Montréal a loc:city .

Would this be considered "UI layer"? If not, I'm not sure if URIs
would improve things:

   loc:Montr%C3%A9al a loc:city .

(Is that even valid?)

Since the CoRAL textual format [1] uses IRIs in a similar way, some
advice on IRIs in formats intended to be read and written by humans
would be very welcome.

Klaus

[1] https://tools.ietf.org/html/draft-hartke-t2trg-coral-06