Re: [core] draft-ietf-core-senml - Last Call comments

Jim Schaad <ietf@augustcellars.com> Wed, 01 November 2017 03:40 UTC

Return-Path: <ietf@augustcellars.com>
X-Original-To: core@ietfa.amsl.com
Delivered-To: core@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A514213F85D; Tue, 31 Oct 2017 20:40:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=augustcellars.com
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 XxBOqxSYOKuD; Tue, 31 Oct 2017 20:40:22 -0700 (PDT)
Received: from mail4.augustcellars.com (augustcellars.com [50.45.239.150]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 14E8513F854; Tue, 31 Oct 2017 20:40:22 -0700 (PDT)
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Content-Language: en-us
DKIM-Signature: v=1; a=rsa-sha256; d=augustcellars.com; s=winery; c=simple/simple; t=1509507617; h=from:subject:to:date:message-id; bh=DHONgHjWTQvSb/MAVaXMwl9LXCXDXnz1UrguN87uaNo=; b=KhpmF5pbju6CUF9Xr7QOJamMoxVMh0RMN+mV8aKwzo0JkEamytAW9mSqtfG+X2XbYfe24g40M/p 2WWevMzqpcjtBodwiS8hArJBYI78bqW2RexNLD5+wp0v7GHESaub9lpqJBtzhPyxTf3+y5bWO2Cz2 8RLqm/xt091jywJW0tVUMQJVNYUYFHgKesL6aZeG2tJA6wqxEaNl/wKogiZ3YTh0i/PwAzQFeycEa T1LdgGtBII1+834IN1zG//cMDOIc3B9T5G+zi9Wvv/tQzolTV5UlYs7SIIx24tOYByX0QdatYHGLf bI2sSewPNX/j/qWH2EGdeXQEYx11c7JovVUA==
Received: from mail2.augustcellars.com (192.168.1.201) by mail4.augustcellars.com (192.168.1.153) with Microsoft SMTP Server (TLS) id 15.0.1263.5; Tue, 31 Oct 2017 20:40:16 -0700
Received: from Hebrews (73.180.8.170) by mail2.augustcellars.com (192.168.0.56) with Microsoft SMTP Server (TLS) id 15.0.1263.5; Tue, 31 Oct 2017 20:39:15 -0700
From: Jim Schaad <ietf@augustcellars.com>
To: 'Carsten Bormann' <cabo@tzi.org>
CC: draft-ietf-core-senml@ietf.org, core@ietf.org
References: <004701d3342c$49dcaa40$dd95fec0$@augustcellars.com> <0FC31E93-F4EF-484F-8A87-922E18F65498@tzi.org>
In-Reply-To: <0FC31E93-F4EF-484F-8A87-922E18F65498@tzi.org>
Date: Tue, 31 Oct 2017 20:40:11 -0700
Message-ID: <01e801d352c3$212fd6c0$638f8440$@augustcellars.com>
MIME-Version: 1.0
X-Mailer: Microsoft Outlook 16.0
Thread-Index: AQK4cJqD7J1L/sFgmAUbaGazCiVngALPGf6eoR4pmBA=
X-Originating-IP: [73.180.8.170]
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/qNP5Mo7m3amtwBnTDmtvprEV6Zs>
Subject: Re: [core] draft-ietf-core-senml - Last Call comments
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "Constrained RESTful Environments \(CoRE\) Working Group list" <core.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/core>, <mailto:core-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/core/>
List-Post: <mailto:core@ietf.org>
List-Help: <mailto:core-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/core>, <mailto:core-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 01 Nov 2017 03:40:24 -0000

Carsten,

Sorry for the slow reply on this, I needed to figure out what my problem was and why I was not getting a good interpretation.

My real issue boils down to the table that you are asking IANA to create as a registry.  I believe that this table is missing a number of columns and some of the data in it may be considered to be wrong.  The fact that I asked for the column 'XML Type' to be changed to 'Type' is probably not helping here.

I think that the columns for the table should probably be:

Name, Label, Type, CBOR Key, XML/JSON Type, EXI ID, Note

The Type column holds the abstract type, which as long as it maps directly to a CBOR Type means that column is not needed.

The XML/JSON type for "Data Value" should probably hold "Base64 string" which, while the expected item, should be made explicit.
 

Jim


> -----Original Message-----
> From: Carsten Bormann [mailto:cabo@tzi.org]
> Sent: Friday, October 27, 2017 6:55 AM
> To: Jim Schaad <ietf@augustcellars.com>
> Cc: draft-ietf-core-senml@ietf.org; core@ietf.org
> Subject: Re: draft-ietf-core-senml - Last Call comments
> 
> On Sep 23, 2017, at 07:24, Jim Schaad <ietf@augustcellars.com> wrote:
> >
> > * Section 6 - I am sad, but I understand the reasons for the decision,
> > that Octets are not encoded as binary values.
> 
> Hi Jim,
> 
> the intention is that the bytes (“octets” in French) of the data value are
> encoded as a CBOR byte string;
> 
>    o  Characters in the String Value are encoded using a definite length
>       text string (type 3).  Octets in the Data Value are encoded using
>       a definite length byte string (type 2).
> 
> Is that not binary enough?
> 
> Grüße, Carsten