Bug 6848 - upgrade namespace of notification container 44/46444/6
authorJakub Toth <jatoth@cisco.com>
Tue, 4 Oct 2016 06:48:07 +0000 (08:48 +0200)
committerJakub Toth <jatoth@cisco.com>
Thu, 6 Oct 2016 07:28:14 +0000 (07:28 +0000)
Change-Id: I6f50832bc94d809d5ba354ceb17dfdecc0b181bd
Signed-off-by: Jakub Toth <jatoth@cisco.com>
restconf/sal-rest-connector/src/main/java/org/opendaylight/netconf/sal/streams/listeners/NotificationListenerAdapter.java

index db8b27821b063665bb337c4ae3526759d024832d..093f529acf8c3eb6880c4e9870f96a9dd4df8a7c 100644 (file)
@@ -200,7 +200,8 @@ public class NotificationListenerAdapter implements DOMNotificationListener {
     private String prepareXmlFrom(final DOMNotification notification) {
         final SchemaContext schemaContext = ControllerContext.getInstance().getGlobalSchema();
         final Document doc = ListenerAdapter.createDocument();
-        final Element notificationElement = doc.createElementNS("urn:ietf:params:xml:ns:yang:ietf-restconf",
+        final Element notificationElement =
+                doc.createElementNS("urn:ietf:params:xml:ns:netconf:notification:1.0",
                 "notification");
         doc.appendChild(notificationElement);