DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38444>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38444





------- Additional Comments From [EMAIL PROTECTED]  2006-01-30 18:58 -------
I modify the source file
org.apache.xml.security.transforms.implementations.TransformXPath2Filter
inner class XPath2NodeFilter, method isNodeInclude :

public boolean isNodeInclude(Node currentNode) {
   boolean notIncluded = false; 
   if (!substractNodes.isEmpty() && rooted(currentNode, substractNodes)) {
      notIncluded = true;
   } else 
   if (!intersectNodes.isEmpty() && !rooted(currentNode, intersectNodes)) {
      notIncluded = true;
   }
   if (!unionNodes.isEmpty() && notIncluded && rooted(currentNode, unionNodes))
      {
   notIncluded = false;
}
 return !notIncluded;
}

I add the 3 checks !isEmpty() for each ArrayList and now it seems to work.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to