in src/main/java/org/apache/sling/rewriter/impl/components/TraxErrorHandler.java [89:102]
private String getMessage(final TransformerException exception) {
final SourceLocator locator = exception.getLocator();
if (locator != null) {
final String id = locator.getPublicId() != null
? locator.getPublicId()
: (null != locator.getSystemId())
? locator.getSystemId() : "SystemId Unknown";
return "File " + id
+ "; Line " + locator.getLineNumber()
+ "; Column " + locator.getColumnNumber()
+ "; " + exception.getMessage();
}
return exception.getMessage();
}