888990919293949596
catch(Exception e) { // TODO: Unable to set the preference. Log this problem. } XMLValidationReport valreport = validator.validate(uri, inputstream, configuration, result, context); return valreport; }