[Uri-review] Re: [art] Re: Alternative representation of URIs in YANG

Tim Bray <tbray@textuality.com> Fri, 23 January 2026 17:21 UTC

Return-Path: <tbray@textuality.com>
X-Original-To: uri-review@mail2.ietf.org
Delivered-To: uri-review@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1]) by mail2.ietf.org (Postfix) with ESMTP id D90E8AC15A68 for <uri-review@mail2.ietf.org>; Fri, 23 Jan 2026 09:21:49 -0800 (PST)
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level:
X-Spam-Status: No, score=-2.099 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: mail2.ietf.org (amavisd-new); dkim=pass (1024-bit key) header.d=textuality.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 RMAMn3oZiNC6 for <uri-review@mail2.ietf.org>; Fri, 23 Jan 2026 09:21:48 -0800 (PST)
Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com [IPv6:2a00:1450:4864:20::633]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail2.ietf.org (Postfix) with ESMTPS id 79027AC15A17 for <uri-review@ietf.org>; Fri, 23 Jan 2026 09:21:48 -0800 (PST)
Received: by mail-ej1-x633.google.com with SMTP id a640c23a62f3a-b8863db032dso138492566b.0 for <uri-review@ietf.org>; Fri, 23 Jan 2026 09:21:48 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; t=1769188907; cv=none; d=google.com; s=arc-20240605; b=QxDvKfX3WVmLVhvHE2gTCYMkfL0LM0uvSMOlacof9Y1OP80mBjflVZxZ9J/D0/Rn0O 8a/GpT5QR26MVQD4iipiPCL7Pew+M7KiLL3xKpt9gBFlzWi/TrbqGpourZhaVXZN/3LU gLzaSGlj2lnWBZ8yQ4lZcixQo5zEUYPsWEzNqBV8jPQT8u5iMeUc47am5wH5MVuAPT/j aLpAndiTcxlH7hXBfPy2RYg8I0a8fVjFh8fiVsEA81z5UsfxdBRrmUayLXnW77oHLF45 LrLFjQvPQYrXY6mN5GJrFD2XZGZFWMEPsEc5arzHUajFsAcuk8RDGdLqQYdHI8tAxuax QBWQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature; bh=XIa64j8ZliPR3n5SJeZjM3Y8E2pDeg3iX6kJ63GeHSE=; fh=d/Va6FoaLg27tLzxrmOf/Sbl9+pA4dojxAzpDlkxDbc=; b=XbxgYTBWcTvhCb/wCnlt+R4qzs/f3t+MgnI0PfyuorIySwuuNYb43qy5sXaYzK4Mde qn4sm3Qv3/oGeiem/orhyhJgE4c+Q1YY16vlx7z4iGuapl7a1rVHM9ybsg4dUMyFDEpf jodqdBLgoFWO4sLUj1YLBvpjOB86/TTory2K1cL5KeTHNadBxGsSaMQQeUxfFi3he4IL KYq87c7YEWwGAlD9A2FGhWSzOlZEWIYAGPmyFdSWdBXgZRpOY5EaOLJEB/oiHByitwk7 7cSPe8FymErkW61hx0fUWy3kaShT2F/3t8Ia4Y8HojG8hKzpqlkhFgRoDbGgunoN9L46 aa+w==; darn=ietf.org
ARC-Authentication-Results: i=1; mx.google.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=textuality.com; s=google; t=1769188907; x=1769793707; darn=ietf.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=XIa64j8ZliPR3n5SJeZjM3Y8E2pDeg3iX6kJ63GeHSE=; b=AxU2kzbZRenaXmjKkmKkvUTPxJ0i4KhLazGvzGGv4/ZPwUBLDHcqLZTDe9k4OWoPEt yJKdliuYfH0OlXj34rB+o3MGqSJ1ATVZRy4WH6gXYPgeyOdtyrB7dnN+wUduv+ILtAw1 xCx07Ijg8TXO/muMh70UKEmYoQQnB0JU5/GdE=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769188907; x=1769793707; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=XIa64j8ZliPR3n5SJeZjM3Y8E2pDeg3iX6kJ63GeHSE=; b=ZV02N98t837O+B21WHEz6dZveEhQ4vWJQ/7/XXn6OD4Z1KZFSPlEiqKfRZHUB51yHe 5QUgcQ1cfBdXva0UTAPmfOkeTasiiwLjlnTqHBMAEaTMHp1/9rpFjmbFvoDbAIsDOAbk 11WEhtgDMbYGMUc4VgG+hPHJo2lwfiOrUMrAcXvNfMXoMuzTXws8c7qCsYpBiZ9XNppo mf46pwDCF6YeNsGZdQWj3RsCIFZ6L/TVfVDoP/22ZR3AaMhmiBhtoDcrw1i9xCJnewVv g3khFfm2sz9vL4EQaHXqD+s4+dEpVc9FRNuvJfT2lws0IG3XsGWxkC5nV+gdpx+wdz6q f8gw==
X-Forwarded-Encrypted: i=1; AJvYcCUOhWPKdcznAxhD+Hd4xjGb+oipZEBCT1XA5wz1c5rViqdcMzEtMlW6AxuSr3DZc3fd1kiYwKF/o43w@ietf.org
X-Gm-Message-State: AOJu0Yy03SaBZ/MGGnraX8HSTAubKIeibCghRlamtYwMGPHnlp1UF2ak 3ZciQ6yROxHo3gZE2glW5qMqbDYcznuewhs7w6Vn7ZoVJWsqOrZf4EN7BKamM437/ar9mD2tIGH ZsqTqxH66mjLJURgAnHbg3yM8KtV55nBBlh9BvD3XpA43fkZ+G40Eyr8=
X-Gm-Gg: AZuq6aK9h4cOHNT2t2nDI6O7R/TaFo+kYJF/+B/bCdBBRgbwLHaHTfg0xU5BgP8IioS ploZ9kFXjUSJU2vaefpG1AvxAL3kFlWlHY/QkMJ2px7lyFHQV+BNT4Jao2BAr3XTulHRHhGcMis HPMx6oOPVkkmecDbOSpzgsK/Oa7l0tj2kxiwHxk3VQEx3mMZRNY20TLwYpQ864femIYE5jYbNTe 0FZgaUxx1iReb66YNS2UT1OHhLnnLH72VRENkK05iVb4AImtOcdUIC35PkVdvWg+nJIf3IpPHwr 6P9PIFwrZS8mrsN8bQq8WygPtZ7G
X-Received: by 2002:a17:907:c0e:b0:b77:1d75:8b78 with SMTP id a640c23a62f3a-b885ae8e157mr259776366b.53.1769188907452; Fri, 23 Jan 2026 09:21:47 -0800 (PST)
Received: from 1064022179695 named unknown by gmailapi.google.com with HTTPREST; Fri, 23 Jan 2026 09:21:44 -0800
Received: from 1064022179695 named unknown by gmailapi.google.com with HTTPREST; Fri, 23 Jan 2026 09:21:42 -0800
MIME-Version: 1.0 (Mimestream 1.9.7)
References: <87zf669z4x.fsf@hobgoblin.ariadne.com> <0100019be639037e-5401829e-3666-454e-b2c1-e9ac65a04ac5-000000@email.amazonses.com> <e1356eb8-31ba-47ce-9a1f-8d42713184a9@betaapp.fastmail.com> <0100019beb40df8e-1fc9f289-7efb-4d2e-a868-54733efc443c-000000@email.amazonses.com>
In-Reply-To: <0100019beb40df8e-1fc9f289-7efb-4d2e-a868-54733efc443c-000000@email.amazonses.com>
From: Tim Bray <tbray@textuality.com>
Date: Fri, 23 Jan 2026 09:21:44 -0800
X-Gm-Features: AZwV_QhFnot-vSGwe9ZoLpkREQqYitobg1LGx9ubPdNgve333M59kFXMrPm0ltQ
Message-ID: <CAHBU6ispNu+o6xsgvLakwSb=KYqgHcsowTznN1wPwD0Y1YsKVg@mail.gmail.com>
To: Kent Watsen <kent+ietf@watsen.net>
Content-Type: multipart/alternative; boundary="0000000000005e9bce0649116492"
Message-ID-Hash: YXGLCMTGUPUKKFFBIZZQYCZDNIOPBFJZ
X-Message-ID-Hash: YXGLCMTGUPUKKFFBIZZQYCZDNIOPBFJZ
X-MailFrom: tbray@textuality.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-uri-review.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: "Dale R. Worley" <worley@ariadne.com>, Mahesh Jethanandani <mjethanandani@gmail.com>, tom petch <ietfa@btconnect.com>, art@ietf.org, "uri@w3.org" <uri@w3.org>, uri-review@ietf.org, Martin Thomson <mt@lowentropy.net>
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [Uri-review] Re: [art] Re: Alternative representation of URIs in YANG
List-Id: Proposed URI Schemes <uri-review.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/uri-review/KwrC43kcs-O70KD7Ofaq_pqKYAo>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uri-review>
List-Help: <mailto:uri-review-request@ietf.org?subject=help>
List-Owner: <mailto:uri-review-owner@ietf.org>
List-Post: <mailto:uri-review@ietf.org>
List-Subscribe: <mailto:uri-review-join@ietf.org>
List-Unsubscribe: <mailto:uri-review-leave@ietf.org>

 Well, the picture is clear. NETCONF wants to model URIs as data
structures.  There seems to be a widespread opinion in the IETF community
that URIs are strings and that attempts to pretend they’re something else
are unsound.  Not sure how you resolve this one.  -Tim

On Jan 23, 2026 at 6:27:35 AM, Kent Watsen <kent+ietf@watsen.net> wrote:

> Hi Martin,
>
> I'd like to offer option 6.  Use the existing URI syntax from YANG.  It's
> a straight-up string, which is perfect because it avoids this whole mess
> entirely.
>
>
> This is where the draft started, but the NETCONF WG objected due to it not
> having regular types with strong validation.  Hence the transition to a
> structured URI.  Going back to a "string" is not an real option.
>
> Kent
>
>