X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fnetconf%2Fnetconf-util%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fnetconf%2Futil%2Fxml%2FXMLNetconfUtil.java;h=e7ce4541559943e86983e2e83285ff0d0b9c18e6;hb=8a60e7caa7a442c67e69ff9a42c438f80e41f107;hp=3247e0f7a0e034402fcedda91b2b1e5ece7a1fe8;hpb=2395ecb818aa01bbd90821767715b3df67b65de0;p=controller.git diff --git a/opendaylight/netconf/netconf-util/src/main/java/org/opendaylight/controller/netconf/util/xml/XMLNetconfUtil.java b/opendaylight/netconf/netconf-util/src/main/java/org/opendaylight/controller/netconf/util/xml/XMLNetconfUtil.java index 3247e0f7a0..e7ce454155 100644 --- a/opendaylight/netconf/netconf-util/src/main/java/org/opendaylight/controller/netconf/util/xml/XMLNetconfUtil.java +++ b/opendaylight/netconf/netconf-util/src/main/java/org/opendaylight/controller/netconf/util/xml/XMLNetconfUtil.java @@ -13,6 +13,8 @@ import javax.xml.xpath.XPathExpression; import javax.xml.xpath.XPathExpressionException; import javax.xml.xpath.XPathFactory; +import org.opendaylight.controller.netconf.api.xml.XmlNetconfConstants; + public final class XMLNetconfUtil { private XMLNetconfUtil() {} @@ -21,7 +23,7 @@ public final class XMLNetconfUtil { final XPathFactory xPathfactory = XPathFactory.newInstance(); final XPath xpath = xPathfactory.newXPath(); xpath.setNamespaceContext(new HardcodedNamespaceResolver("netconf", - XmlNetconfConstants.RFC4741_TARGET_NAMESPACE)); + XmlNetconfConstants.URN_IETF_PARAMS_XML_NS_NETCONF_BASE_1_0)); try { return xpath.compile(xPath); } catch (final XPathExpressionException e) {