@Override public void run() throws SaxonApiException { try { XProcMessageListenerHelper.openStep(runtime, parent, BigDecimal.ONE); } catch (Throwable e) { throw handleException(e); } try { super.run(); } finally { runtime.getMessageListener().closeStep(); } } }