public boolean processStartElement(XdmNode node) { try { runtime.getMessageListener().openStep(this, getNode(), null, null, BigDecimal.ONE.divide(new BigDecimal(sequenceLength), MathContext.DECIMAL128)); } catch (Throwable e) { throw handleException(e); RuntimeValue value = computeValue(var); inScopeOptions.put(var.getName(), value); step.run(); } catch (Throwable e) { throw handleException(e); XOutput output = getOutput(port.substring(1)); if (!output.getSequence()) { throw XProcException.dynamicError(7);
RuntimeValue value = computeValue(var); inScopeOptions.put(var.getName(), value); XOutput output = getOutput(port.substring(1)); if (!output.getSequence()) { throw XProcException.dynamicError(7);
newstep.instantiate(substep); } else if (XProcConstants.p_viewport.equals(substep.getType())) { XViewport newstep = new XViewport(runtime, substep, this); newstep.instantiate(substep); } else if (XProcConstants.cx_until_unchanged.equals(substep.getType())) { XUntilUnchanged newstep = new XUntilUnchanged(runtime,substep,this);
XProcMessageListenerHelper.openStep(runtime, this); } catch (Throwable e) { throw handleException(e);
newstep.instantiate(substep); } else if (XProcConstants.p_viewport.equals(substep.getType())) { XViewport newstep = new XViewport(runtime, substep, this); newstep.instantiate(substep); } else if (XProcConstants.cx_until_unchanged.equals(substep.getType())) { XUntilUnchanged newstep = new XUntilUnchanged(runtime,substep,this);