[Cbor] Draft for an error indication tag (Fwd: I-D Action: draft-richter-cbor-error-tag-00.txt)

Carsten Bormann <cabo@tzi.org> Tue, 29 January 2019 10:27 UTC

Return-Path: <cabo@tzi.org>
X-Original-To: cbor@ietfa.amsl.com
Delivered-To: cbor@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 36EF0130F46 for <cbor@ietfa.amsl.com>; Tue, 29 Jan 2019 02:27:31 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.199
X-Spam-Level:
X-Spam-Status: No, score=-4.199 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3] 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 oUxCllxrUsSe for <cbor@ietfa.amsl.com>; Tue, 29 Jan 2019 02:27:28 -0800 (PST)
Received: from mailhost.informatik.uni-bremen.de (mailhost.informatik.uni-bremen.de [IPv6:2001:638:708:30c9::12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 71A16127AC2 for <cbor@ietf.org>; Tue, 29 Jan 2019 02:27:28 -0800 (PST)
X-Virus-Scanned: amavisd-new at informatik.uni-bremen.de
Received: from submithost.informatik.uni-bremen.de (submithost2.informatik.uni-bremen.de [IPv6:2001:638:708:30c8:406a:91ff:fe74:f2b7]) by mailhost.informatik.uni-bremen.de (8.14.5/8.14.5) with ESMTP id x0TARJtM004940; Tue, 29 Jan 2019 11:27:24 +0100 (CET)
Received: from [192.168.217.116] (p54A6CC50.dip0.t-ipconnect.de [84.166.204.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by submithost.informatik.uni-bremen.de (Postfix) with ESMTPSA id 43pjNk68XDz1Br6; Tue, 29 Jan 2019 11:27:18 +0100 (CET)
Content-Type: multipart/alternative; boundary="Apple-Mail=_25C5ECBF-7AE2-40AD-A5E0-3DE38D19B786"
Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\))
From: Carsten Bormann <cabo@tzi.org>
Date: Tue, 29 Jan 2019 11:27:17 +0100
Cc: draft-richter-cbor-error-tag@ietf.org
X-Mao-Original-Outgoing-Id: 570450435.8777651-95836ea0d53aa72532b8b968c41d15fe
Message-Id: <3B817F90-9AAF-4155-8AB3-149159ADF7CA@tzi.org>
References: <154875737663.7749.10582861808400193309@ietfa.amsl.com>
To: cbor@ietf.org
X-Mailer: Apple Mail (2.3445.9.1)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/0MN2OQfcZfWBqwObCmE8Y2vxiNk>
Subject: [Cbor] Draft for an error indication tag (Fwd: I-D Action: draft-richter-cbor-error-tag-00.txt)
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Concise Binary Object Representation \(CBOR\)" <cbor.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cbor>, <mailto:cbor-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cbor/>
List-Post: <mailto:cbor@ietf.org>
List-Help: <mailto:cbor-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cbor>, <mailto:cbor-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 29 Jan 2019 10:27:31 -0000

Jörg Richter has suggested defining a CBOR Tag for error indications, beyond what the “undefined” simple value can already do.
I have helped a bit in writing this up.
Maybe we can have a quick sanity check before we ask IANA to register this Tag.
(The suggested value will be 101, ASCII ‘e’ for error, exception.)

Grüße, Carsten


> Begin forwarded message:
> 
> From: internet-drafts@ietf.org <mailto:internet-drafts@ietf.org>
> Subject: I-D Action: draft-richter-cbor-error-tag-00.txt
> Date: January 29, 2019 at 11:22:56 GMT+1
> To: <i-d-announce@ietf.org <mailto:i-d-announce@ietf.org>>
> Reply-To: internet-drafts@ietf.org <mailto:internet-drafts@ietf.org>
> Archived-At: <https://mailarchive.ietf.org/arch/msg/i-d-announce/rLnFJ7vaZKn5EcvR869Ol8tAqAk <https://mailarchive.ietf.org/arch/msg/i-d-announce/rLnFJ7vaZKn5EcvR869Ol8tAqAk>>
> 
> 
> A New Internet-Draft is available from the on-line Internet-Drafts directories.
> 
> 
>        Title           : Concise Binary Object Representation (CBOR) Tag for Error Indications
>        Authors         : Joerg Richter
>                          Carsten Bormann
> 	Filename        : draft-richter-cbor-error-tag-00.txt
> 	Pages           : 4
> 	Date            : 2019-01-29
> 
> Abstract:
>   The Concise Binary Object Representation (CBOR, RFC 7049) is a data
>   format whose design goals include the possibility of extremely small
>   code size, fairly small message size, and extensibility without the
>   need for version negotiation.
> 
>   In CBOR, one point of extensibility is the definition of CBOR tags.
>   While CBOR defines representations for null values and for an
>   undefined value, there is no convention for expressing errors or
>   exceptions in data structures, where the actual value desired could
>   not be calculated due to an error.  The present specification defines
>   a tag for such error indications, enabling the addition of varying
>   levels of detail.
> 
> 
> The IETF datatracker status page for this draft is:
> https://datatracker.ietf.org/doc/draft-richter-cbor-error-tag/ <https://datatracker.ietf.org/doc/draft-richter-cbor-error-tag/>
> 
> There are also htmlized versions available at:
> https://tools.ietf.org/html/draft-richter-cbor-error-tag-00
> https://datatracker.ietf.org/doc/html/draft-richter-cbor-error-tag-00