if (!collectionPath.startsWith("/db")) collectionPath = "/db" + collectionPath;
collectionPath = NativeBroker.checkPath(collectionPath, "/db");
    public Date getCreationDate(User user, String collectionPath)    throws PermissionDeniedException, EXistException {        DBBroker broker = null;        Collection collection = null;        try {            broker = brokerPool.get(user);            if (!collectionPath.startsWith("/"))                collectionPath = '/' + collectionPath;            if (!collectionPath.startsWith("/db"))                collectionPath = "/db" + collectionPath;            collection = broker.openCollection(collectionPath, Lock.READ_LOCK);            if (collection == null)                throw new EXistException("collection " + collectionPath                        + " not found");            return new Date(collection.getCreationTime());        } finally {            if(collection != null)                collection.release();            brokerPool.release(broker);        }    }