You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by dm...@apache.org on 2004/06/30 02:29:13 UTC
cvs commit: jakarta-commons/jxpath/src/test/org/apache/commons/jxpath/ri/model XMLModelTestCase.java
dmitri 2004/06/29 17:29:13
Modified: jxpath/src/test/org/apache/commons/jxpath/ri/model
XMLModelTestCase.java
Log:
Verified name() in a predicate
Revision Changes Path
1.23 +6 -1 jakarta-commons/jxpath/src/test/org/apache/commons/jxpath/ri/model/XMLModelTestCase.java
Index: XMLModelTestCase.java
===================================================================
RCS file: /home/cvs/jakarta-commons/jxpath/src/test/org/apache/commons/jxpath/ri/model/XMLModelTestCase.java,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- XMLModelTestCase.java 29 Jun 2004 22:58:18 -0000 1.22
+++ XMLModelTestCase.java 30 Jun 2004 00:29:13 -0000 1.23
@@ -555,6 +555,11 @@
context,
"vendor/location[@id='101']//street",
"Tangerine Drive");
+
+ assertXPathValueIterator(
+ context,
+ "/vendor/location[1]/@*[name()!= 'manager']", list("100",
+ "local"));
}
public void testAxisNamespace() {
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org