Fix patch target parsing
[netconf.git] / restconf / restconf-nb-rfc8040 / src / test / resources / instanceidentifier / json / jsonPATCHMergeOperationOnList.json
index 3b809e0061b38e9e60a6cda1c601ebffac592951..cbb67a97699ca9bba092ef782fed5a79275b0b7c 100644 (file)
@@ -6,7 +6,7 @@
       {
         "edit-id": "edit1",
         "operation": "replace",
-        "target": "/instance-identifier-patch-module:my-list2[instance-identifier-patch-module:name='my-leaf20']",
+        "target": "/my-list2=my-leaf20",
         "value": {
           "my-list2": {
             "name": "my-leaf20",
@@ -18,7 +18,7 @@
       {
         "edit-id": "edit2",
         "operation": "merge",
-        "target": "/instance-identifier-patch-module:my-list2[instance-identifier-patch-module:name='my-leaf21']",
+        "target": "/my-list2=my-leaf21",
         "value": {
           "my-list2": {
             "name": "my-leaf21",
@@ -29,4 +29,4 @@
       }
     ]
   }
-}
\ No newline at end of file
+}