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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to