OMChildrenNamespaceIterator.isEqual ignores second parameter
------------------------------------------------------------
Key: AXIOM-397
URL: https://issues.apache.org/jira/browse/AXIOM-397
Project: Axiom
Issue Type: Bug
Components: API
Affects Versions: 1.2.12, 1.2.13, 1.2.14, 1.2.15
Environment: N/A
Reporter: Simon Matic Langford
Whilst debugging an issue with SOAPHeader.getChildrenWithNamespaceURI() we
discovered that OMChildrenNamespaceIterator.isEqual() ignores the
"currentQName" parameter. This renders it rather useless. We found on 1.2.9,
but have verified it's not fixed in 1.2.12 and can't see an existing issue for
it in any of the unreleased versions:
public boolean isEqual(QName searchQName, QName currentQName) {
return
searchQName.getNamespaceURI().equals(searchQName.getNamespaceURI());
}
should read:
public boolean isEqual(QName searchQName, QName currentQName) {
return
searchQName.getNamespaceURI().equals(currentQName.getNamespaceURI());
}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]