commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mben...@apache.org
Subject svn commit: r555043 - /jakarta/commons/proper/jxpath/trunk/src/test/org/apache/commons/jxpath/ri/model/XMLModelTestCase.java
Date Tue, 10 Jul 2007 18:54:18 GMT
Author: mbenson
Date: Tue Jul 10 11:54:16 2007
New Revision: 555043

URL: http://svn.apache.org/viewvc?view=rev&rev=555043
Log:
add comment

Modified:
    jakarta/commons/proper/jxpath/trunk/src/test/org/apache/commons/jxpath/ri/model/XMLModelTestCase.java

Modified: jakarta/commons/proper/jxpath/trunk/src/test/org/apache/commons/jxpath/ri/model/XMLModelTestCase.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/jxpath/trunk/src/test/org/apache/commons/jxpath/ri/model/XMLModelTestCase.java?view=diff&rev=555043&r1=555042&r2=555043
==============================================================================
--- jakarta/commons/proper/jxpath/trunk/src/test/org/apache/commons/jxpath/ri/model/XMLModelTestCase.java
(original)
+++ jakarta/commons/proper/jxpath/trunk/src/test/org/apache/commons/jxpath/ri/model/XMLModelTestCase.java
Tue Jul 10 11:54:16 2007
@@ -653,6 +653,7 @@
 
     public void testNodeTypeText() {
         // text()
+        //Note that this is questionable as the XPath spec tells us "." is short for self::node()
and text() is by definition _not_ a node:
         assertXPathValue(
             context,
             "//product/text()[. != '']",



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message