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

2020-07-18 Thread Andy Bierman
On Sat, Jul 18, 2020 at 8:42 AM Vladimir Vassilev <
vladi...@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.


> > /js
> >
>

Andy


>
> ___
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod
>
___
netmod mailing list
netmod@ietf.org
https://www.ietf.org/mailman/listinfo/netmod


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

2020-07-18 Thread Vladimir Vassilev

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.




/js



___
netmod mailing list
netmod@ietf.org
https://www.ietf.org/mailman/listinfo/netmod