Andy Bierman <ietf@andybierman.com> wrote:
3.6, para 1:
[...]
If a filter element
is specified to look for data of a particular value, and the data
item is not present within a particular event notification for its
value to be checked against, the notification will be filtered out.
This is not precise enough.
For starters, subtree and Xpath filters return a subset of
conceptual 'input node set', not a boolean expression.
The output node set is returned in the <get> or <get-config> response.
What does it mean to convert this mechanism to a boolean filter?
Does it mean that any output at all from the filter means
it 'passes', and an empty output node set means the filter 'failed'?
This is already defined for XPath, we should not change that. Note
that an XPath expression does not have to return a 'node set', it can
also return a boolean, number or a string. The XPath spec defines how
to interpret any of these as a boolean.