moveResource(XmldbURI.xmldbUriFor(resourcePath), XmldbURI.xmldbUriFor(destinationPath),XmldbURI.xmldbUriFor(newName));
moveResource(XmldbURI.xmldbUriFor(resourcePath), XmldbURI.xmldbUriFor(destinationPath),newName==null?null:XmldbURI.xmldbUriFor(newName));
    public void moveResource(String resourcePath, String destinationPath,            String newName) throws XMLDBException {    	try{    		moveResource(XmldbURI.xmldbUriFor(resourcePath), XmldbURI.xmldbUriFor(destinationPath),XmldbURI.xmldbUriFor(newName));    	} catch(URISyntaxException e) {    		throw new XMLDBException(ErrorCodes.INVALID_URI,e);    	}    }