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

Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> Fri, 24 July 2020 09:40 UTC

Return-Path: <j.schoenwaelder@jacobs-university.de>
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 101353A0DC3 for <netmod@ietfa.amsl.com>; Fri, 24 Jul 2020 02:40:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-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 7r0DBn9fuhn0 for <netmod@ietfa.amsl.com>; Fri, 24 Jul 2020 02:40:27 -0700 (PDT)
Received: from atlas5.jacobs-university.de (atlas5.jacobs-university.de [212.201.44.20]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CB9AD3A0DC2 for <netmod@ietf.org>; Fri, 24 Jul 2020 02:40:26 -0700 (PDT)
Received: from localhost (demetrius5.irc-it.jacobs-university.de [10.70.0.222]) by atlas5.jacobs-university.de (Postfix) with ESMTP id 15AEA6AB; Fri, 24 Jul 2020 11:40:25 +0200 (CEST)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from atlas5.jacobs-university.de ([10.70.0.198]) by localhost (demetrius5.jacobs-university.de [10.70.0.222]) (amavisd-new, port 10032) with ESMTP id ocaibyW0lhq3; Fri, 24 Jul 2020 11:40:24 +0200 (CEST)
Received: from hermes.jacobs-university.de (hermes.jacobs-university.de [212.201.44.23]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hermes.jacobs-university.de", Issuer "DFN-Verein Global Issuing CA" (verified OK)) by atlas5.jacobs-university.de (Postfix) with ESMTPS; Fri, 24 Jul 2020 11:40:24 +0200 (CEST)
Received: from localhost (demetrius5.irc-it.jacobs-university.de [10.70.0.222]) by hermes.jacobs-university.de (Postfix) with ESMTP id 9F44020154; Fri, 24 Jul 2020 11:40:24 +0200 (CEST)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius5.jacobs-university.de [10.70.0.222]) (amavisd-new, port 10028) with ESMTP id ZmIelsmT-pGl; Fri, 24 Jul 2020 11:40:24 +0200 (CEST)
Received: from localhost (anna.jacobs.jacobs-university.de [10.50.218.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by hermes.jacobs-university.de (Postfix) with ESMTPS id 10EC8200E4; Fri, 24 Jul 2020 11:40:24 +0200 (CEST)
Date: Fri, 24 Jul 2020 11:40:23 +0200
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Andy Bierman <andy@yumaworks.com>
Cc: Vladimir Vassilev <vladimir@lightside-instruments.com>, "netmod@ietf.org" <netmod@ietf.org>
Message-ID: <20200724094023.u5gqt6fnfjjtjktm@anna.jacobs.jacobs-university.de>
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
Mail-Followup-To: Andy Bierman <andy@yumaworks.com>, Vladimir Vassilev <vladimir@lightside-instruments.com>, "netmod@ietf.org" <netmod@ietf.org>
References: <2751efb1-d276-8c49-4697-87de2bb379e8@lightside-instruments.com> <86a37242-a85d-f4a6-1db6-c79d861f76fb@lightside-instruments.com> <CABCOCHQ-=-2yb2iA6sRMir6MvvQfGzyb4Nx3MFFYof6By4jKLg@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CABCOCHQ-=-2yb2iA6sRMir6MvvQfGzyb4Nx3MFFYof6By4jKLg@mail.gmail.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/-PQnHFRmhFmV4zzm5f5FhISvuMA>
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: Fri, 24 Jul 2020 09:40:29 -0000

On Sat, Jul 18, 2020 at 09:00:42AM -0700, Andy Bierman wrote:
> On Sat, Jul 18, 2020 at 8:42 AM Vladimir Vassilev <
> vladimir@lightside-instruments.com> wrote:
> 
> > On 17/07/2020 21.14, Juergen Schoenwaelder wrote:
> >
> > > - 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.
> > >
> > > - This interacts with the definition of node-instance-identifier.
> > >
> > > - 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.
> > >
> > > - Proposal: ?
> >
> >
> > How about leaving the xpath1.0 type definition as it is and specifying a
> > canonical form for the node-instance-identifier where namespace prefixes
> > must be module names.
> >
> >
> Since (i) is the only BC option why is (ii) even being considered?
> Of course a new type name is needed to change the XPath syntax
> to something that is not backward-compatible.
>

The idea was not to propose something non-backwards compatible but to
try to explain how xpath1.0 values work with non-XML encodings. But
perhaps this is 'unexplainable' in the sense that people deal with
this in different ways.

/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/>