Re: [core] [art] [Last-Call] Call for comments on draft-ietf-core-problem-details-07

tom petch <daedulus@btconnect.com> Fri, 01 July 2022 09:10 UTC

Return-Path: <daedulus@btconnect.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 C0F00C13A221; Fri, 1 Jul 2022 02:10:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.783
X-Spam-Level:
X-Spam-Status: No, score=-3.783 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, NICE_REPLY_A=-1.876, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=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=btconnect.onmicrosoft.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 e4-2BmFYcaae; Fri, 1 Jul 2022 02:10:03 -0700 (PDT)
Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2103.outbound.protection.outlook.com [40.107.20.103]) (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 40DDEC15CF55; Fri, 1 Jul 2022 02:10:02 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bdD0rL8J7R7dx93chaDwKmQebjT14EsP5Kfdthuv9gnpMFiczwjosd2yv90W/OEG363xQuslJvq6wWhqgxiN+XlmXnMEgU8G+RWGdt9jQ0buRwu247J8XvDhbBcGDUOT6N+vmXPY1AOYL6wG8g3zV/lLoN+Tb2cfg8UfHK3KOiSje6nHVykhjh579kpW8kjTLrIb8SP2YrGwTjOVLuagUJ1q9VeYTtkMQhy9ED8RNd6hXja6DPGg6JDq3ux42QFVQv41zc9ICMnaibz+CllLILIQI+NGdArBFuCqYA7A6OYxOeiLEITHpwRfNC3Q7Iu2n4q7pbVwNVpea42PoDjpJw==
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=a/1O1GyJ4bfEauzZeQYW1m5Y5sZTf0VwmV9w7xhB6x8=; b=L/sywPytGogZVMXBt++CSRYJhaw2ttJFzAVQwQRa7TxUpxOGMVpqITiYIogBFhw5gJhzy7G5Q/iEXLn+lCHUXgDLN0M0S+dMSHIqMw6HbExpwW1JbT+cLC0UX5DfIG36FvmYJ1Y9ffk5dGn/8F0XIeLbSNdGi2l+ECMjXWOpuZU2E5JRavyRj3AzHXaE0UgXtEQhF3tXjqtd+ZMm8DDvCN6zWko2s4U3scjTmIi6FysN1Mt3Kvw070LKrn35b/CA/5ueEomrNmr6gxpjoUDPlj4/qf8yBfGlLCwDIu9w1LKE9zyykXzYj7eWBpQQtK+3A3RDC1H3Z13nfvsGgVqc5w==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=btconnect.com; dmarc=pass action=none header.from=btconnect.com; dkim=pass header.d=btconnect.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=btconnect.onmicrosoft.com; s=selector2-btconnect-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=a/1O1GyJ4bfEauzZeQYW1m5Y5sZTf0VwmV9w7xhB6x8=; b=V/79OVUNDz88Rutjh9ZYjcBjicDZgc8SzV9IohsJfjsCX9c5eQ2ElbsMIPb5DXGI/hJCs7u1ay8D7c5BuNbnTqJZnerUwV2rPMwdJi99iJohaWh9BttzD4piKYFAYg+A++JlyB66Dqn5dfqsBQt2Fz98aeXPYb/kmz/C3uN0oc4=
Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=btconnect.com;
Received: from VI1PR07MB6704.eurprd07.prod.outlook.com (2603:10a6:800:18b::8) by HE1PR07MB4394.eurprd07.prod.outlook.com (2603:10a6:7:a0::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5417.6; Fri, 1 Jul 2022 09:09:59 +0000
Received: from VI1PR07MB6704.eurprd07.prod.outlook.com ([fe80::b1eb:c51e:6586:a5d7]) by VI1PR07MB6704.eurprd07.prod.outlook.com ([fe80::b1eb:c51e:6586:a5d7%8]) with mapi id 15.20.5417.008; Fri, 1 Jul 2022 09:09:59 +0000
To: "Martin J. Dürst" <duerst@it.aoyama.ac.jp>, Francesca Palombini <francesca.palombini=40ericsson.com@dmarc.ietf.org>, Applications and Real-Time Area Discussion <art@ietf.org>, Core WG mailing list <core@ietf.org>, "last-call@ietf.org" <last-call@ietf.org>
References: <165511479760.19573.12671700576299137749@ietfa.amsl.com> <63D13796-758D-469B-AFA8-3050C9F87819@tzi.org> <dde9d36c-61e5-afcc-e15a-787c99d5fba9@it.aoyama.ac.jp> <0012F049-354A-4450-B923-857D24AB9459@tzi.org> <90b785ef-934b-da9d-7d89-7018bdebbb75@it.aoyama.ac.jp> <B96E980A-72E3-4678-B214-8464958845BB@tzi.org> <ff5f8ff1-67fc-eead-6b38-62c8d64ebf45@it.aoyama.ac.jp> <4207E390-270A-463B-A38A-063AD2436370@tzi.org> <16D5BCD8-769A-41C0-A178-6893678CB526@tzi.org> <PA4PR07MB86244C52223D7BE9F1886BE598B89@PA4PR07MB8624.eurprd07.prod.outlook.com> <AS1PR07MB86160DEF13089FF61CD4B55598BB9@AS1PR07MB8616.eurprd07.prod.outlook.com> <62BD8990.9080502@btconnect.com> <cee45452-d3b6-26f2-ed76-66c723527a1d@it.aoyama.ac.jp>
Cc: "draft-ietf-core-problem-details.all@ietf.org" <draft-ietf-core-problem-details.all@ietf.org>
From: tom petch <daedulus@btconnect.com>
Message-ID: <62BEB9DE.30905@btconnect.com>
Date: Fri, 01 Jul 2022 10:09:50 +0100
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:38.0) Gecko/20100101 Thunderbird/38.5.0
In-Reply-To: <cee45452-d3b6-26f2-ed76-66c723527a1d@it.aoyama.ac.jp>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 8bit
X-ClientProxiedBy: LO4P123CA0132.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:193::11) To VI1PR07MB6704.eurprd07.prod.outlook.com (2603:10a6:800:18b::8)
MIME-Version: 1.0
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id: 5261a2fe-58bd-4840-f206-08da5b4178fc
X-MS-TrafficTypeDiagnostic: HE1PR07MB4394:EE_
X-MS-Exchange-SenderADCheck: 1
X-MS-Exchange-AntiSpam-Relay: 0
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: RFAONe9WH7k1S5hmtA6h8X22AyCsbWYO+mypt0sn4OlZsDhjR3G356kEKYluHvdX6hwipBwpjPeTgDA1GYQesqABG9Q4DCD8W8wbq8TeXpxUXTRUp4l2Rf7hZdSWoiduFhC9sDy72s20LXlJLtQLplk1g5UPtUwUJSF3jgdh+5ZXSAyJsPFpTQtkSXX/5fAqR4Yq7XfQ4LppI4Uv37GLFXTUsP5vtuoNqOualQAtv8RlqRvHPTjCizOql7TWL/NLaMlX4q7qdBCXvn1dB+p5yx5GmeHIWcEmgi4k49ymuwXrPeEoStBgGHj3QP1898Lo1taH16hutvAJ8U6K2/V+/9QSlwDJ+T166OR6VOZwGlkEdIJ/Ob2w6MsJMwpIfJAn2fOpq7igrScMKUVn9E1xG16jpNUVflt2iLqq3ziRlk6yYx8Q/etzuSCAHV7hQ6EOaDxZibXDZBClVvSPCSsBQUGHecWjjJBka+Db5cV2uWoGTRJmDCe+9LQ+TEIu5f3a8wOAPJN3Td54jjQVYWG50JxvJfDR69IxrQ/x2dyqzhdEHgRX0Ol2/l27fEWdVpVFXKgzSxmmJBq6ZYxfpSEqh4mUH12kfizQ/OKrA72H/7IB7kol8Yp//8XI579rK3ZsMSqUxyYUJYoPYmw76E5yxhCmUdsfToVjg8z8pVWaif1uE4Ni3NviZ3dT8zGuxxLt9LBFWhDl8HgpAYv1RQwAIkNh8K0frDaSJC0BYgs+8X1P67LE99Z0Vz22xozPYK551sT0uG2+rUMqIObKE3webWy+y8mDXKAG6wPdNCWGzsx+oXLAMMHyFis5yU4c4EnIft3sYYoY2KD9EJ92VMj0D7l1liRe8/GyzWVBtwXyzvxxiorixAdS73LFlYReaT/Tbiktc5I1xdJr8S8qXOIjQyyjD8u3Mfca8dHFqPKcCkM=
X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR07MB6704.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230016)(39860400002)(136003)(366004)(376002)(346002)(396003)(66574015)(2906002)(316002)(110136005)(41300700001)(186003)(4326008)(6512007)(66556008)(52116002)(66946007)(5660300002)(53546011)(26005)(966005)(478600001)(6666004)(8676002)(6486002)(66476007)(2616005)(82960400001)(86362001)(6506007)(36756003)(33656002)(8936002)(38100700002)(38350700002)(43740500002); DIR:OUT; SFP:1102;
X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1
X-MS-Exchange-AntiSpam-MessageData-0: qwg6gRZz4b5Io0P+4M5gjzdGALja3uG8O60mBe8rcy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S6sItKCmNfT7VEQIMQAiP7g9exXZ0OxCg6cVX5dErHAdEpgiiRIiTmCN+qI/A+UA9pL9RAhVHeNxY/ok5RTj9mUX3r0aBBaFm3qpIqXNX3hXF+UPmw8gmZTiloZq5p4kNzF34CsXhMNM42FyGWbSeFtXSE2s2t6bBMkNgBvFGXQ6yg6mek6qg72mhYNF/ULDbnnLjoFV9+d/5G/vtRU7pUZiyMdPgWpjwtp9lFy3hG+wo7jgwNo7PfLRZlIZi/zh/UVnbvkL8BNjGFfmS6uZTMuYFHrkdtdYR2K15lLP49mqLih9LbWRSzxhWgeMyoR1SYeGkGSebA+WniTjtLqVAhI0lS/EL4nxAtuSB774S/3U0i5EBGfsA7M2nVHQu1TwfUAqHaBcLbBRYrfEnG0D9fksXj4+Rc9oNXA1ATRUXqnbDaBVtVKA1yLn6au3qB2Vmpd7M9HpQ795SNE/fD4+dKvVOKRO1OI2KBb2JQw==
X-OriginatorOrg: btconnect.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 5261a2fe-58bd-4840-f206-08da5b4178fc
X-MS-Exchange-CrossTenant-AuthSource: VI1PR07MB6704.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Jul 2022 09:09:58.8753 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: cf8853ed-96e5-465b-9185-806bfe185e30
X-MS-Exchange-CrossTenant-MailboxType: HOSTED
X-MS-Exchange-CrossTenant-UserPrincipalName: 0z3tsENnP30S84ta4qGbNsYOKr5h4FwQn/3r+DHiEMA/0oIeZBmT+oss93CzU3KN4sKzhuOUkv7YZVD7lsle3A==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR07MB4394
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/8xDahPt6zz88OoyTUKjaDelMJsM>
Subject: Re: [core] [art] [Last-Call] Call for comments on draft-ietf-core-problem-details-07
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.39
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, 01 Jul 2022 09:10:05 -0000

On 01/07/2022 07:33, Martin J. Dürst wrote:
> Hello Tom, others,
>
> On 2022-06-30 20:31, tom petch wrote:
>
>> Second, the 'NOTE' seems at variance with RFC5646 in that the RFC
>> specifies that they are case insensitive.  YANG is in most respects a
>> lower case language and it has the concept of canonical form so my
>> understanding of RFC5646 is that the canonical form, in any YANG
>> context, would be lower case, which is not what the appendix says (not
>> that the appendix explicitly considers YANG but I expect tusers of
>> this I-D will).
>
> I agree with what Carsten said (in a later mail): that for core-problem,
> and also for CBOR in general, we are in the right spot.
>
> Although the wording in
> https://datatracker.ietf.org/doc/html/rfc5646#section-2.1.1 (pointed to
> by Randy) is different, in some way it would be appropriate to call
> capitalizations such zh-US-Latn-pinyin (Chinese as used in the US,
> written in Latin script according to the pinyin Romanization) the
> "canonical form" according to RFC 5654.
>
> The question for YANG would be whether to force lower case, whether to
> allow free case (as RFC 5646 does), or whether to force the above
> capitalization. I do not know enough about the YANG ecosystem to be able
> to give advice. But what YANG does definitely should not affect other
> formats and protocols.

Yes, YANG needs to do what is right for YANG and not put back pressure 
on other specifications.  If and when there is a proposal for a YANG 
type for language tags, I will push for the lower case ie as Carsten says

"So I would have used [a-z]{1,8}(-[a-z0-9]{1,8})* instead of 
[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})* as the regexp for a language tag."

but I see that as one for the NETMOD WG perhaps with input from art if 
some want mixed case:-( YANG can be a but flaky when it comes to string 
comparisons.  Some places it insists on lower case (e.g. 'true' 
'false'), others it does not.  It does have canonical forms but does not 
do Unicode normalisation and does allow a very wide range of characters.

So the I-D looks ok.

Tom Petch

> Regards,   Martin.
>
> .
>