Hi, Aftert cloning from 2 diffrent workspaces I get strange result with indexing for the same node name. Please find attached code example. I pasted below standard output.
13:46:59,656 INFO - node.getDefinition().allowsSameNameSiblings() = [true] 13:47:00,125 INFO - Subtree cloned; root node = [/] 13:47:00,156 INFO - Subtree cloned; root node = [/] 13:47:00,359 INFO - Child added. 13:47:00,359 INFO - Hierarchy in workspace_1 13:47:00,359 INFO - Node name = [node]; node path = [/node] 13:47:00,359 INFO - Node name = [child]; node path = [/node/child] 13:47:00,359 INFO - Node name = [child]; node path = [/node/child[2]] 13:47:00,359 INFO - Node name = [child]; node path = [/node/child[3]] 13:47:00,359 INFO - Node name = [child]; node path = [/node/child[4]] 13:47:00,359 INFO - Hierarchy in workspace_2 13:47:00,359 INFO - Node name = [node]; node path = [/node] 13:47:00,359 INFO - Node name = [child]; node path = [/node/child] 13:47:00,359 INFO - Node name = [child]; node path = [/node/child[2]] 13:47:00,359 INFO - Node name = [child]; node path = [/node/child[3]] 13:47:00,453 INFO - Subtree cloned; root node = [node] 13:47:00,453 INFO - Hierarchy in workspace_2 aftert one more clonning 13:47:00,453 INFO - Node name = [node]; node path = [/node] 13:47:00,453 INFO - Node name = [child]; node path = [/node/child] 13:47:00,453 INFO - Node name = [child]; node path = [/node/child[2]] 13:47:00,453 INFO - Node name = [child]; node path = [/node/child[2]] 13:47:00,453 INFO - Node name = [child]; node path = [/node/child[4]] 13:47:00,734 INFO - Done. As you can see I get twice index number "2" for node "child" in workspace_2. Any idea what is wrong?? -- Tomasz Dabrowski email: [EMAIL PROTECTED] skype: tomekdab www: www.cognifide.com