Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add an out-of-document-order union XPath Expression.

  • Loading branch information...
commit ca5b84c35b9e159ef742cc6d3af3cddfc79555a8 1 parent 3db8ae3
@rolfl rolfl authored
View
6 test/src/java/org/jdom2/test/cases/xpath/AbstractTestXPathCompiled.java
@@ -966,8 +966,10 @@ public void testXPathSelf() {
checkXPath("self::*", child3emt, null, child3emt);
}
-
-
+ @Test
+ public void testXPathOR() {
+ checkXPath("/main/node()[1] | /main/@*", child3emt, null, mainatt, maincomment);
+ }
/* *******************************
* Negative TestCases
Please sign in to comment.
Something went wrong with that request. Please try again.