Change-Id: I6f50832bc94d809d5ba354ceb17dfdecc0b181bd
Signed-off-by: Jakub Toth <jatoth@cisco.com>
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);