BUG-7009: fix invalid model 03/47403/1
authorRobert Varga <rovarga@cisco.com>
Sun, 23 Oct 2016 20:24:23 +0000 (22:24 +0200)
committerRobert Varga <nite@hq.sk>
Sun, 23 Oct 2016 20:42:15 +0000 (20:42 +0000)
The test model is not valid, as it specifies an extension
argument while the extension definition does not allow arguments.

Change-Id: I2bae1ee5eb3dcf4b98875001b2b4a46f2723601b
Signed-off-by: Robert Varga <rovarga@cisco.com>
binding/mdsal-binding-java-api-generator/src/test/resources/compilation/context-reference/foo.yang

index ab2209f0cebee54bd8398a19942773037745f054..07cbb1eb2eedcc78b1d43c78241cb21ae07ee4b0 100644 (file)
@@ -9,13 +9,14 @@ module foo {
     yang-version 1;
     namespace "urn:opendaylight:foo";
     prefix "f";
-    
+
     import bar { prefix "b"; }
 
     revision "2013-10-08" {
     }
 
     extension context-reference {
+        argument "context-type";
     }
 
     container nodes {