[core] AD Review of draft-ietf-core-problem-details-04

Francesca Palombini <francesca.palombini@ericsson.com> Fri, 27 May 2022 16:31 UTC

Return-Path: <francesca.palombini@ericsson.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 C72D9C15AE14; Fri, 27 May 2022 09:31:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.671
X-Spam-Level:
X-Spam-Status: No, score=-2.671 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.575, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=ericsson.com
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 thJbbjJ1ZVLp; Fri, 27 May 2022 09:31:54 -0700 (PDT)
Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-vi1eur04on0604.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe0e::604]) (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 69EDDC14F6E5; Fri, 27 May 2022 09:31:51 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QzfkrsT9NBjyuFd6/kFkfF3WjvIeLYsCsLvCOzq+WYasso6CXBxMNsMviOLP+tpvwjxXdrUq98XvGqo7SRiaKw0wQeO3tQe3haWbXtXh0K/6YsYk05CjZMs2UHAyG3dX0BAETgx6DOjaT9sSgrbeTgS+wrsVxUEbgMV84LXJUQi+ol0I7dVNBq4eTnYwZhy5I3LXWuiCwOG1fPFBvd8E8kwE9xdTnlzdnhmMfi/LzZI8hs1AcYPxjNU08/I0x5jWRmyECu4gfFQSebaeHSnPro8dBCKIsq3jxD3d5VTQl3QOTJrlt4hOkt01chB7gGsBco6c6NSROpguIitbCNxynw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=tMzwoXREl+/NZQVGyaeidfL8Rd6RuQcWyDH+NQPOfOE=; b=O1QFapy1g8JnnJezlPikI8VZcV55JJ0srQjb8HCUZSO+em5A7tx/YmJ8y/s/ll4W0PMIsnJOFAjMe6YpTkPPK1XqiLFdW9N3bY6mqC9a6oZAQK9UYvrRjjCzzSbqI3oszxBl4aqTFudmCWBKKwj/1Sy+vczOyalPCoFV+D18FkhzKrKCUO6V+PirkG87bx1Rc/oISXS3L5oq/K81z+nH0fLwAcazcKLFJsoqr4GYaVQOsedTlfPpCz2HDbO9slL9C1if4bQkDkPAmmH/wnfvJTvygmMggoJJzEGeeihPQBLw34z0NrXpocEyJBBtb+jm+7eGTMg+70pdlbHHxxRK0A==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ericsson.com; dmarc=pass action=none header.from=ericsson.com; dkim=pass header.d=ericsson.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=tMzwoXREl+/NZQVGyaeidfL8Rd6RuQcWyDH+NQPOfOE=; b=rNoFXHXCkLfjgX6oQv7yumHXk+Bnw9v1VvU4Rq4zF6ygm6QzQDdpe4qA1YJWrtd9SaUGWmfmlL8z7iEYBkqiagM82YVj4VxEAXWHHewSXtyxGY9HjZnuzzZvKdzJTlRZmwf42xnXDJFIWLALlZ9fPvnhCLlcX4/IGA1r15X7clM=
Received: from AS1PR07MB8616.eurprd07.prod.outlook.com (2603:10a6:20b:474::16) by PR1PR07MB4841.eurprd07.prod.outlook.com (2603:10a6:102:7::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5293.11; Fri, 27 May 2022 16:31:45 +0000
Received: from AS1PR07MB8616.eurprd07.prod.outlook.com ([fe80::c033:d932:52c3:d257]) by AS1PR07MB8616.eurprd07.prod.outlook.com ([fe80::c033:d932:52c3:d257%8]) with mapi id 15.20.5293.013; Fri, 27 May 2022 16:31:45 +0000
From: Francesca Palombini <francesca.palombini@ericsson.com>
To: "core@ietf.org" <core@ietf.org>, "draft-ietf-core-problem-details.all@ietf.org" <draft-ietf-core-problem-details.all@ietf.org>
Thread-Topic: AD Review of draft-ietf-core-problem-details-04
Thread-Index: AQHYceUdMEtGgYDkPUSdwHfFS6yVmw==
Date: Fri, 27 May 2022 16:31:45 +0000
Message-ID: <AS1PR07MB86167EA12B890471D2088FEB98D89@AS1PR07MB8616.eurprd07.prod.outlook.com>
Accept-Language: en-GB, en-US
Content-Language: en-GB
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=ericsson.com;
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 6b326ecc-24d9-4c66-b1f3-08da3ffe63c3
x-ms-traffictypediagnostic: PR1PR07MB4841:EE_
x-microsoft-antispam-prvs: <PR1PR07MB484149539C9D3B4328C31A4298D89@PR1PR07MB4841.eurprd07.prod.outlook.com>
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: dpc5KJ0AxFhiswxCeLe0i72P92jAkcRH6cG5z00Lfd/6GcXQ4W+oiynYQgmMn6+ajNopWjY8Uo97Z5IfreRiUtZvby6gDpd/OChNG7aRQlTYpw7a4AgVtE5AaWOP/Yb7BZkg2Gbf4yx6/Hp4M0gJ5EV/jZctOnkHEUv3OphvOHcoSGYLXtI3SkYz6sp4oLFPw0xNqt8kT+mgchwGJnUEVyRgDSIJ1VNXaIJtpCFbma8ie7pSI3aGhho0BYlEOBeXtBD15/UIFL5hb0Q5soxeVej6a3m8oXoS3a3AyHeMcLqMgK3G/WG91bB2t//bahiT9ZNrsrCaUFECHSkpCSmN9L9p5Y0zUOeUAsARP3W8bUCSfqzm1uqHhpsosOKTqiC//nfs5OHDOGhIUkNlD7MdqeESeCTt+4g68VTtVmqqFp07QD7JBfLOuRIJRTSfprc5/gnc05ZOfoOJFGiYlxWIYTaRd1wg+i+baZNWlRHmhN3LWrq3BjxP67izZu5znGZ/2uqAu8gulxxc27bURhKhM8W3P6ICpRY5DhgHLe5KM6TUhLPcmBCOpmLD/SEPHGi5P3u/wUN0q8ToVy0u7a7E7/09lvbotXn+LYlJiC1j7Q/zw32X78OPWKXLmU1Mhe6YPUUvH+QYlRvpHwXKCukLNMT9McgfQC2UBgs+0/vflaMGHJqr7MrA9ymk+UZFjdDXJt82OFdhXrcQSCw3SyQDjpeQfEDe2dLTZhPMsFGZizlGr+WrW9JHfe3q1svFiSrcPX5nXN/QFhJ0HV3+6uI7nWrMylIgb7UC5Xqa0v6JMuwtZIfKyjp7y3j4hjznY1SwayZQGftRAg8lVisdEe+ToA==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AS1PR07MB8616.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(4636009)(366004)(508600001)(8676002)(5660300002)(44832011)(52536014)(38070700005)(450100002)(966005)(122000001)(7696005)(9686003)(6506007)(8936002)(186003)(110136005)(83380400001)(316002)(82960400001)(86362001)(33656002)(55016003)(2906002)(71200400001)(76116006)(66556008)(91956017)(66946007)(66476007)(64756008)(66446008)(38100700002); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata-chunkcount: 2
x-ms-exchange-antispam-messagedata-0: GEmcoJgHchhL2JFHFtkoUFfzAGI48rqOVCYQgYgTYxgPVHdDNffUDLELYJCvtf7m58J+PUAOD9EC/PmIhuosh4yq5e1mf6VTwK2Evm2haJTJHMS9wV5qIpj+X2tu556mL1o05X/DG92oFA48gcHKGX2kCO4B3RpVcCLpWvNZ8ch11CjcB9DvOoEEXTx+YfaRhuyvAm+EoMznCDIy6L3RC/pg3XFogGw62ksIIl08veuQsEkxXoqOmsARTlG+uQhB+wkmp3Kij6z68fS4LnyBKIV7jSkTMbEqhVpSuI2LLCk1SkmHN7YB29I2iJrUJ6oDjLErnrhTB3rreChuJFDWk4oREXctupafTPGHtzjnjS52e6/L1Rbrjs8eMHnbkvQr0LbK2eY0cN6dQJWT3CpLH3tPEl4/LmPTErXPFP4u9Jvr6LnrJq7JS3x6Cg8MqIo88InJb4MO8KvtK6Na9kJvnGu7hw7p2hbDY5rztxIbgIfNYsuJsL5f4EH2RESCEykRajcZQbsYxQrjZhf2Xq3yyawi0DDUb1Y7DDgg3aaOr1XrsaB+ymtUuj4crCAUyDj/heEa6BvxGk45cAXT+ZcWI+ohZ8HyrXJw00qLrnJy8mzFxuICcd98dR5G0yFASdwJwGCov61Cmx94YpukohMeMvwZOjLTVulpXXbR8XR/eouCk+hBSw8iwtlCLtw7gvyL12DKQC84PCRHmS+3ADJQt1BB1Ubgf9wzvSDbTwB8uavi1pTlg+8z0Dw5iRvRHM8Ff8y8my8rpxtNt2wJqqBKSbIrSvNKZdU2qGoFiINMC/jXLWvM4XnYYcRjsS8x5xmNxF4rKb1SRA57NdR8WCurDj2uF8hKHfh0CCnNGwXb0ie8eVN7Jvzez+YXtxRbqnkz/U9DEz2BKRHh23G8Nnu1VkKJSGoN4iR6VP9qX802h4pAEih4ym+zVUiuSX4RTsGAzhLboEmGBU7SpKkWjk4sLVgt4vzkWR0iwqztttnzf7A/3lXlxeVrCTeIGm92SviQFUsfemo4gUkprUlK0d7gC9u9hbV7omkMOudlnfm4DoO7kE4HIajSjQArx20k+OTvUZRKIS1xdr9x18gNpDAWlezL4Ezjn+Ork328SEpvNj4so+KdiYuVljruVxc9J+Inrh2QITYG1ySLgAujLym0mDkFVKslmL6w2F3hHCavtMLd8KJ5gjgUvAUs7AcXbYt2BDNVYwO4UjInpif82p1/aONdGtcKIGkQJp2hN1JUMbGzX4RYlEAp4Z83DCHc/2a4pSATg58lZYpAZZqO/bvs7K8T5cEALpPZNmL/74ZxrBYBzW9jgEZGZGyaPChv9CzeoqrXKqP6UV4mTsuuPYHYv+yukIOxm5oB1IyerRsLsbDL1YRklmGz9tL5TtcqhI3xdj7apBBOmDKpWEUrGKJzdNCtsiA65hBm4XvyAyy+qfe1iS1oZINyGXLRbHniakgjom0ztuYueDr/wVgHRR+Rkbadzs5TpLK/LbOf9w8ufSH3y95Ex9pGBLd+6+8slmUmiWyAvoARbEvWuwmPalsEhuuCy/asvai+7hDWXGAyFT2Lm/lvfRxAOymP6rSZm16Lh6hGAbP5e+wdqV8JkO3s9t79S9CEwMc32y9aS5j9h8CjLYjIcW8cXyBGu3fcGe+KAQIXbMfDlx5ATMw1544CiNSruTUG5MRjOAH7GFANMlI1rYFBb1J9jZXM9VLwiFU4UsF0O+BnfiE7v8koBC4OnRP+T7PvldJIcdhySl1ZXFh+3+NnUyokoEYBI3g1uS60t3Lw+gBW
x-ms-exchange-antispam-messagedata-1: nap7w85YinfQGI/FZ9afJMw0b1otpBaADgCQ2E2K3OQg92wzu0ZA+XX7sXZE41d57dUjJp0s2Y2dBQ==
Content-Type: multipart/alternative; boundary="_000_AS1PR07MB86167EA12B890471D2088FEB98D89AS1PR07MB8616eurp_"
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: AS1PR07MB8616.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 6b326ecc-24d9-4c66-b1f3-08da3ffe63c3
X-MS-Exchange-CrossTenant-originalarrivaltime: 27 May 2022 16:31:45.3890 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: 67EOtfE/NfQQbmEoSDiE1/skRq2lwhRzR4hYs/EF+rlIqpCFBk40ocFpHNMbpJq5OadDBlq7RxbRasmxjppRM7agPbTMjjQ5DSSV/eSQi/v+SCNJMWkIWwqG1RkfsQS6
X-MS-Exchange-Transport-CrossTenantHeadersStamped: PR1PR07MB4841
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/UnvM0Am3w4w2sU85i1PaTRBMvdc>
Subject: [core] AD Review of draft-ietf-core-problem-details-04
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, 27 May 2022 16:31:58 -0000

# AD Review of draft-ietf-core-problem-details-04

cc @fpalombini

Thank you for this short and well written document.

No major comments from me, only a couple of minor comments, which you can address together with any other Last Call comments.

At the same time as Last Call, I will also request an I18ndir review for Appendix A, which I think would benefit from expert I18n eyes.

## Comments

### SHOULD

Section 2:
>      A short, human-readable summary of the problem shape.  It SHOULD
>      NOT change from occurrence to occurrence of the same problem
>      shape.

Needs some context around why this is a SHOULD and what are the reasonable cases and consequences of this recommendation not being followed.

### Untagged text strings for human readable text

Section 2:
>   Both "title" and "detail" can use either an unadorned CBOR text
>   string (text) or a language-tagged text string (tag38); see
>   Appendix A for the definition of the latter.

I have a hard time motivating why this can be unadorned CBOR text string, given that these two fields are always human-readable text. Maybe we need to add a default, i.e. that when text used, that is to be interpreted as English language is used.

### More examples

It would be nice with an example in Section 3.1 as well.

### Example's format

Section 3.2:
>   An example of a custom extension using a URI as custom-problem-
>   detail-entries key is shown in Figure 3.

Please explicitly state that the example (or examples if you add one in Section 3.1) uses CBOR diagnostic notation.

### "like this"

Section 3.2:
>        /example value 4711 not actually registered like this:/

I don't get the sentence above - if this is to highlight that this is an example and that the value 4711 is not actually registered, I think this is redundant (and you could also add that in the Figure caption rather than in the example's text).

### Reference for tunnel-7807 registration

Section 5.2:
>      +=======+=============+===========================+===========+
>      | 7807  | tunnel-7807 | Carry RFC 7807 problem    | RFC XXXX  |
>      |       |             | details in a Concise      |           |
>      |       |             | Problem Details data item |           |
>      +-------+-------------+---------------------------+-----------+

Please change the reference to "RFC XXXX, Appendix B".

## Notes

This review is in the ["IETF Comments" Markdown format][ICMF], You can use the
[`ietf-comments` tool][ICT] to automatically convert this review into
individual GitHub issues.

[ICMF]: https://github.com/mnot/ietf-comments/blob/main/format.md
[ICT]: https://github.com/mnot/ietf-comments