hi,
in TCK query/SaveTest
public void testItemExistsException() throws RepositoryException {
Query query =
superuser.getWorkspace().getQueryManager().createQuery(statement, Query.XPATH);
query.storeAsNode(testRoot + "/" + nodeName1);
// create another one
query =
superuser.getWorkspace().getQueryManager().createQuery(statement, Query.XPATH);
try {
query.storeAsNode(testRoot + "/" + nodeName1);
fail("Query.storeAsNode() did not throw ItemExistsException");
} catch (ItemExistsException e) {
// expected behaviour
}
}
but testRoot is an nt:unstructured node so same name sibling is allowed...
or i missed something in TCK configuration?
regards,
gena