Fix path namespace resolution
[mdsal.git] / binding / mdsal-binding-generator-impl / src / test / resources / test-type-provider.yang
index e4b47628e349ad01c45f4eb3ab555c26f11c8bf4..ab4418c8bed2b5f26e83564281a16f7ca229de34 100644 (file)
@@ -270,7 +270,7 @@ module test-type-provider {
 
         leaf foo-cond-bar-item {
             type leafref {
-                path "../../foo/bars/bar-item[id=10]";
+                path "../../foo/bars/bar-item[id=current()/../bar-id]";
             }
         }
 
@@ -291,7 +291,7 @@ module test-type-provider {
             bit auto-sense-speed {
                 position 1;
             }
-            bit 10-Mb-only {
+            bit only-10-Mb {
                 position 2;
             }
         }
@@ -305,4 +305,4 @@ module test-type-provider {
         }
         default "256";
     }
-}
\ No newline at end of file
+}