axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Kloner (JIRA)" <j...@apache.org>
Subject [jira] Created: (AXIS2-4011) OMChildrenIterator based on local name has bug in isEqual() method
Date Fri, 05 Sep 2008 00:25:44 GMT
OMChildrenIterator based on local name has bug in isEqual() method
------------------------------------------------------------------

                 Key: AXIS2-4011
                 URL: https://issues.apache.org/jira/browse/AXIS2-4011
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: om
    Affects Versions: 1.4.1
            Reporter: Christian Kloner
             Fix For: nightly


The invocation of OMElement#getChildrenWithLocalName(String) does not work as expected cause
the underlying OMChildrenIterator implementation OMChildrenLocalNameIterator has bug in method
isEqual(QName, QName). It contains the following code:

public boolean isEqual(QName searchQName, QName currentQName) {
           return searchQName.getLocalPart().equals(searchQName.getLocalPart());
}
This should be changed to

currentQName.getLocalPart().equals(searchQName.getLocalPart())

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


Mime
View raw message