ws-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simon Matic Langford (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AXIOM-397) OMChildrenNamespaceIterator.isEqual ignores second parameter
Date Fri, 11 Nov 2011 10:44:51 GMT
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: dev-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org


Mime
View raw message