if(!id.startsWith("/db")) id = remoteCollection.getPath() + '/' + id;
id = NativeBroker.checkPath(id, remoteCollection.getPath());
    public boolean validateResource(String id) throws XMLDBException {        logger.info("Validating resource '"+id+"'");        boolean documentIsValid=false;        if(!id.startsWith("/db"))            id = remoteCollection.getPath() + '/' + id;                Vector params = new Vector();        params.addElement( id );                try {            Boolean result = (Boolean) client.execute( "isValid", params );            documentIsValid= result.booleanValue();                    } catch ( XmlRpcException xre ) {            throw new XMLDBException( ErrorCodes.VENDOR_ERROR,                                                        xre.getMessage(),  xre );                    } catch ( IOException ioe ) {            throw new XMLDBException( ErrorCodes.VENDOR_ERROR,                                                         ioe.getMessage(),  ioe);        }                return documentIsValid;    }