Added validation of range and length constraints.
[controller.git] / opendaylight / sal / yang-prototype / code-generator / yang-model-parser-impl / src / test / resources / model / testfile1.yang
index 3dbfa780a3527641933e1dae3e77c237822bbe47..f6bc34d1b609eea9c9616d7f3e2585a0b757a098 100644 (file)
@@ -22,7 +22,7 @@ module types1 {
 
     leaf testleaf {
         type data:my-type1 {
-            range "min..max";
+            range "12..max";
         }
     }
 
@@ -126,6 +126,8 @@ module types1 {
         leaf my-type {
             type data:my-type1;
         }
+        container schemas {
+        }
     }
     
     container mycont {