You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commons-dev@ws.apache.org by "Andreas Veithen (JIRA)" <ji...@apache.org> on 2009/06/16 23:36:07 UTC

[jira] Moved: (WSCOMMONS-478) OMChildrenIterator based on local name has bug in isEqual() method

     [ https://issues.apache.org/jira/browse/WSCOMMONS-478?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Veithen moved AXIS2-4011 to WSCOMMONS-478:
--------------------------------------------------

          Component/s:     (was: om)
                       AXIOM
        Fix Version/s:     (was: nightly)
                       Axiom 1.2.9
    Affects Version/s:     (was: 1.4.1)
                       Axiom 1.2.8
                  Key: WSCOMMONS-478  (was: AXIS2-4011)
              Project: WS-Commons  (was: Axis 2.0 (Axis2))

> OMChildrenIterator based on local name has bug in isEqual() method
> ------------------------------------------------------------------
>
>                 Key: WSCOMMONS-478
>                 URL: https://issues.apache.org/jira/browse/WSCOMMONS-478
>             Project: WS-Commons
>          Issue Type: Bug
>          Components: AXIOM
>    Affects Versions: Axiom 1.2.8
>            Reporter: Christian Kloner
>            Priority: Minor
>             Fix For: Axiom 1.2.9
>
>
> 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.