code: public boolean validate(URL url) throws SAXException {
  
  		String xmlText = null;
  
  		try {
  			xmlText = IOUtils.toString(url.openStream());
  		} catch (IOException e) {
  			throw new RuntimeException(e);
  		}
  
  		return validate(xmlText);
  	}
docs: Validate XML text retrieved from URL
  
  @param url
  The URL object for the XML to be validated.
  @return boolean True If the xmlText validates against the schema
  @throws SAXException
  If the a validation ErrorHandler has not been set, and
  validation throws a SAXException