Code Review
/
yangtools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Use modifiable List when resolving relative xpath
[yangtools.git]
/
yang
/
yang-model-util-ut
/
src
/
test
/
resources
/
leafrefs.yang
diff --git
a/yang/yang-model-util-ut/src/test/resources/leafrefs.yang
b/yang/yang-model-util-ut/src/test/resources/leafrefs.yang
index c923c589a86dc521a2bd2a2948763ea92c8f2b4e..925af6b3aad69f4478a8b913c391c28bc347414f 100644
(file)
--- a/
yang/yang-model-util-ut/src/test/resources/leafrefs.yang
+++ b/
yang/yang-model-util-ut/src/test/resources/leafrefs.yang
@@
-29,6
+29,12
@@
module leafrefs {
}
}
+ leaf indirect-with-current {
+ type leafref {
+ path "../../../n[n-id=current()/../node]/tp/tp-id";
+ }
+ }
+
leaf absolute {
type leafref {
// direct path to an instantiation