Bug 4646: Parser accepts invalid models
[yangtools.git] / yang / yang-parser-impl / src / test / resources / type-tests / types.yang
index eb57402a6d5c5f6437c3250ea081214269c029f3..7f8ed0cc96440f8b656ac0f867e066b95b4936bb 100644 (file)
@@ -52,7 +52,6 @@ module types {
     leaf leaf-identityref {
         type identityref {
             base "test-identity";
-            units "test-unit";
         }
     }
 
@@ -82,9 +81,6 @@ module types {
         type decimal64 {
             fraction-digits 2;
             range "1 .. 3.14 | 10 | 20..max";
-            description "test decimal64";
-            reference "test decimal64 ref";
-            status current;
         }
     }
 
@@ -99,18 +95,15 @@ module types {
                 description "test bit";
                 reference "test bit ref";
                 status current;
-                value 0;
             }
             bit two {
                 position 1;
-                value 1;
             }
             bit three {
                 position 2;
                 description "test bit";
                 reference "test bit ref";
                 status current;
-                value 0;
             }
         }
     default "one";