On Wed, 5 Oct 2022 18:09:53 GMT, Bill Huang <bhu...@openjdk.org> wrote:
>> Added test cases for xpath Axis: >> 1. descendant >> 2. descendant-or-self >> 3. following >> 4. following-sibling > > test/jaxp/javax/xml/jaxp/unittest/xpath/XPathExpFollowingTest.java line 108: > >> 106: }; >> 107: } >> 108: > > It would be good to add a predicate test for following. e.g. > `//foo:Customer/*[not(following::*)]` > `//*[not(following::*) and not(preceding::*)]` > `//Street[following::Street and preceding::Street]` Also good for following-sibling. ------------- PR: https://git.openjdk.org/jdk/pull/10557