Re: [core] [Cbor] [httpapi] WG Last Call on draft-ietf-core-problem-details
Carsten Bormann <cabo@tzi.org> Fri, 13 May 2022 23:21 UTC
Return-Path: <cabo@tzi.org>
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 C06A8C19E86D; Fri, 13 May 2022 16:21:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.899
X-Spam-Level:
X-Spam-Status: No, score=-6.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1nulIFRih3im; Fri, 13 May 2022 16:21:32 -0700 (PDT)
Received: from gabriel-smtp.zfn.uni-bremen.de (gabriel-smtp.zfn.uni-bremen.de [134.102.50.15]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D9E6DC19E86B; Fri, 13 May 2022 16:21:24 -0700 (PDT)
Received: from [192.168.217.118] (p5089ad4f.dip0.t-ipconnect.de [80.137.173.79]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-smtp.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4L0Pm20JtGzDCbK; Sat, 14 May 2022 01:21:22 +0200 (CEST)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <CAP9qbHV8dEsNvkCd8=Gvn+htDnxqD4kAfO5TONx36S0t8tjK-g@mail.gmail.com>
Date: Sat, 14 May 2022 01:21:21 +0200
Cc: Marco Tiloca <marco.tiloca=40ri.se@dmarc.ietf.org>, "core@ietf.org WG (core@ietf.org)" <core@ietf.org>, cbor@ietf.org, "httpapi@ietf.org" <httpapi@ietf.org>
X-Mao-Original-Outgoing-Id: 674176881.326185-7887937318a6e2752ccdfcc640f1f506
Content-Transfer-Encoding: quoted-printable
Message-Id: <4380231C-D5A7-4431-8E2A-65AE532D549F@tzi.org>
References: <3a2fb1c8-5c50-fa7a-0672-a73c3b6f1a5f@ri.se> <CAP9qbHV8dEsNvkCd8=Gvn+htDnxqD4kAfO5TONx36S0t8tjK-g@mail.gmail.com>
To: Roberto Polli <robipolli@gmail.com>
X-Mailer: Apple Mail (2.3608.120.23.2.7)
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/X_KVw8q5-xcynnRLJzVKfIrbNA0>
Subject: Re: [core] [Cbor] [httpapi] WG Last Call on draft-ietf-core-problem-details
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.34
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: Fri, 13 May 2022 23:21:36 -0000
Hi Roberto, this is indeed a rather intriguing question. Thank you for dragging this out in the open. > In the media type registration, there's > >> Fragment identifier considerations: The syntax and semantics of >> fragment identifiers is as specified for "application/cbor". (At >> publication of RFC XXXX, there is no fragment identification >> syntax defined for "application/cbor".) > > With the registration of application/yaml and the +yaml structured > syntax suffix [1], we thought to > detach fragment identifier consideration of subtypes from the > application/yaml and +yaml. > > For example: should a future fragment identifier spec for application/cbor be > compatible with all subtypes delegating it to the application/cbor? I believe it should. But then, we haven’t identified a common CBOR fragment identifier syntax yet. My personal expectation is that we will eventually define something like a CBOR-oriented version of JSONPath [1], which will give rise to a natural fragment identifier syntax at the CBOR structural level. One major point will be transforming this into a fragment identifier syntax in such a way that foo+cbor can extend this with fragment identifier syntax that is e.g. referencing foo+cbor’s information model. So there should be something in application/cbor’s fragment syntax that branches out to application specific fragment identifier syntaxes. This is all fiction at the moment, but it is the reason why I like what we have written above — problem-details doesn’t define its own fragment identifier syntax, but as soon as application/cbor has one, we can use that. Re your draft: I think PDF’s #page=12 is better than a #12 would have been (and I would prefer YAML’s to be #a=bar instead of #bar so application/foo+yaml can still define #x=4711 and let #a=bar stand from the general fragment identifier considerations. Grüße, Carsten [1]: https://www.ietf.org/archive/id/draft-ietf-jsonpath-base-05.html
- [core] WG Last Call on draft-ietf-core-problem-de… Marco Tiloca
- Re: [core] [httpapi] WG Last Call on draft-ietf-c… Roberto Polli
- Re: [core] [Cbor] [httpapi] WG Last Call on draft… Carsten Bormann
- Re: [core] [Cbor] [httpapi] WG Last Call on draft… Roberto Polli
- Re: [core] WG Last Call on draft-ietf-core-proble… Marco Tiloca
- Re: [core] WG Last Call on draft-ietf-core-proble… Thomas Fossati
- Re: [core] [Cbor] WG Last Call on draft-ietf-core… Carsten Bormann
- Re: [core] WG Last Call on draft-ietf-core-proble… Christian Amsüss
- Re: [core] WG Last Call on draft-ietf-core-proble… Thomas Fossati
- Re: [core] WG Last Call on draft-ietf-core-proble… Christian Amsüss
- Re: [core] [Cbor] WG Last Call on draft-ietf-core… Marco Tiloca
- Re: [core] WG Last Call on draft-ietf-core-proble… Thomas Fossati
- [core] Base-URI Re: [Cbor] WG Last Call on draft-… Carsten Bormann
- [core] "Ignore unknown" -- Re: [Cbor] WG Last Cal… Carsten Bormann
- Re: [core] [Cbor] WG Last Call on draft-ietf-core… Carsten Bormann
- Re: [core] Base-URI Re: [Cbor] WG Last Call on dr… Christian Amsüss