--- /home/cpdev/src/classpath/gnu/xml/xpath/NodeTypeTest.java	2006-01-13 17:32:49.000000000 +0000
+++ gnu/xml/xpath/NodeTypeTest.java	2006-01-13 17:34:15.000000000 +0000
@@ -84,7 +84,6 @@
       case Node.TEXT_NODE:
       case Node.CDATA_SECTION_NODE:
       case Node.COMMENT_NODE:
-      case Node.DOCUMENT_NODE:
         if (type > 0)
           {
             if (nodeType != type)
