Hi,

"Ivory, William" <william.iv...@intl.att.com> wrote:
> Hi,
> 
> I've got a must statement that causes a compilation error on a Cisco NCS 
> device (admittedly ancient (NCS version 3.4.4), but can't update it), as 
> follows:
> 
> must "(../../packets * current()) <= (../../interval * 1000)";
> 
> Error is 'error: XPath syntax error: 40: unknown operator current'
> 
> However, our internal XPATH compiler thinks this is valid, and if I change 
> the order in the must statement to the following, the NCS is happy:
> 
> must "(current() * ../../packets) <= (../../interval * 1000)";
> 
> Can anyone confirm if there is a genuine error in the original must
> statement, or is it valid XPATH? 

The XPath expression is legal.


/martin

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

Reply via email to