Re: [netmod] Ben Campbell's No Objection on draft-ietf-netmod-schema-mount-11: (with COMMENT)

2018-10-12 Thread Ben Campbell
> On Oct 11, 2018, at 3:23 AM, Martin Bjorklund wrote: > > Hi, > > Ben Campbell mailto:b...@nostrum.com>> wrote: >> Ben Campbell has entered the following ballot position for >> draft-ietf-netmod-schema-mount-11: No Objection >> >> When responding, please keep the subject line intact and

Re: [netmod] WHEN statement within mandatory objects doesn't ensure presence of the mandatory object

2018-10-12 Thread Michael Rehder
I provided an example. Requiring something to be present when a condition is to me a useful capability. How else would you enforce in an optimal way that something is present under only certain conditions (define it on the controlled section, not use a zillion if-feature)? Thanks Mike From:

Re: [netmod] xpath expressions in JSON

2018-10-12 Thread Reshad Rahman (rrahman)
On 2018-10-12, 4:37 AM, "netmod on behalf of Martin Bjorklund" wrote: Robert Wilton wrote: > > > On 11/10/2018 17:11, Martin Bjorklund wrote: > > Robert Wilton wrote: > >> > >> On 11/10/2018 11:50, Martin Bjorklund wrote: > >>> Robert Wilton wrote: >

Re: [netmod] WHEN statement within mandatory objects doesn't ensure presence of the mandatory object

2018-10-12 Thread Robert Wilton
On 12/10/2018 17:08, Michael Rehder wrote: The mandatory statement in that case is ignored (I’ve pointed out the RNG and Schematron lack of enforcement). OK, I'm not familiar with RNG and Schematron. WHEN trumps the mandatory status (via explicit mandatory or implicit mandatory via

Re: [netmod] WHEN statement within mandatory objects doesn't ensure presence of the mandatory object

2018-10-12 Thread Andy Bierman
On Fri, Oct 12, 2018 at 9:08 AM, Michael Rehder wrote: > The mandatory statement in that case is ignored (I’ve pointed out the RNG > and Schematron lack of enforcement). > > WHEN trumps the mandatory status (via explicit mandatory or implicit > mandatory via min-elements 1) > > >

Re: [netmod] xpath expressions in JSON

2018-10-12 Thread Andy Bierman
On Fri, Oct 12, 2018 at 3:22 AM, Robert Wilton wrote: > Hi Andy, > On 11/10/2018 17:52, Andy Bierman wrote: > > > > On Thu, Oct 11, 2018 at 9:45 AM, Robert Wilton wrote: > >> >> >> >>> >>> Finally, I'm trying to figure out have RFC 8040 query parameter (sect 4.8.4), which also uses

Re: [netmod] WHEN statement within mandatory objects doesn't ensure presence of the mandatory object

2018-10-12 Thread Michael Rehder
The mandatory statement in that case is ignored (I’ve pointed out the RNG and Schematron lack of enforcement). WHEN trumps the mandatory status (via explicit mandatory or implicit mandatory via min-elements 1) Thanks Mike From: Robert Wilton [mailto:rwil...@cisco.com] Sent: Friday, October 12,

Re: [netmod] WHEN statement within mandatory objects doesn't ensure presence of the mandatory object

2018-10-12 Thread Robert Wilton
Hi Mike, On 11/10/2018 19:05, Andy Bierman wrote: On Thu, Oct 11, 2018 at 11:00 AM, Michael Rehder mailto:michael.reh...@amdocs.com>> wrote: I think the wording is relevant - something can be conditional but still required. Yes, but I think that this is already expressed by a

Re: [netmod] Whitespace in XML encoding - allowed ?

2018-10-12 Thread Balázs Lengyel
Hello, Thanks for all the replies. So preceding and following whitespace is not allowed. However as I got similar questions often, and some RFC examples seem to indicate that it is allowed, I feel that an explanatory statement like the following would help

Re: [netmod] WHEN statement within mandatory objects doesn't ensure presence of the mandatory object

2018-10-12 Thread Michael Rehder
It depends what’s meant by “Conditional”. I think the term is distinct from “Optional”. I don’t think the implementation can be changed (unless you meant that I change my own local implementation). That’s why I think there should be a YANG language addition to control this behavior, since

Re: [netmod] xpath expressions in JSON

2018-10-12 Thread Robert Wilton
Hi Andy, On 11/10/2018 17:52, Andy Bierman wrote: On Thu, Oct 11, 2018 at 9:45 AM, Robert Wilton > wrote: Finally, I'm trying to figure out have RFC 8040 query parameter (sect 4.8.4), which also uses XPath expressions

Re: [netmod] xpath expressions in JSON

2018-10-12 Thread Robert Wilton
On 12/10/2018 09:37, Martin Bjorklund wrote: Robert Wilton wrote: On 11/10/2018 17:11, Martin Bjorklund wrote: Robert Wilton wrote: On 11/10/2018 11:50, Martin Bjorklund wrote: Robert Wilton wrote: On 11/10/2018 11:21, Martin Bjorklund wrote: Andy Bierman wrote: On Wed, Oct 10,

Re: [netmod] xpath expressions in JSON

2018-10-12 Thread Martin Bjorklund
Robert Wilton wrote: > > > On 11/10/2018 17:11, Martin Bjorklund wrote: > > Robert Wilton wrote: > >> > >> On 11/10/2018 11:50, Martin Bjorklund wrote: > >>> Robert Wilton wrote: > On 11/10/2018 11:21, Martin Bjorklund wrote: > > Andy Bierman wrote: > >> On Wed, Oct 10, 2018 at