Hi all,
I'm pretty sure that this xpath (e.g. in a must statement) isn't correct:
(A) ../container-a/list-b[name=*]/some-leaf
and should just be this instead:
(B) ../container-a/list-b/some-leaf
Or is the * an allowable wildcard for a key value in a predicate ?
I also had a question about whether the following "must" correctly checks that
at least one entry exists in a-list.
container c1 {
leaf foo {
must "a-list";
type uint16;
}
list a-list {
key "entry";
leaf entry {
type uint16;
}
leaf another-entry {
type uint32;
}
}
}
I think I could also replace that must with the following:
must "count(a-list) > 1";
but does must "a-list"; achieve the same thing ?
Rgds,
Jason
_______________________________________________
netmod mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/netmod