cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sylv...@apache.org
Subject svn commit: r289418 - /cocoon/trunk/tools/src/anttasks/XConfToolTask.java
Date Fri, 16 Sep 2005 07:53:09 GMT
Author: sylvain
Date: Fri Sep 16 00:53:05 2005
New Revision: 289418

URL: http://svn.apache.org/viewcvs?rev=289418&view=rev
Log:
"unless" attribute is a boolean expression, and not a node list

Modified:
    cocoon/trunk/tools/src/anttasks/XConfToolTask.java

Modified: cocoon/trunk/tools/src/anttasks/XConfToolTask.java
URL: http://svn.apache.org/viewcvs/cocoon/trunk/tools/src/anttasks/XConfToolTask.java?rev=289418&r1=289417&r2=289418&view=diff
==============================================================================
--- cocoon/trunk/tools/src/anttasks/XConfToolTask.java (original)
+++ cocoon/trunk/tools/src/anttasks/XConfToolTask.java Fri Sep 16 00:53:05 2005
@@ -267,7 +267,7 @@
             log("Skipping: " + filename, Project.MSG_DEBUG);
             return false;
         } else if (testPath != null && testPath.length() > 0 &&
-            XPathAPI.selectNodeList(root, testPath).getLength() != 0) {
+            XPathAPI.eval(root, testPath).bool()) {
             log("Skipping: " + filename, Project.MSG_DEBUG);
             return false;
         } else {



Mime
View raw message