[art] Re: Alternative representation of URIs in YANG
"Martin J. Dürst" <duerst@it.aoyama.ac.jp> Mon, 01 December 2025 04:26 UTC
Return-Path: <duerst@it.aoyama.ac.jp>
X-Original-To: art@mail2.ietf.org
Delivered-To: art@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1]) by mail2.ietf.org (Postfix) with ESMTP id 59F9E92F3592; Sun, 30 Nov 2025 20:26:53 -0800 (PST)
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: mail2.ietf.org (amavisd-new); dkim=pass (1024-bit key) header.d=itaoyama.onmicrosoft.com
Received: from mail2.ietf.org ([166.84.6.31]) by localhost (mail2.ietf.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Kfn-a5dE-NKN; Sun, 30 Nov 2025 20:26:52 -0800 (PST)
Received: from TY3P286CU002.outbound.protection.outlook.com (mail-japaneastazon11020102.outbound.protection.outlook.com [52.101.229.102]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail2.ietf.org (Postfix) with ESMTPS id 1B2B592F358D; Sun, 30 Nov 2025 20:26:51 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=fBLVhYb6mON6t62LVe+79Ky8Y5iK2BvJU3amylNylp0aSzf/IN0iwquIYBn2u6+qeGs+UwXKklf3CiytmptKurMtfYqPBaovihMIYneUyrbqOKOJb0FZuZhSt8q+m66izrnQeJrv6gI13J9YtxmG34H7SbjEdneTwOPkIn4ddDxjzXRAXmcJ4dTFjmDijmbyl0g3A0GSL8gn2gPe81AEwWxbhcm9Ols/f+kvoNcOY+ZXNuoABWTEYotQ9ngWxnwhB2J5auo/eNtVx7302HzWGsf+MWy638Ix975xNPoXe1gs76Kk3jis1OTU6rCzpY0kkU/lCNXdnvcQ0Ud1gMKoWg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=Vj89WHlIGT0uhfInX7YbfiPgOQwCC2aKMxS83RdBEuU=; b=XUqtcfmEnixesknwTxPLeNk6rAOtLD3sy0ROPnxuUdUItsG3ULNZzDWPMOyQJtBq0M+CWgj79Xr1gfLpfZFGwiAJ6PZCA/urTL2xZB71RO+HymyPVYJBP/gTGQAuFfLVOtRVJz28s3q/ymOKBvazhGgyLZGBJSrU6ZLfbWvv7lenIZoJVJLp4UeKtPsW3lzZATayRTbSyV10f8TFM455n7s4siNlbtCgqMRn7z1JCfBVvjDSlgC0KJGsYuL8rNiAn0eDoxCEjy0uN0K0UrwL8i/IDUDIuup2gortjyDK+s+B0PwgHZ3R8F8o3RUxTDrZgS5inB8YdPVTEchCIEBolQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=it.aoyama.ac.jp; dmarc=pass action=none header.from=it.aoyama.ac.jp; dkim=pass header.d=it.aoyama.ac.jp; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=itaoyama.onmicrosoft.com; s=selector2-itaoyama-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Vj89WHlIGT0uhfInX7YbfiPgOQwCC2aKMxS83RdBEuU=; b=sF+jLnF7Q0X17INh5X4Yv01gDewWRAywlAQXiGMYurpuzcZ4M6AgN6Sj2QHu8+8HabpiXWZGDSNFSGTGxipkP42KrOM6viy7nLdnEiQX+WuKZTvMXy2FzAiQviKiP32N1HDofhB1QG+AxNZPRoPv16/3XCULyc7hkSiNydUx3ho=
Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=it.aoyama.ac.jp;
Received: from TYCPR01MB7043.jpnprd01.prod.outlook.com (2603:1096:400:be::13) by TY7PR01MB17154.jpnprd01.prod.outlook.com (2603:1096:405:364::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9388.9; Mon, 1 Dec 2025 04:26:42 +0000
Received: from TYCPR01MB7043.jpnprd01.prod.outlook.com ([fe80::e2fb:c3ec:3c73:49ae]) by TYCPR01MB7043.jpnprd01.prod.outlook.com ([fe80::e2fb:c3ec:3c73:49ae%6]) with mapi id 15.20.9388.003; Mon, 1 Dec 2025 04:26:42 +0000
Message-ID: <331d1f14-8ae6-41b7-810d-a21c3a5a5041@it.aoyama.ac.jp>
Date: Mon, 01 Dec 2025 13:26:39 +0900
User-Agent: Mozilla Thunderbird
To: tom petch <ietfa@btconnect.com>, Kent Watsen <kent+ietf@watsen.net>, "art@ietf.org" <art@ietf.org>, "uri@w3.org" <uri@w3.org>, "uri-review@ietf.org" <uri-review@ietf.org>
References: <04751771-27b6-4894-81dc-82036aeea5d2@betaapp.fastmail.com> <0100019ab804a507-449eb08e-87a3-4afc-bb98-9b67827bf928-000000@email.amazonses.com> <05d03d11-f140-461e-8a68-0dd6f1bfe465@it.aoyama.ac.jp> <FRWPR07MB106228FC36F536D383AEEE6A5A2DDA@FRWPR07MB10622.eurprd07.prod.outlook.com>
Content-Language: en-US
From: "Martin J. Dürst" <duerst@it.aoyama.ac.jp>
Organization: Aoyama Gakuin University
In-Reply-To: <FRWPR07MB106228FC36F536D383AEEE6A5A2DDA@FRWPR07MB10622.eurprd07.prod.outlook.com>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 8bit
X-ClientProxiedBy: TYCP286CA0029.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:263::19) To TYCPR01MB7043.jpnprd01.prod.outlook.com (2603:1096:400:be::13)
MIME-Version: 1.0
X-MS-PublicTrafficType: Email
X-MS-TrafficTypeDiagnostic: TYCPR01MB7043:EE_|TY7PR01MB17154:EE_
X-MS-Office365-Filtering-Correlation-Id: d8558d26-a750-4add-ad2b-08de3091d475
X-MS-Exchange-SenderADCheck: 1
X-MS-Exchange-AntiSpam-Relay: 0
X-Microsoft-Antispam: BCL:0;ARA:13230040|41320700013|366016|1800799024|376014|4022899009;
X-Microsoft-Antispam-Message-Info: 1GAqLLB6HX4aOXcuYZXPMjsXBe1k+ynHqmkrrhJNMPudmg+0aH9uJfZZ6nVagsT4W9jES2QoQui9e8iTVkxEIIJuG+/OmHuAM42H25rwwE1iVU08ezTi1pjtV28Neaw9S4fTXQGJ5R8yJmPoDoUCqbNtt6E1Sm+8ESSltmRWNj/88z1DVdZMeHYDLUiyIZwt335pznkXqZE515v+Dxnb7sKFEQm4rrWJS8yLTHz4pASRMTLdPsH4ARhGGxa7uCZ7XfMEQnlbQltwgLUyc/kLYpaqSi6R8GjJfFsq6dDlv9Bvkfwsp3vFk65lRQneSON4mEe0wVbSCbRKhpA+e62/UutoHfPtQKuh0I9y9UiUkdLqxVKTSuADkgHsz/AHHcS3KwMqbOywJzG4aArMU7QC2t3JKePp/E/MEpNlPP8A0Sxb/zbqXnDZtDcV0ljXOuZghTDtEXQEIdFYpxL2ypmQ1WTA+EgTWj2VRYQqPBVqyZdo50MxoZPyJKEndVsylKpnpkI7OrEaJ+IhtSS2iR65laEkHbWomwADvY0uXnttAPOsFtt6jEZS+mVLF0Cd1QvBQZ9UBq9WD8k9LsNhP0Sxo7mnaTVySGFYVTvGEUm5/yuClcKWc+bR5kX24rkJ2Js0NY1IT3why8Llouli5ABbIzrdt2n/nSM3oh+IJUyUpPPaMG24/RfD7Dqmef0GBzwXTQUkIFnMAzTfpgqRBDzqeZ0rW8NNHuUQWpUeWslrIeBF+Dbh0AQTFrWJu7P4M9CvAf1X2iUyKfnE6ZNBxx/FmuWZqpNZHo+DqU853ns+i0X+GM9cKicALwCiq0xUjMkKGFbv5jzbUBrPwi09+eCCEB7WF5Tp1ve9tI0MNvGhhpcLXBDgoJL4CYiwPSkM7GCAMoytLiORtfBkLLAUa3GdiLxf0nds2RQIQxeTOdhOFhTeKoprPNZdSkIClr9jssHLjvwTPE+2Dmb7O6/1T4n3e3zjSMb6/hjfWQdBLO9ZmRd3we2W5efUZP5OKMth6qiGAbj7JZZLnlJCas3omU3LrxlXzVMIqEXJ6HofjopURVSccZJtmQ1myg4GXcnLTaAHzPsdNFyTRmBN6uW4peuEwPvut4/7ccu0lKStwWFib0PqDza2Tp6xfKuQiso1qUOmDXxufLUZVeokfhI2PXI+hM3NTK5wZWSE5C91nRZHqlU8fb/tpzXUkO99Qt5eHNPOaswPGRZnM8V+ssNinTngw8OQ4d+wMcepTIYdehC10chdlRBghY/UbKwtUYEkkVYBMGMRYYhL0yfQiH5OernDK9emFcGObuV4UrVQAxFa6cbNbhkEnBqX7uW398zvNUsMA8eJMP84VQKWCuj0zZesRvzYtMIN+gKGNUl71gGuOPUj91kZLa4IIds/csSWNvHo7hIovFCW8wxPT5xNv+a5svdPkx/2Zy9IIyw4+AjWivymY5iJw5q0U/Q8aMqaWNO0iq/7icl7loI2aqzqkVa5PA==
X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:TYCPR01MB7043.jpnprd01.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(41320700013)(366016)(1800799024)(376014)(4022899009);DIR:OUT;SFP:1102;
X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1
X-MS-Exchange-AntiSpam-MessageData-0: JrcpQb593bF5OrxKKu+7z59kJ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mejH6L2pfx0dMqh+dQhT74tfrxlEqwweWEdRQE/bRmgRl+eLiK1nuQen2bM4hXthp9w2nqFY78nDsoU3EEEAwJvXEK+b1crDO8WzsjM0ZOIEsQwpIvJGRB4mdKhgBq/VeuKRYY4g4W5nO5+4QFldOCnzJB7gecOQgf3t7DQO0+6vAFyZO7lBkOJPk97coU56btYFg8zK8eGPaf1qaWXu1455SukHO2ndgvd6AX0AHHSEa1z3QhwVcVxpL2OeUKHeNdaXP3uh3LLabiNKelOaF6t9lxeEwS3IzCWb/AEuuUBiVtj2Wqupw27yW1iUnSpRTufdspnyAwg35eK3tFeDEwfuaoinjlcm2VbR8cjjMIjKnJWFP2q4ValM+Bfy5UZuSWte6gh/s+bfP7WnAKR+iVSEJe8sKVheUGFyQZkdcYSt1B8MiV2H83rWl6Fp1MEQB8nVxOkxjam4IrK34uKcDiIEjkEQWlys8VlExyj7pcZTneP
X-OriginatorOrg: it.aoyama.ac.jp
X-MS-Exchange-CrossTenant-Network-Message-Id: d8558d26-a750-4add-ad2b-08de3091d475
X-MS-Exchange-CrossTenant-AuthSource: TYCPR01MB7043.jpnprd01.prod.outlook.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Dec 2025 04:26:42.7550 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: e02030e7-4d45-463e-a968-0290e738c18e
X-MS-Exchange-CrossTenant-MailboxType: HOSTED
X-MS-Exchange-CrossTenant-UserPrincipalName: xdSVFhKma/8Ms0BgLi/R78twg8Lg59ci3sOCPJ1ZD6Xi11n68QwU8wfKfdF2DQXt+fOQsNdkL5ysLq/qi3hFXg==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: TY7PR01MB17154
Message-ID-Hash: SPZDG6SZDUJBCEPMZO3TSQ7IZFWRLHPS
X-Message-ID-Hash: SPZDG6SZDUJBCEPMZO3TSQ7IZFWRLHPS
X-MailFrom: duerst@it.aoyama.ac.jp
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-art.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: Martin Thomson <mt@lowentropy.net>
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [art] Re: Alternative representation of URIs in YANG
List-Id: Applications and Real-Time Area Discussion <art.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/art/oz431ejHoa3FBfImqs_VvGGMeP8>
List-Archive: <https://mailarchive.ietf.org/arch/browse/art>
List-Help: <mailto:art-request@ietf.org?subject=help>
List-Owner: <mailto:art-owner@ietf.org>
List-Post: <mailto:art@ietf.org>
List-Subscribe: <mailto:art-join@ietf.org>
List-Unsubscribe: <mailto:art-leave@ietf.org>
Hello Tom, others, Many thanks to Tom for providing the pointer to the 'uri' datatype in RFC 6021. That suggests to me that one of the questions that should be answered is whether the decomposition is needed at all. Also, with respect to the name, instead of 'ietf-uri', 'decomposed-uri' or 'uri-decomposition' may be more appropriate. Regards, Martin. On 2025-11-30 00:16, tom petch wrote: > From: Martin J. Dürst <duerst@it.aoyama.ac.jp> > Sent: 25 November 2025 23:26 > > I'm copying the URI list and the URI review list to make sure URI > experts can have a look at this and comment. > > My knowledge about YANG is essentially zero, but it seems somewhat > surprising to me that this would be the first time URIs would turn up in > YANG. > > <tp> > > I am not sure what you are referring to but URI is a defined datatype in RFC6021 from 2014 which in turn is based on the TC-MIB from an earlier language. > > Tom Petch > > Regards, Martin. > > On 2025-11-25 07:38, Kent Watsen wrote: >> >> The immediate expected usage is for HTTP URIs. That said, the module aims to be as generic as possible, so alternate uses may arise. >> >> I'm didn't know "ietf-uri" was perhaps too broad a name. Please suggest an alternate name if that makes sense. >> >> Kent // author >> >> >> >> >>> On Nov 24, 2025, at 5:01 PM, Martin Thomson <mt@lowentropy.net> wrote: >>> >>> Hi, >>> >>> I recently had cause to review draft-ietf-netconf-http-client-server and found Section 2 [2] gave me pause. >>> >>> This section claims to represent URIs with a name of "ietf-uri" for the module. However, it seems like the only form on offer is a very specific authority form. This might be sufficient for HTTP URIs, but I doubt it works for SIP, file, or many other URI forms. >>> >>> Questions: >>> >>> * I know that decomposition is common when using specific types of URI, but is this a sensible way to represent URIs? >>> * Should this instead try for a more limited scope? Through a different name, perhaps. >>> >>> Kent, on CC, can likely answer questions about expected usage. >>> >>> Cheers, >>> Martin >>> >>> [2] https://datatracker.ietf.org/doc/html/draft-ietf-netconf-http-client-server#section-2 >> >> _______________________________________________ >> art mailing list -- art@ietf.org >> To unsubscribe send an email to art-leave@ietf.org
- [art] Re: Alternative representation of URIs in Y… Kent Watsen
- [art] Alternative representation of URIs in YANG Martin Thomson
- [art] Re: Alternative representation of URIs in Y… Martin J. Dürst
- [art] Re: Alternative representation of URIs in Y… tom petch
- [art] Re: Alternative representation of URIs in Y… Martin J. Dürst
- [art] Re: Alternative representation of URIs in Y… Kent Watsen
- [art] Re: Alternative representation of URIs in Y… Martin Thomson
- [art] Re: Alternative representation of URIs in Y… Kent Watsen
- [art] Re: Alternative representation of URIs in Y… Martin Thomson
- [art] Re: Alternative representation of URIs in Y… Kent Watsen
- [art] Re: Alternative representation of URIs in Y… Martin Thomson
- [art] Re: Alternative representation of URIs in Y… Mahesh Jethanandani
- [art] Re: Alternative representation of URIs in Y… Kent Watsen
- [art] Re: Alternative representation of URIs in Y… Kent Watsen
- [art] Re: Alternative representation of URIs in Y… Martin Thomson
- [art] Re: Alternative representation of URIs in Y… Kent Watsen
- [art] Re: Alternative representation of URIs in Y… worley
- [art] Re: [Uri-review] Re: Alternative representa… Tim Bray
- [art] Re: [Uri-review] Re: Alternative representa… worley
- [art] Re: [Uri-review] Re: Alternative representa… Kent Watsen
- [art] Re: [Uri-review] Re: Alternative representa… worley
- [art] Re: [Uri-review] Alternative representation… Roy T. Fielding
- [art] Re: [Uri-review] Re: Alternative representa… Kent Watsen
- [art] Re: Alternative representation of URIs in Y… Sampo Syreeni
- [art] Re: [Uri-review] Re: Alternative representa… worley
- [art] Re: [Uri-review] Re: Alternative representa… worley
- [art] Re: [Uri-review] Re: Alternative representa… Martin Thomson
- [art] Re: [Uri-review] Re: Alternative representa… worley
- [art] Re: [Uri-review] Re: Alternative representa… Kent Watsen
- [art] Re: [Uri-review] Re: Alternative representa… Martin Thomson
- [art] Re: [Uri-review] Re: Alternative representa… Tim Bray
- [art] Re: [Uri-review] Re: Alternative representa… Mahesh Jethanandani
- [art] Re: [Uri-review] Re: Alternative representa… Martin Thomson
- [art] Re: [Uri-review] Re: Re: Alternative repres… Henry S. Thompson
- [art] Re: [Uri-review] Re: Alternative representa… Kent Watsen
- [art] Re: [Uri-review] Re: Alternative representa… Mahesh Jethanandani
- [art] Re: [Uri-review] Re: Alternative representa… Mark Nottingham
- [art] Re: [Uri-review] Re: Alternative representa… Mahesh Jethanandani
- [art] Re: [Uri-review] Re: Alternative representa… Kent Watsen
- [art] Re: [Uri-review] Re: Alternative representa… Martin Thomson
- [art] Re: [Uri-review] Re: Alternative representa… Kent Watsen
- [art] Re: [Uri-review] Re: Alternative representa… Tim Bray
- [art] Re: [Uri-review] Re: Alternative representa… Orie
- [art] Re: [Uri-review] Re: Alternative representa… Martin Thomson