|
|
@ -72,9 +72,13 @@ public class PredicatePathToken extends PathToken { |
|
|
|
Predicate.PredicateContext ctx = new PredicateContextImpl(obj, root, configuration, evaluationContext.documentEvalCache()); |
|
|
|
Predicate.PredicateContext ctx = new PredicateContextImpl(obj, root, configuration, evaluationContext.documentEvalCache()); |
|
|
|
|
|
|
|
|
|
|
|
for (Predicate predicate : predicates) { |
|
|
|
for (Predicate predicate : predicates) { |
|
|
|
|
|
|
|
try { |
|
|
|
if (!predicate.apply(ctx)) { |
|
|
|
if (!predicate.apply(ctx)) { |
|
|
|
return false; |
|
|
|
return false; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} catch (InvalidPathException e) { |
|
|
|
|
|
|
|
return false; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
return true; |
|
|
|
return true; |
|
|
|
} |
|
|
|
} |
|
|
|