cmsg.severity = severity;
cmsg.code = "parseXsl";
cmsg.phase = 0;
cmsg.messageText = exception.getMessageAndLocation();
CompilationException ce = new CompilationException(cmsg, exception);
SourceLocation loc = exception.getLocator() != null ? new SourceLocatorWrapper(exception.getLocator()) : null;
if (_cc != null)
_cc.recoveredFromError(loc,ce);
else
__log.error("XSL stylesheet parsing error! ", exception);
}