[ 
https://issues.apache.org/jira/browse/AXIOM-397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13149169#comment-13149169
 ] 

Hudson commented on AXIOM-397:
------------------------------

Integrated in ws-axiom-trunk #685 (See 
[https://builds.apache.org/job/ws-axiom-trunk/685/])
    AXIOM-397: Fixed the broken getChildrenWithNamespaceURI method.

veithen : 
Files : 
* 
/webservices/commons/trunk/modules/axiom/modules/axiom-common-impl/src/main/java/org/apache/axiom/om/impl/common/OMChildrenNamespaceIterator.java
* 
/webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/OMTestSuiteBuilder.java
* 
/webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/om/element/TestGetChildrenWithNamespaceURI.java

                
> 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.9, 1.2.12
>         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]

Reply via email to