Possible bug in XPath option Find/Replace: using not()
Posted: Fri Mar 26, 2021 2:23 pm
I am puzzled by the following behaviour in Oxygen 23.0:
* Find/Replace a string
* Use XPath option: *[not(local-name() eq 'element_name')]
-> It also shows matches in element_name (which is wrong).
When I use the expression without not(), the predicate gets evaluated OK:
* Find/Replace a string
* Use XPath option: *[local-name() eq 'element_name']
-> It shows me only text in element_name.
Is this a bug? It does not make sense at all to me...
* Find/Replace a string
* Use XPath option: *[not(local-name() eq 'element_name')]
-> It also shows matches in element_name (which is wrong).
When I use the expression without not(), the predicate gets evaluated OK:
* Find/Replace a string
* Use XPath option: *[local-name() eq 'element_name']
-> It shows me only text in element_name.
Is this a bug? It does not make sense at all to me...