--- /home/cpdev/src/classpath/gnu/xml/xpath/EqualityExpr.java	2005-07-10 05:32:35.000000000 +0000
+++ gnu/xml/xpath/EqualityExpr.java	2005-06-30 05:34:22.000000000 +0000
@@ -39,7 +39,6 @@
 
 import java.util.Collection;
 import java.util.Iterator;
-import javax.xml.namespace.QName;
 import org.w3c.dom.Node;
 
 /**
@@ -92,10 +91,6 @@
       {
         Collection lns = (Collection) left;
         Collection rns = (Collection) right;
-        if (lns.isEmpty())
-          {
-            return false;
-          }
         boolean all = true;
         for (Iterator i = lns.iterator(); i.hasNext(); )
           {
@@ -124,7 +119,7 @@
                   }
               }
           }
-        return all;
+        return false;
       }
     /* 
      * If one object to be compared is a node-set and the other is a number,
@@ -248,11 +243,6 @@
     return new EqualityExpr(lhs.clone(context), rhs.clone(context), invert);
   }
 
-  public boolean references(QName var)
-  {
-    return (lhs.references(var) || rhs.references(var));
-  }
-
   public String toString()
   {
     if (invert)
