Re: [netmod] YANG 1.0 module uses a grouping from a 1.1 module and the grouping contains 1.1 XPath functions?

Robert Varga <nite@hq.sk> Wed, 30 October 2019 14:39 UTC

Return-Path: <nite@hq.sk>
X-Original-To: netmod@ietfa.amsl.com
Delivered-To: netmod@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 443E4120108 for <netmod@ietfa.amsl.com>; Wed, 30 Oct 2019 07:39:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.098
X-Spam-Level:
X-Spam-Status: No, score=-0.098 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=hq.sk
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 s7IDfQgHSJIK for <netmod@ietfa.amsl.com>; Wed, 30 Oct 2019 07:39:53 -0700 (PDT)
Received: from mail.hq.sk (hq.sk [81.89.59.181]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 074B4120077 for <netmod@ietf.org>; Wed, 30 Oct 2019 07:39:53 -0700 (PDT)
Received: from nitebug.nitenet.local (46.229.239.158.host.vnet.sk [46.229.239.158]) by mail.hq.sk (Postfix) with ESMTPSA id 206702421AC; Wed, 30 Oct 2019 15:39:50 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=hq.sk; s=mail; t=1572446390; bh=9aeu1Bt27+Kygh3s3M31XEIWwcxdhqira5gVb2I/9gQ=; h=Subject:To:References:From:Date:In-Reply-To; b=SLZLhWhY2lsxmhn29z3Y/WG7taFP8eTEBoNaH5z9pgHgbRCocJQC6XxFK3jf2np/V TnNb2+3tqokCC/PjPGXfl+suoE4r91mO5Qc+r9biYhaSTu737zWSz93NGxT1eo0eII ryfrEYctIIvCMaWRWVhmMN2vegNl+tgScPKjlllY=
To: Jernej Tuljak <jernej.tuljak@mg-soft.si>, NETMOD Working Group <netmod@ietf.org>
References: <d988e178-4755-61ef-dfcc-87ba432da363@mg-soft.si>
From: Robert Varga <nite@hq.sk>
Message-ID: <8585f8f5-39a0-ae47-a024-63afd14b3a1b@hq.sk>
Date: Wed, 30 Oct 2019 15:39:42 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.1.1
MIME-Version: 1.0
In-Reply-To: <d988e178-4755-61ef-dfcc-87ba432da363@mg-soft.si>
Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="cTuWTxCL2aOvjMh0ilY9lUovTwmANp8f0"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/b8CQ4fGOoOqhK8i6GiCrBDHgaZw>
Subject: Re: [netmod] YANG 1.0 module uses a grouping from a 1.1 module and the grouping contains 1.1 XPath functions?
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netmod/>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 30 Oct 2019 14:39:55 -0000

On 10/10/2019 10:36, Jernej Tuljak wrote:
> Is this correct? Or are XPath functions expected to be resolved
> statically, like types?

My understanding of https://tools.ietf.org/html/rfc7950#section-6.4.1 is
that functions are bound the same way namespace prefixes are bound, i.e.
"in the module where the XPath expression is specified".

Regards,
Robert