RFR: 8289508: Improve test coverage for XPath Axes: ancestor, ancestor-or-self, preceding, and preceding-sibling [v2]

Joe Wang joehw at openjdk.org
Thu Sep 15 21:17:49 UTC 2022


On Thu, 15 Sep 2022 06:25:53 GMT, Rahul Prabhu <duke at openjdk.org> wrote:

>> Created two files for testing XPath Axes: XPathAncestors.java tests the ancestor and ancestor-or-self axes, while XPathPrecedingTest.java tests the preceding and preceding-sibling axes.
>
> Rahul Prabhu has refreshed the contents of this pull request, and previous commits have been removed. The incremental views will show differences compared to the previous content of the PR. The pull request contains one new commit since the last revision:
> 
>   8289508: added more tests/superficial changes (2.2,3.3,5.7)

test/jaxp/javax/xml/jaxp/unittest/xpath/XPathPrecedingTest.java line 57:

> 55:                   <isbn>1234</isbn>
> 56:                </book>
> 57:                <book id="2" lang="en" xlmns="www.foo.com">

typo: s/xlmns/xmlns.  There's no namespace due to the typo. The test still passed since there's no namespace.

-------------

PR: https://git.openjdk.org/jdk/pull/10211


More information about the core-libs-dev mailing list