Axiom
  1. Axiom
  2. AXIOM-397

OMChildrenNamespaceIterator.isEqual ignores second parameter

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major 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()); }

        Issue Links

          Activity

          Simon Matic Langford created issue -
          Andreas Veithen made changes -
          Field Original Value New Value
          Affects Version/s 1.2.9 [ 12315532 ]
          Affects Version/s 1.2.13 [ 12316677 ]
          Affects Version/s 1.2.14 [ 12318340 ]
          Affects Version/s 1.2.15 [ 12318876 ]
          Andreas Veithen made changes -
          Link This issue is related to AXIOM-231 [ AXIOM-231 ]
          Andreas Veithen made changes -
          Component/s DOOM [ 12313880 ]
          Component/s LLOM [ 12313879 ]
          Component/s API [ 12313878 ]
          Andreas Veithen made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Assignee Andreas Veithen [ veithen ]
          Fix Version/s 1.2.13 [ 12316677 ]
          Resolution Fixed [ 1 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development