Uploaded image for project: 'Axiom'
  1. Axiom
  2. AXIOM-397

OMChildrenNamespaceIterator.isEqual ignores second parameter

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.2.9, 1.2.12
    • Fix Version/s: 1.2.13
    • Component/s: DOOM, LLOM
    • Labels:
      None
    • Environment:
      N/A

      Description

      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()); }

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                veithen Andreas Veithen
                Reporter:
                eswdd Simon Matic Langford
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: