ws-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AXIOM-397) OMChildrenNamespaceIterator.isEqual ignores second parameter
Date Tue, 18 Apr 2017 20:37:41 GMT

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

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

SUCCESS: Integrated in Jenkins build axiom-trunk #2826 (See [https://builds.apache.org/job/axiom-trunk/2826/])
Apply the fix for AXIOM-397 to the deprecated copy of OMChildrenNamespaceIterator in axiom-compat
as well. (veithen: rev 1791831)
* (edit) axiom/axiom-compat/src/main/java/org/apache/axiom/om/impl/traverse/OMChildrenNamespaceIterator.java


> OMChildrenNamespaceIterator.isEqual ignores second parameter
> ------------------------------------------------------------
>
>                 Key: AXIOM-397
>                 URL: https://issues.apache.org/jira/browse/AXIOM-397
>             Project: Axiom
>          Issue Type: Bug
>          Components: DOOM, LLOM
>    Affects Versions: 1.2.9, 1.2.12
>         Environment: N/A
>            Reporter: Simon Matic Langford
>            Assignee: Andreas Veithen
>             Fix For: 1.2.13
>
>
> 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 was sent by Atlassian JIRA
(v6.3.15#6346)

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


Mime
View raw message