Re: [Asdf] shepherd comments on draft-ietf-asdf-sdf-16.txt

Michael Richardson <mcr+ietf@sandelman.ca> Mon, 16 October 2023 20:42 UTC

Return-Path: <mcr+ietf@sandelman.ca>
X-Original-To: asdf@ietfa.amsl.com
Delivered-To: asdf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3DCA4C14CF0D for <asdf@ietfa.amsl.com>; Mon, 16 Oct 2023 13:42:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.107
X-Spam-Level:
X-Spam-Status: No, score=-7.107 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_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, 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 (2048-bit key) header.d=sandelman.ca
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 d3uCVJhftFda for <asdf@ietfa.amsl.com>; Mon, 16 Oct 2023 13:42:55 -0700 (PDT)
Received: from tuna.sandelman.ca (tuna.sandelman.ca [IPv6:2607:f0b0:f:3:216:3eff:fe7c:d1f3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 050CCC14F5E0 for <asdf@ietf.org>; Mon, 16 Oct 2023 13:42:54 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by tuna.sandelman.ca (Postfix) with ESMTP id 94BB41800E; Mon, 16 Oct 2023 16:42:52 -0400 (EDT)
Received: from tuna.sandelman.ca ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 69J58eXwaZkN; Mon, 16 Oct 2023 16:42:50 -0400 (EDT)
Received: from sandelman.ca (obiwan.sandelman.ca [IPv6:2607:f0b0:f:2::247]) by tuna.sandelman.ca (Postfix) with ESMTP id A49311800C; Mon, 16 Oct 2023 16:42:50 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sandelman.ca; s=mail; t=1697488970; bh=8okrTA9/i9edkXbso1tNIRsnxufysBLbGxqep0Wx3M4=; h=From:To:Subject:In-Reply-To:References:Date:From; b=Kr3lwBvyb70Lh4nx84xT+2cRNAakByaEPEfYywRbAaEwQWUYZiFFi65ojsalwOzfY wR3wPtbB+fXBBldi0wv1Eq1QsBK97S2G/yADNFV4rbNGDFdT68Zh68nPWaUTFtdhkc xl90IyYNjWb5n69f0/KIj1YHfXKKqU+ZIDRIbpISA2RMC/haosUKwIAvTGtPHFUFFI lLMxUumSfTa7fao4r3miEh2ZDcX+CpSdSfFmdRgrOtF7Ps4Wjb7UkHX3z8XClpzqpE XolUHVKI/OuGumw2v0jFlKrGek7j+1fiCkjDpoDVb+owRHLRv8GEibQhoaYFnqT8On VJSyLEzmEsFmA==
Received: from localhost (localhost [IPv6:::1]) by sandelman.ca (Postfix) with ESMTP id 9D7605A6; Mon, 16 Oct 2023 16:42:50 -0400 (EDT)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: Carsten Bormann <cabo@tzi.org>, asdf@ietf.org
In-Reply-To: <CFE0FBFE-7BB8-4D10-A2B2-F9447138C46C@tzi.org>
References: <169622266506.58432.16744474713900421263@ietfa.amsl.com> <9674.1697156774@localhost> <CFE0FBFE-7BB8-4D10-A2B2-F9447138C46C@tzi.org>
X-Mailer: MH-E 8.6+git; nmh 1.7+dev; GNU Emacs 27.1
X-Face: $\n1pF)h^`}$H>Hk{L"x@)JS7<%Az}5RyS@k9X%29-lHB$Ti.V>2bi.~ehC0; <'$9xN5Ub# z!G,p`nR&p7Fz@^UXIn156S8.~^@MJ*mMsD7=QFeq%AL4m<nPbLgmtKK-5dC@#:k
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-="; micalg="pgp-sha512"; protocol="application/pgp-signature"
Date: Mon, 16 Oct 2023 16:42:50 -0400
Message-ID: <19818.1697488970@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/asdf/C3Sx53MAOsbO0xnspFdNL1pYUJw>
Subject: Re: [Asdf] shepherd comments on draft-ietf-asdf-sdf-16.txt
X-BeenThere: asdf@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: "A Semantic Description Format \(SDF\) for Things and their Interactions and Data" <asdf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/asdf>, <mailto:asdf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/asdf/>
List-Post: <mailto:asdf@ietf.org>
List-Help: <mailto:asdf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/asdf>, <mailto:asdf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 16 Oct 2023 20:42:59 -0000

Carsten Bormann <cabo@tzi.org> wrote:
    >> 1) I think we need some text in the Introduction explaining "SDF 1.0" and
    >> "SDF 1.1".
    >>
    >> I suggest: "During the development of SDF, version numbers were included, but
    >> with the publication of this base SDF and the associated extension process,
    >> they are no longer relevant. "

    > All references to SDF development draft version numbers were removed in
    > 0becec2, which was part of PR #130, which was incorporated to -16.  Is
    > this comment part of an earlier review?

No, I'm saying that I think that we need to explain to reviewers that might
have seen the version info, that we did away with it.

    >> 2) I found the terminology rather abruptly started talking about JSON and
    >> maps and the like, and since I've intentionally not read much for six
    >> months, I had no basis on which to understand this.  I think the
    >> Introduction might need to diagram how SDF is encoded before we can start
    >> talking about Quality, etc.
    >>
    >> For instance:
    >> (Note that JSON maps are often called JSON objects due to JSON's
    >> JavaScript heritage; in this document, the term Object, short for
    >> sdfObject, is specifically reserved for the above grouping, even
    >> if the type name "object" is imported from a data definition
    >> language with the other semantics.)
    >>
    >> seems really out of place in the Terminology.
    >> Maybe alphabetical terminology is wrong, and top-down would be better.

    > The terminology isn’t alphabetical (but it is not exactly top-down
    > either — the intent was to have a good sequence for reading).

Yeah, I prefer a good sequence for reading to be smarter, but then reviewers
always get upset.

    > Maybe we should pull forward SDF Document and SDF Model.

I think so.

    >> 3) Figure 2 has the sdf* in some arrangement, but I am not sure if there is some
    >> logic to it.  I guess the double line at the bottom is a UML thing?
    >> Ah. The SVG version is significantly different, having arrows and the like.
    >> I think that the ASCII version may be sufficiently content-free as to be omitted.

    > Interesting.  (I hadn’t looked at the plaintext version for a while.)
    > These diagrams are generated by plantuml, and maybe there has been a
    > version update that needs some tweaks...

If we can't fix it, then we might just omit the diagram from the ascii, as I
don't think it actually contributes much without all the arrows.

    >> "Base SDF does not address internationalization of given names."
    >> okay. And we don't permit UTF-8 either.  Should we permit UTF-8, but then
    >> restrict use to ASCII, so that tools will know to expect UTF-8?

    > (SDF’s strings, in interchange, are represented as UTF-8.
    > Given names are strings, but then limited to ASCII digits, ASCII
    > letters, and $.  So I think we already have what you are suggesting?)

Yeah, I think that I'm saying that tooling should expect to process UTF-8,
even if the tool should then reject things that aren't digits/letters/$.
Probably this is true (a no-op) for JSON libraries in ruby, python,
rust... but C-libraries might be surprised.

    >> 4) section 4.1:
    >>
    >> Global names look exactly like https:// URIs with attached fragment
    >> identifiers.
    >>
    >> There is no intention to require that these URIs can be dereferenced.
    >>
    >> I feel that some maybe IESG will get upset about this.
    >> Well, maybe just ART ADs, and they will get first kick at the can anyway.

    > That’s why we have draft-bormann-t2trg-deref-id :-)
    > But seriously, considerations for dereferenceable identifiers are
    > collected in that document, and here we shouldn’t second-guess this.

that's fine with me then; I'm just concerned about ratholes from ART reviews from HTTP types.

    >> "this specification" under enum... does that refer to SDF 1.0, or to JSO?.

    > the SDF specification (actually even in 1.1, but we are not getting
    > specific about pre-base SDF versions any more).

Okay, I didn't mean to write "1.0"  (or 1.1) here, but was confused about SDF
for JSO when I read those sections.

    >> 8) I think that we'll need some covering text to explain how we are using
    >> JSO, and yet not really depending upon it.  Is our "version" of JSO7 unique?
    >> My impression is that we are using a subset of it, but then we add stuff like
    >> "const".... I'm worried we'll get into proceedural snags here (again).  It's not
    >> our intention to standardize JSO within the IETF, and yet... those appendixes
    >> are there looking like they want to be normative.
    >> Can I implement without reading JSO?

    > The appendices are normative.  JSO is just mentioned as the inspiration...

So if one can implement without reading the JSOx documents, then I fear that
our normative appendices have just become the RFC reference for JSO, and
might get reviewed as such.

--
]               Never tell me the odds!                 | ipv6 mesh networks [
]   Michael Richardson, Sandelman Software Works        |    IoT architect   [
]     mcr@sandelman.ca  http://www.sandelman.ca/        |   ruby on rails    [





--
Michael Richardson <mcr+IETF@sandelman.ca>   . o O ( IPv6 IøT consulting )
           Sandelman Software Works Inc, Ottawa and Worldwide