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/17 00:44:07 UTC
[jira] Resolved: (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 resolved WSCOMMONS-478.
---------------------------------------
Resolution: Fixed
> 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
> Assignee: Andreas Veithen
> 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.