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

Jernej Tuljak <jernej.tuljak@mg-soft.si> Wed, 30 October 2019 15:38 UTC

Return-Path: <jernej.tuljak@mg-soft.si>
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 AFB2B12002F for <netmod@ietfa.amsl.com>; Wed, 30 Oct 2019 08:38:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=mg-soft.si
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 4dpq4ONZI9nS for <netmod@ietfa.amsl.com>; Wed, 30 Oct 2019 08:38:31 -0700 (PDT)
Received: from galileo.mg-soft.si (gate.mg-soft.si [212.30.73.66]) by ietfa.amsl.com (Postfix) with ESMTP id 3DEA9120AE1 for <netmod@ietf.org>; Wed, 30 Oct 2019 08:38:30 -0700 (PDT)
Received: from [10.0.0.222] (tp-x61t.mg-soft.si [10.0.0.222]) by galileo.mg-soft.si (Postfix) with ESMTP id 0FB2AC41D7FA; Wed, 30 Oct 2019 16:38:29 +0100 (CET)
DKIM-Filter: OpenDKIM Filter v2.10.3 galileo.mg-soft.si 0FB2AC41D7FA
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mg-soft.si; s=default; t=1572449909; bh=fb6DZ9CiX9dYTmEYONfAWnicv9uK8lMHrFl9Axj8oHU=; h=Subject:To:References:From:Date:In-Reply-To:From; b=pX5XlK20QvGyNCU15nMMSAgFJe59yyoz8PKGUTMTacEE//ft1pKj/n9eytICZe/J5 tvLj+Omv8m4U68MlPY96wpgguFoZ6vzxTkw4FTy8Sa9mTCnuoQs5bmWKFJvmjyqQam FdwtVAIK2HtvC8h2AMqW85LDAVwLosdQlO2PhuW5WWqs2P8vLa7Rqx/i3agzzTV2Uw gg1ySvcnCLo/+tE4+qc0uJh3/bnH36uucAmJp5YsIKA89juHx9T4kb+2JVYegittut ID4bggG5Rxspn9DcEeshUSt/BKdy410o5bPt3DQCnfZhe75xKlMG4MqdlM0A6ZFf2q mjt3+KMRr4fVQ==
To: Robert Varga <nite@hq.sk>, NETMOD Working Group <netmod@ietf.org>
References: <d988e178-4755-61ef-dfcc-87ba432da363@mg-soft.si> <8585f8f5-39a0-ae47-a024-63afd14b3a1b@hq.sk>
From: Jernej Tuljak <jernej.tuljak@mg-soft.si>
Message-ID: <f384985f-0668-6b78-ab4a-e63ea116bb4f@mg-soft.si>
Date: Wed, 30 Oct 2019 16:38:28 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0
MIME-Version: 1.0
In-Reply-To: <8585f8f5-39a0-ae47-a024-63afd14b3a1b@hq.sk>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 7bit
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/NWIN3EytQo3gspJnMz3gG9koTfc>
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 15:38:37 -0000

On 30/10/2019 15:39, Robert Varga wrote:
> 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".

We ended up adopting this interpretation.

Jernej

>
> Regards,
> Robert
>