&& parent.getNodeKind() != XdmNodeKind.ELEMENT && parent.getNodeKind() != XdmNodeKind.DOCUMENT) { parent = S9apiUtils.getParent(parent);
&& parent.getNodeKind() != XdmNodeKind.ELEMENT && parent.getNodeKind() != XdmNodeKind.DOCUMENT) { parent = S9apiUtils.getParent(parent);
private Double inheritedVersion(XdmNode node) { XdmNode parent = S9apiUtils.getParent(node); if (XProcConstants.p_declare_step.equals(node.getNodeName()) || XProcConstants.p_pipeline.equals(node.getNodeName()) || XProcConstants.p_library.equals(node.getNodeName())) { String version = node.getAttributeValue(_version); if (version != null) { TypeUtils.checkType(runtime, version, XProcConstants.xs_decimal, node, err_XS0063); return Double.parseDouble(version); } } if (parent == null) { throw XProcException.staticError(62, node, "Version attribute is required."); } else { return inheritedVersion(parent); } }
private Double inheritedVersion(XdmNode node) { XdmNode parent = S9apiUtils.getParent(node); if (XProcConstants.p_declare_step.equals(node.getNodeName()) || XProcConstants.p_pipeline.equals(node.getNodeName()) || XProcConstants.p_library.equals(node.getNodeName())) { String version = node.getAttributeValue(_version); if (version != null) { TypeUtils.checkType(runtime, version, XProcConstants.xs_decimal, node, err_XS0063); return Double.parseDouble(version); } } if (parent == null) { throw XProcException.staticError(62, node, "Version attribute is required."); } else { return inheritedVersion(parent); } }
if (S9apiUtils.getParent(node) != null) { XdmNode parent = node.getParent(); if (XProcConstants.p_library.equals(parent.getNodeName()) && parent.getAttributeValue(_exclude_inline_prefixes) != null) {
if (S9apiUtils.getParent(node) != null) { XdmNode parent = node.getParent(); if (XProcConstants.p_library.equals(parent.getNodeName()) && parent.getAttributeValue(_exclude_inline_prefixes) != null) {