[art] Re: [Uri-review] Re: Alternative representation of URIs in YANG
Martin Thomson <mt@lowentropy.net> Tue, 16 December 2025 03:53 UTC
Return-Path: <mt@lowentropy.net>
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 68CE69B0E4F2; Mon, 15 Dec 2025 19:53:38 -0800 (PST)
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -2.799
X-Spam-Level:
X-Spam-Status: No, score=-2.799 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, 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 (2048-bit key) header.d=lowentropy.net header.b="rg4VAMBl"; dkim=pass (2048-bit key) header.d=messagingengine.com header.b="P1n0kT1T"
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 SD0-g9geInmB; Mon, 15 Dec 2025 19:53:37 -0800 (PST)
Received: from fout-a8-smtp.messagingengine.com (fout-a8-smtp.messagingengine.com [103.168.172.151]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail2.ietf.org (Postfix) with ESMTPS id D84809B0E4ED; Mon, 15 Dec 2025 19:53:37 -0800 (PST)
Received: from phl-compute-04.internal (phl-compute-04.internal [10.202.2.44]) by mailfout.phl.internal (Postfix) with ESMTP id 82D44EC00DD; Mon, 15 Dec 2025 22:53:31 -0500 (EST)
Received: from phl-imap-15 ([10.202.2.104]) by phl-compute-04.internal (MEProxy); Mon, 15 Dec 2025 22:53:31 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lowentropy.net; h=cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1765857211; x=1765943611; bh=IQUGXVxCc10QPj9dzDstMm9QapeAbU3I59Uz1+8K57w=; b= rg4VAMBlM2vb7eFgvDYqHJl50/efQXLE482171afp8nGxjfJYAWaFBqCu9fMtOjm F5XhBlFUkOETcsnL3EhRlHCVeG6pQvgj9XYTtd4qNV2ir4rjzcGfOqlZKAOC8qw/ 1QTxQYVRjfjrmh1pymvL9jWTzctWFBHgmoQhOSgS2mXm4y/kD8SPJ7Cl2oZKDwQO fZKZo3FAWcLkZLcHuvNx8s6Jr+IfZx8GmA0tQ35j1UlnnVgZ1fAKC4YM+95yAw4t js5uz5QBgFGLLdF/UCr/hNYqkFctUK9mvlZjqz2zfehjOA0fPATYtGtfc2W1zNVY EBiqrjAHOPmQXXoLChs2aA==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; t=1765857211; x=1765943611; bh=I QUGXVxCc10QPj9dzDstMm9QapeAbU3I59Uz1+8K57w=; b=P1n0kT1TagbZqRU6B 0M5DF1UTx1JNhQP873WNA+sObtk8B7qfqgb1H0tGshU2BERZhz2Dscyd/oHSCb7f hfGNUwUfca7OPsN9FktORP/Ai3PR5dyP5zi3YlDZxNSlmr1nQuyqNowbEtkHnK2U nzkr0qjVbK1BISmn4fV8PVL610IirtRbY8Ry2gziv2LQ6mFipuwqKAgQ+BtWdfRA y8V8Hgxzd3XQv3+VVs5ZnHmvENEEngUpsex9su2QF0Q417wfoSGJYlsU8bPChbk3 E+n33yusXNmrCRKaJ2fhfwhWKuHnAxXqQujOUreusc5H1w9xnZzp9GrNjqTXplmi OEa5w==
X-ME-Sender: <xms:u9dAaWXWzl2hw-vzWTlcd5JWU4RFQcoueUnUXVYua0EywQ4fnl0T7Q> <xme:u9dAadbaWtx141n-lTu_eARFKG6uzBwfHr2PYhS1nm-M77ZkUuPmI1sQTubY6T2q- vfg3AHm0-N8N4QBIqDFeNbT3T11tamQu0u08XYD4EFwdi4cizfEALo>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgdefkeeihecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjug hrpefoggffhffvkfgjfhfutgfgsehtqhertdertdejnecuhfhrohhmpedfofgrrhhtihhn ucfvhhhomhhsohhnfdcuoehmtheslhhofigvnhhtrhhophihrdhnvghtqeenucggtffrrg htthgvrhhnpeehkeeuveelgefhleehleduueegvdeujefhgefghfetjeduhedtvedvfffg hefgkeenucffohhmrghinhepvgigrghmphhlvgdrtghomhenucevlhhushhtvghrufhiii gvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmtheslhhofigvnhhtrhhophihrdhn vghtpdhnsggprhgtphhtthhopeekpdhmohguvgepshhmthhpohhuthdprhgtphhtthhope ifohhrlhgvhiesrghrihgrughnvgdrtghomhdprhgtphhtthhopehivghtfhgrsegsthgt ohhnnhgvtghtrdgtohhmpdhrtghpthhtohepmhhjvghthhgrnhgrnhgurghnihesghhmrg hilhdrtghomhdprhgtphhtthhopegrrhhtsehivghtfhdrohhrghdprhgtphhtthhopehu rhhiqdhrvghvihgvfiesihgvthhfrdhorhhgpdhrtghpthhtohepthgsrhgrhiesthgvgi htuhgrlhhithihrdgtohhmpdhrtghpthhtohepuhhrihesfiefrdhorhhgpdhrtghpthht ohepkhgvnhhtodhivghtfhesfigrthhsvghnrdhnvght
X-ME-Proxy: <xmx:u9dAaU7mt0cJteQIpzj1fZNgPMqWDTywzIewCYPgBM6k6YgLP7klbg> <xmx:u9dAaU8eiES8WHxdNHE00BMnPhLm-MxAakEGDGGXbxZY5f8mcRIAEg> <xmx:u9dAaZqfkH_o9hVrkR5boaodDXR5vKAkpvHjVwkx9VmVyLFUacO6SQ> <xmx:u9dAaVpu2WIAy16pTFEH7-HOeGKD6i2LLPgEqYlbg3nar86ZqjVsHA> <xmx:u9dAaWtQ3P-q_BXtBTwDBL9Ancll-2o-e4MqV2YZUYQxtsLvAG9B1TL7>
Feedback-ID: ic129442d:Fastmail
Received: by mailuser.phl.internal (Postfix, from userid 501) id 00510780054; Mon, 15 Dec 2025 22:53:30 -0500 (EST)
X-Mailer: MessagingEngine.com Webmail Interface
MIME-Version: 1.0
X-ThreadId: AruTPOI_qQOs
Date: Tue, 16 Dec 2025 14:53:10 +1100
From: Martin Thomson <mt@lowentropy.net>
To: "Dale R. Worley" <worley@ariadne.com>, Kent Watsen <kent+ietf@watsen.net>, Tim Bray <tbray@textuality.com>, Mahesh Jethanandani <mjethanandani@gmail.com>, tom petch <ietfa@btconnect.com>, art@ietf.org, "uri@w3.org" <uri@w3.org>, "uri-review@ietf.org" <uri-review@ietf.org>
Message-Id: <c5cba45c-5375-4dca-9b9c-3656dc48bc21@betaapp.fastmail.com>
In-Reply-To: <87fr9b6rfl.fsf@hobgoblin.ariadne.com>
References: <87fr9b6rfl.fsf@hobgoblin.ariadne.com>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Message-ID-Hash: LWDZBOGB7WFI5DJ65HYLLUEP3M7OY2J2
X-Message-ID-Hash: LWDZBOGB7WFI5DJ65HYLLUEP3M7OY2J2
X-MailFrom: mt@lowentropy.net
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
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [art] Re: [Uri-review] 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/1f6AFskBMT2wrcqVXf7u8-Q2SAw>
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>
I know that you are trying to make the case for decomposition Dale, but I don't think it has been made. RFC 6991 made the right call (mostly; see below) in avoiding the need for a URL parser. steam://run/<digits> doesn't follow the authority form, but will be parsed successfully as such. Is that a good outcome? On Tue, Dec 16, 2025, at 14:23, Dale R. Worley wrote: > I notice that in the simple uri typedef in RFC 6991, the description > includes this text: > > Objects using the uri type MUST be in US-ASCII encoding, > and MUST be normalized as described by RFC 3986 Sections > 6.2.1, 6.2.2.1, and 6.2.2.2. All unnecessary > percent-encoding is removed, and all case-insensitive > characters are set to lowercase except for hexadecimal > digits, which are normalized to uppercase as described in > Section 6.2.2.1. > > It's possible that the I-D may want to require some of this > normalization. But that decision doesn't seem to affect the validity of > this representation of URIs. I'd argue that this is not a good idea for RFC 6991 as well. Normalization requirements like these would seem to improve interoperability, but they frequently have the opposite effect. Strings that were equal appear differently as a result and - when normalization is imprecisely defined (as here) it is also inconsistently implemented, so once-equal URIs compare as not equal. Consider https://example.com/a%2fb Is the pct-encoded "%2f" unnecessary or not? As Tim said: > A core premise is that URIs are short-ish strings and that most software in most software doesn’t need to and in fact SHOULD NOT poke around inside them. That's an architectural principle to stand behind right there. (Roy gave more extensive advice about what it means to configure HTTP, which identified a range of different needs for identifiers. I would also pay attention to that, though Roy's message goes well beyond the subject of this thread.)
- [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