Re: [netmod] rfc6991bis: yang:xpath1.0

Ladislav Lhotka <ladislav.lhotka@nic.cz> Mon, 20 July 2020 09:43 UTC

Return-Path: <ladislav.lhotka@nic.cz>
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 467993A07C2 for <netmod@ietfa.amsl.com>; Mon, 20 Jul 2020 02:43:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level:
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 BeBm5kq9MkjY for <netmod@ietfa.amsl.com>; Mon, 20 Jul 2020 02:43:29 -0700 (PDT)
Received: from trail.lhotka.name (trail.lhotka.name [77.48.224.143]) by ietfa.amsl.com (Postfix) with ESMTP id 145063A07BF for <netmod@ietf.org>; Mon, 20 Jul 2020 02:43:27 -0700 (PDT)
Received: by trail.lhotka.name (Postfix, from userid 109) id 04AF98600C7; Mon, 20 Jul 2020 11:35:22 +0200 (CEST)
Received: from localhost (nat-1.nic.cz [217.31.205.1]) by trail.lhotka.name (Postfix) with ESMTPSA id 2F40586005D; Mon, 20 Jul 2020 11:35:21 +0200 (CEST)
From: Ladislav Lhotka <ladislav.lhotka@nic.cz>
To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>, netmod@ietf.org
In-Reply-To: <20200717191411.ou3sdvm2kynkcxc2@anna.jacobs.jacobs-university.de>
References: <20200717191411.ou3sdvm2kynkcxc2@anna.jacobs.jacobs-university.de>
Mail-Followup-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>, netmod@ietf.org
Date: Mon, 20 Jul 2020 11:43:25 +0200
Message-ID: <87a6zuzflu.fsf@nic.cz>
MIME-Version: 1.0
Content-Type: text/plain
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/kgexe9yjegjuq42_4DX9P0StB2Q>
Subject: Re: [netmod] rfc6991bis: yang:xpath1.0
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: Mon, 20 Jul 2020 09:43:31 -0000

Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> writes:

>   - How do we deal with xpath expressions in other encodings
>     such as JSON. Do we assume an xpath context populated with
>     module names such that module names can be used to qualify
>     path expressions. This may need discussion and/or a new
>     definition.

XPath context is not only namespaces and prefixes. For example, are the extra functions from RFC 7950 permitted or not?

>
>   - This interacts with the definition of node-instance-identifier.

I think it is necessary to first redefine the lexical representation of instance-identifier in YANG.

>
>   - Options: (i) Leave this definition as it is. (ii) Detail how this
>     type work with encodings that use module names instead of prefixes
>     to qualify names.

I vote for (i), as long as a general solution is probably impossible.

Lada

>
>   - Proposal: ?
>
> /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/>
>
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod

-- 
Ladislav Lhotka 
Head, CZ.NIC Labs
PGP Key ID: 0xB8F92B08A9F76C67