more tests

This commit is contained in:
Andreas Penski (init) 2020-05-04 14:56:36 +02:00
parent 7dc62012a6
commit 01ae592862
3 changed files with 129 additions and 12 deletions

View file

@ -143,7 +143,7 @@ public class ContentRepository {
throw new IllegalStateException("Can not compile xslt executable for uri " + uri, e);
} finally {
if (!listener.hasErrors() && listener.hasEvents()) {
log.warn("Received warnings while loading a xslt script {}", uri);
log.warn("Received warnings or errors while loading a xslt script {}", uri);
listener.getErrors().forEach(e -> e.log(log));
}
}