[art] Re: [Uri-review] 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: 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 0F41BAC15A3F for <art@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=ham 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 p66CA72bvEpu for <art@mail2.ietf.org>; Fri, 23 Jan 2026 09:21:48 -0800 (PST)
Received: from mail-ed1-x52f.google.com (mail-ed1-x52f.google.com [IPv6:2a00:1450:4864:20::52f]) (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 7CCDBAC15A18 for <art@ietf.org>; Fri, 23 Jan 2026 09:21:48 -0800 (PST)
Received: by mail-ed1-x52f.google.com with SMTP id 4fb4d7f45d1cf-65815ec51d3so4687797a12.2 for <art@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=MlgyVNlRQLpd4xti+IS9JSGPAr2gGpWH+2RgXosv1j9Edc4TNCKC7Co7udEDtNy0I3 Q4Avkcpy/WTRNCXObIuSgg2sNE4Yv9ehFC2Pqa3ihuQh1hDXYHeZHkAuY/BiberIjnz3 nLwNyToIYUfmcy9x3ivjLrvYOYJZbQXN9p5P0t3ADUMBuF0cqTQS8gtU7VgWldGL8Xms VceDjzJhdl+UlagJ9BwGQ0cw61VzjolMbWg6ukRbtsLHFIPlRwTUkQ+u9qzW+YMXdTcf 0esrFo3VqJcd+7P97nWsWwrjcfMnhFBA6iCB/L3MFnSqyLMgeZ0Lw8Opt3Qi0+74mnqw g0Zg==
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=u3mZUwsPXuWs46oUrgSmlk3DZ0kEUHV/aXYID54Cvn8=; b=IGh5v3+Khap1xyEVGNBsfIxGxqdaQ3kkA5ZA4fOEl2T70LlhKyG6hQNLX1k2jIpZ0X BHikaVrAEqfO/l6M5EgraZha22iDZyruXgWyDO9HX5yDWSLl280xFAdIwEWVeAvjJKeV eubXA1LKPtbbelsBB0Jga9AQxdCnSQbxA+NQ0+c/GfdKMeLwlj5ISS6jGhgIXGowt2ZD 9goyF89+NciEtjS/p2n05TwfW15cooLgsi6H/XS3/+00GFN1qerqD9GbHoGAarJWrUqo tCM8/jeDS9YJyksTGfcno+yhUqWcC4xB2f7KAaT9YSeq5efyatmndlCEvQAjiPN9FYk4 FySA==; 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=kW3TWlEtVgFaddtus188JjyX7F8h3DrZOrAztU85+9c4RZpITZZIQjOfcvXQt7Lmua qthr3kNxyIhWOt8ewEwCqUJKZfPsMyAcqWNmt66VLa9tQd2XTI2v0i0g7EZRIOGD435W p3Ue0JqzaLOxvL5LC9VkVGh45/YoqoIzNZ7ZLJ69bibTcgVIZEmBSp7ATe/Pzln8M0np iSDKggIycB5f/Pl7DK8V1hUOEz9QxxxR9cZ6ZrSOuPHbovYnoSHAoXdbee6lwJKojyp0 qM2Y3/9qVb8QzkYDf2z9PHSHnNEmkAHbHOQ7wgiGrqwQnrlEKjXuVgBogy3Rz/7Z5FGy Iw/Q==
X-Forwarded-Encrypted: i=1; AJvYcCWmRSlYNrAtMsM1aBvTOusiJPakEjLYIE15hkI3pG67eqfJIHOy5ifYWEHUeFsC+b3KUAg=@ietf.org
X-Gm-Message-State: AOJu0YxUnSNdGlUEzXUvG8aMfhlBAIIP4E62gx7oPGlnN4Y7V5ho0Wsp e/oSkD4VhC09ln7NNF4Snp1DbmgLRv7lwXSakN8+xOanv0RX0C+t1QnweesGJvuFLI56vegx3AT uAJSBG/+VzE8RNIR8fkZeOF1brga4JKfdm+TqF5bUOQ==
X-Gm-Gg: AZuq6aKqX2SBRFN1IgVnlH6CiTFidQzO+/TQjBIlcPr5F8Cv649H9wi6V6cHoS/pI4b ooUUE+v9rwXt9J4hs8zLm8xY8Yj9QKS+u8cqDxPf+ZmUJ0v2x6HrGqbH7XpJYglAU6f/qO9ertY bnYBmRZagjQpVeDWAJGll4aZtOLn7j7od0QrrYm7UNPeRNl7VPbqNymdRxVAFNtbONwJg1brvqV 4m+4YCDYPNcTfUl2E7VpN3A9MvqFKq/2rjpizK8VYQp0AGCFREuOTNE3Bv4z4MZxkl2wy9RUC62 BlpEYYIyxM1mpGGUG2cZ6SMgKq2E
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-art.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: [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/qbkHct31sDrEEQ2rHUNYPjbHNAI>
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>

 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
>
>