Axiom
  1. Axiom
  2. AXIOM-172

OMChildrenQNameIterator doesn't work correctly if hasNext() is not called before next()

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.2.8
    • Fix Version/s: 1.2.11
    • Component/s: DOOM, LLOM
    • Labels:
      None

      Description

      OMChildrenQNameIterator only works correctly if hasNext() is called before each invocation of next(). While this is usually the case, it is not at all required!

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        669d 21h 48m 1 Andreas Veithen 02/Jan/11 20:58
        Resolved Resolved Closed Closed
        83d 14h 44m 1 Andreas Veithen 27/Mar/11 12:43
        Hide
        Hudson added a comment -

        Integrated in ws-axiom-trunk #667 (See https://builds.apache.org/job/ws-axiom-trunk/667/)

        • Removed the old test cases for AXIOM-78 which failed to provide evidence for the issue.
        • Added a regression test for AXIOM-78 and AXIOM-172.

        veithen :
        Files :

        • /webservices/commons/trunk/modules/axiom/modules/axiom-tests/src/test/java/org/apache/axiom/om/IteratorTest.java
        • /webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/OMTestSuiteBuilder.java
        • /webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/om/element/TestGetChildrenWithNameNextWithoutHasNext.java
        Show
        Hudson added a comment - Integrated in ws-axiom-trunk #667 (See https://builds.apache.org/job/ws-axiom-trunk/667/ ) Removed the old test cases for AXIOM-78 which failed to provide evidence for the issue. Added a regression test for AXIOM-78 and AXIOM-172 . veithen : Files : /webservices/commons/trunk/modules/axiom/modules/axiom-tests/src/test/java/org/apache/axiom/om/IteratorTest.java /webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/OMTestSuiteBuilder.java /webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/om/element/TestGetChildrenWithNameNextWithoutHasNext.java
        Andreas Veithen made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Andreas Veithen made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Andreas Veithen added a comment -

        This should be fixed by r1054444.

        Show
        Andreas Veithen added a comment - This should be fixed by r1054444.
        Andreas Veithen made changes -
        Component/s DOOM [ 12313880 ]
        Component/s LLOM [ 12313879 ]
        Jeff Turner made changes -
        Affects Version/s Axiom 1.2.8 [ 12315531 ]
        Fix Version/s Axiom 1.2.11 [ 12315534 ]
        Andreas Veithen made changes -
        Project WS-Commons [ 12310250 ] Axiom [ 12311190 ]
        Key WSCOMMONS-445 AXIOM-172
        Affects Version/s Axiom 1.2.8 [ 12313556 ]
        Component/s AXIOM [ 12310703 ]
        Fix Version/s Axiom 1.2.11 [ 12315420 ]
        Andreas Veithen made changes -
        Fix Version/s Axiom 1.2.11 [ 12315420 ]
        Fix Version/s Axiom 1.2.10 [ 12314861 ]
        Andreas Veithen made changes -
        Field Original Value New Value
        Fix Version/s Axiom 1.2.10 [ 12314861 ]
        Fix Version/s Axiom 1.2.9 [ 12313561 ]
        Andreas Veithen created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development