Ladislav Lhotka <[email protected]> wrote: > Hi, > > if we have > > augment "/target/node" { > when "..."; > ... > } > > is the "when" expression supposed to be evaluated separately in each > datastore, > and the augment applied only in those datastores where the result is true?
Yes. > RFC 7950 says in sec. 7.21.5 that the context node for XPath evaluation is > "the > augment's target node in the data tree", but with NMDA we have multiple data > trees, hence multiple target nodes. We had multiple datastores even before NMDA. The when expression could be true in candidate but false in running. /martin _______________________________________________ netmod mailing list [email protected] https://www.ietf.org/mailman/listinfo/netmod
