This changes the behavior of filter expressions to be more lenient.
Filter expressions now filter the list even when the filter expression is not evaluating to a boolean (for item comparison) or a number (for direct access).
When the filter expression would previously cause an error, the error is now suppressed and a list with only those values that match the filter expression is returned.
Please note that this pull request does not fully resolve issue #582. It does not yet deal with lists of contexts where the filter expression refers to missing properties of those contexts. This should be resolved in another pull request.
Related issues
partially deals with #582 (filters over context lists are not yet covered)
Description
This changes the behavior of filter expressions to be more lenient.
Filter expressions now filter the list even when the filter expression is not evaluating to a boolean (for item comparison) or a number (for direct access).
When the filter expression would previously cause an error, the error is now suppressed and a list with only those values that match the filter expression is returned.
Please note that this pull request does not fully resolve issue #582. It does not yet deal with lists of contexts where the filter expression refers to missing properties of those contexts. This should be resolved in another pull request.
Related issues
partially deals with #582 (filters over context lists are not yet covered)