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

OMChildrenNamespaceIterator.isEqual ignores second parameter

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.2.9, 1.2.12
    • 1.2.13
    • DOOM, LLOM
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: