String actualValue;
elementPathExpression = context.replaceDynamicContentInString(elementPathExpression);
if (XPathUtils.isXPathExpression(elementPathExpression)) {
XPathExpressionResult resultType = XPathExpressionResult.fromString(
elementPathExpression, XPathExpressionResult.NODE);
elementPathExpression = XPathExpressionResult.cutOffPrefix(elementPathExpression);
//Give ignore elements the chance to prevent the validation in case result type is node
if (resultType.equals(XPathExpressionResult.NODE) &&
isNodeIgnored(XPathUtils.evaluateAsNode(received,
elementPathExpression,
namespaceContext),
validationContext,
namespaceContext)) {