if (synLog.isTraceOrDebugEnabled()) {
String msg = "Validation of element returned by XPath : " + source +
" failed against the given schema(s) " + schemaKeys +
"with error : " + errorHandler.getSaxParseException().getMessage() +
" Executing 'on-fail' sequence";
synLog.traceOrDebug(msg);
// write a warning to the service log
synCtx.getServiceLog().warn(msg);
if (synLog.isTraceTraceEnabled()) {