Fix LibraryModulesSchemasTest failure
[netconf.git] / netconf / sal-netconf-connector / src / main / java / org / opendaylight / netconf / sal / connect / netconf / LibraryModulesSchemas.java
index cc13c75541053b6a4d7869be47cc550652683361..9924d6fc75f2743928d8e468f242b7e50ec36418 100644 (file)
@@ -306,6 +306,9 @@ public class LibraryModulesSchemas implements NetconfDeviceSchemas {
     }
 
     private static Optional<NormalizedNode<?, ?>> readXml(final InputStream in) {
+        // TODO one module node with bad revision will fail parsing of whole modules-state node
+        // we have to parse them one by one and just ignore modules with bad revisions
+        // See BUG 8071 https://bugs.opendaylight.org/show_bug.cgi?id=8071
         final DomToNormalizedNodeParserFactory parserFactory =
                 DomToNormalizedNodeParserFactory.getInstance(XmlUtils.DEFAULT_XML_CODEC_PROVIDER, LIBRARY_CONTEXT);