Bug 2766: Fixed parsing and serializing XPath Instance Identifiers
[yangtools.git] / yang / yang-data-impl / src / test / java / org / opendaylight / yangtools / yang / data / impl / codec / xml / XmlDocumentUtilsTest.java
index e93a5704d5d1914810a612d53505f044819af632..308fac960152d095ee06d08cd7294c90c185fd60 100644 (file)
@@ -54,7 +54,9 @@ public class XmlDocumentUtilsTest {
 
     public static final String XML_CONTENT = "<input xmlns=\"urn:opendaylight:controller:rpc:test\">\n" +
             "<a>value</a>\n" +
-            "<ref xmlns:ltha=\"urn:opendaylight:controller:rpc:test\">/ltha:cont/ltha:l[ltha:id='id']</ref>\n" +
+            "<ref xmlns:ltha=\"urn:opendaylight:controller:rpc:test\">"+
+            "/ltha:cont/ltha:l[  ltha:id='id/foo/bar'  ]"+
+            "</ref>\n" +
             "</input>";
 
     public static final String RPC_REPLY = "<rpc-reply xmlns=\"urn:ietf:params:xml:ns:netconf:base:1.0\" message-id=\"m-1\">\n" +