Fixed validation bug of YANG import statement 41/241/1
authorTony Tkacik <ttkacik@cisco.com>
Wed, 24 Apr 2013 14:47:13 +0000 (16:47 +0200)
committerTony Tkacik <ttkacik@cisco.com>
Wed, 24 Apr 2013 14:47:13 +0000 (16:47 +0200)
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
opendaylight/sal/yang-prototype/code-generator/yang-model-parser-impl/src/main/java/org/opendaylight/controller/yang/model/parser/impl/YangModelValidationListener.java

index b8a5cf3..68887a1 100644 (file)
@@ -234,11 +234,11 @@ final class YangModelValidationListener extends YangParserBaseListener {
                 Prefix_stmtContext.class,
                 f("Missing prefix statement in import:%s, in (sub)module:%s",
                         importName, rootParentName), true);
-        checkPresentChildOfType(
-                ctx,
-                Revision_date_stmtContext.class,
-                f("Missing revision-date statement in import:%s, in (sub)module:%s",
-                        importName, rootParentName), true);
+        //checkPresentChildOfType(
+        //        ctx,
+        //        Revision_date_stmtContext.class,
+        //        f("Missing revision-date statement in import:%s, in (sub)module:%s",
+        //                importName, rootParentName), true);
     }
 
     /**