Re: [yang-doctors] reference in import statement

Mahesh Jethanandani <mjethanandani@gmail.com> Wed, 21 February 2018 02:30 UTC

Return-Path: <mjethanandani@gmail.com>
X-Original-To: yang-doctors@ietfa.amsl.com
Delivered-To: yang-doctors@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 26F46120227 for <yang-doctors@ietfa.amsl.com>; Tue, 20 Feb 2018 18:30:53 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WjVcD3mJ7lQZ for <yang-doctors@ietfa.amsl.com>; Tue, 20 Feb 2018 18:30:51 -0800 (PST)
Received: from mail-pf0-x229.google.com (mail-pf0-x229.google.com [IPv6:2607:f8b0:400e:c00::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 19A6F1204DA for <yang-doctors@ietf.org>; Tue, 20 Feb 2018 18:30:51 -0800 (PST)
Received: by mail-pf0-x229.google.com with SMTP id m5so95450pff.7 for <yang-doctors@ietf.org>; Tue, 20 Feb 2018 18:30:51 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=LbGvsOc/giK+P9RIPS5GIlOV+OF4tv1kYc/rnvEIPqg=; b=U3cbyHYIfAHEm4bnLKEbtdJm5KgLHBMuZ+a6bTpwPVha/V3TPBiAeCZwXJJiYesxjA WtkKKMGz/dVbIKH/WtRsqryWhR4/xZPwRWlqIaoqxf2UtRReZCjfIV+gb5KYEi0mKbIn FYwMec1AIvGj9GfdfrE5dvq5109nbbldE61LRzrZOaij8gtiDkalXzUbXlDq+rUfHCr3 9bd6SOragKMKlOBcLCE2MwrJoDFcPDopG37fWUsOkyD58yJ5gz0HmFFq2Qok7qjpxelu XtLigDVNhQ+eGEHQ+i4mnpJPM0wvEg6O8DWVy2GtJ/4/Awyka5nrbVu4glN74oalZ10i ThNA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=LbGvsOc/giK+P9RIPS5GIlOV+OF4tv1kYc/rnvEIPqg=; b=Udu8w1tNtcCjy1uqwCbcHA5SKAM2wGT4PzqUcInf7VXNOx0/2WsAiNpLfeYUAsiwrM Nb5601pLFz4SLyMFzBMeknF/DK0syCjih41IV/XATABROOgsQYX4m4cw6sSmFUtTNioG XUx5eLT0g88tCcpAhYvh1X5EuZPFE5f+1qYUkSWzC+IOoN3knZ06p501/OYyDFi/kwk+ WZjjuJb5MnS26n1cPl68Gdx+fkP3YK9aKx2za4vs8ZfBtO3MhsQXkNHtK4wnAcb2ANp4 Fkq7gsYF5nfa48dwzNb5s99PcVfq+kBXlNf38RVUIvWO10B14LA85l1e/9SKJANrW56M kpdA==
X-Gm-Message-State: APf1xPAXjJVMBC6QdCyXl8jXnILt1ilTv/dGiidqMar5MtA96VZ0I2in 3EQHMt61wuLPZqPz4Fkbz3Q=
X-Google-Smtp-Source: AH8x224EGK6LO+wBVa+zpLIhmQQgJql6WmJ54cK1EeR74oyaxLKocl6fHEsI6RLrAryFOmn3rpoPlA==
X-Received: by 10.99.112.77 with SMTP id a13mr1371593pgn.253.1519180250158; Tue, 20 Feb 2018 18:30:50 -0800 (PST)
Received: from ?IPv6:2601:647:4700:1280:5d6a:4a9f:42d:2e57? ([2601:647:4700:1280:5d6a:4a9f:42d:2e57]) by smtp.gmail.com with ESMTPSA id m140sm38278220pfd.73.2018.02.20.18.30.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 20 Feb 2018 18:30:49 -0800 (PST)
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 11.2 \(3445.5.20\))
From: Mahesh Jethanandani <mjethanandani@gmail.com>
In-Reply-To: <20180215083130.uagwwr5huxgs5qst@elstar.local>
Date: Tue, 20 Feb 2018 18:36:23 -0800
Cc: yang-doctors@ietf.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <9783C687-6D5B-4FF4-BFB6-3D9FA62DB249@gmail.com>
References: <20180215083130.uagwwr5huxgs5qst@elstar.local>
To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
X-Mailer: Apple Mail (2.3445.5.20)
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/UyiuqFQ7WiUMLksc1H6hpmYgAgc>
Subject: Re: [yang-doctors] reference in import statement
X-BeenThere: yang-doctors@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Email list of the yang-doctors directorate <yang-doctors.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/yang-doctors/>
List-Post: <mailto:yang-doctors@ietf.org>
List-Help: <mailto:yang-doctors-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 21 Feb 2018 02:30:53 -0000

I agree that this is grounds for confusion. 

My preference would be that we NOT have a reference statement for import, or a comment for that matter, unless the module is doing import by revision. The text of the document is already required to have normative references to whatever the module imports.

Cheers.

> On Feb 15, 2018, at 12:31 AM, Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> wrote:
> 
> Hi,
> 
> I have just seen this pattern
> 
>   import ietf-inet-types {
>     prefix "inet";
>     reference "RFC 6991";
>   }
> 
> and I wonder how people understand this. From the way this import
> works, any (newer) version of ietf-inet-types is OK to use to resolve
> the import but I could see that this statement makes people believe
> they have to use the version of ietf-inet-types contained in RFC 6991
> (but then this should have been import by revision). I know that we
> had a common practice to have comments before this was possible, like
> 
>   import ietf-inet-types {             // RFC 6991
>     prefix "inet";
>   }
> 
> but then this was a comment, now the RFC numbers becomes part of the
> definition. Should we be concerned about this? Or should we suggest
> to be more clear about this, e.g.:
> 
>   import ietf-inet-types {
>     prefix "inet";
>     reference "RFC 6991 (at the time of this writing)";
>   }
> 
> /js
> 
> -- 
> Juergen Schoenwaelder           Jacobs University Bremen gGmbH
> Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
> Fax:   +49 421 200 3103         <https://www.jacobs-university.de/>
> 
> _______________________________________________
> yang-doctors mailing list
> yang-doctors@ietf.org
> https://www.ietf.org/mailman/listinfo/yang-doctors

Mahesh Jethanandani
mjethanandani@gmail.com