Re: [netmod] Query about usage of local-name() in YANG XPATH expressions

2016-03-28 Thread Andy Bierman
etf.org > *Subject:* Re: [netmod] Query about usage of local-name() in YANG XPATH > expressions > > > > Hi, > > > > This was raised as a concern by Lada (see netmod WG email arourd July 2014) > > > > The issue is that the expression breaks module co

Re: [netmod] Query about usage of local-name() in YANG XPATH expressions

2016-03-28 Thread William Ivory
: William Ivory Cc: netmod@ietf.org Subject: Re: [netmod] Query about usage of local-name() in YANG XPATH expressions Hi, This was raised as a concern by Lada (see netmod WG email arourd July 2014) The issue is that the expression breaks module containment and will match depending on what other

Re: [netmod] Query about usage of local-name() in YANG XPATH expressions

2016-03-28 Thread Andy Bierman
Hi, This was raised as a concern by Lada (see netmod WG email arourd July 2014) The issue is that the expression breaks module containment and will match depending on what other YANG modules are known to the YANG compiler. Andy On Sat, Mar 26, 2016 at 3:08 AM, William Ivory wrote: > Hi, >

[netmod] Query about usage of local-name() in YANG XPATH expressions

2016-03-26 Thread William Ivory
Hi, >From RFC 6087 (YANG Usage Guidelines), section 5.6.2, the following is noted >about the use of the XPATH local-name() function: The 'local-name' function SHOULD NOT be used to reference local names outside of the YANG module defining the must or when expression containing the 'loca