Uploaded image for project: 'XMLBeans'
  1. XMLBeans
  2. XMLBEANS-284

The method Cursor.toNextSibling(String) doesn't use the argument.

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • Version 2, Version 2.1, Version 2.2
    • Version 2.3.1
    • Cursor
    • None
    • Windows 2000, jdk 1.4.2_08

    Description

      I found a bug in apache xmlbeans 2.2.0.

      Find attached two classes that show the problem.

      If you use:
      xbean.jar (xmlbeans 2.2.0)
      xbean_xpath.jar (xmlbeans 2.2.0)
      jsr173_1.0_api.jar (included in xmlbeans 2.2.0)

      You will get a 'WHAT!!!!' message.

      If you use:
      xbean.jar (xmlbeans 1.0.4)
      xbean_xpath.jar (xmlbeans 1.0.4)

      You will get a 'This is what I'm expecting' message.

      The problem is that the method Cursor.toNextSibling(String) doesn't use the argument.

      Attachments

        1. ASF.LICENSE.NOT.GRANTED--XmlBeansTest.java
          1.0 kB
          Andres Cuevas Alvarez
        2. ASF.LICENSE.NOT.GRANTED--XmlBeansTest2.java
          1 kB
          Andres Cuevas Alvarez
        3. XmlBeansTest2.java
          1 kB
          Andres Cuevas Alvarez
        4. Cursor.java
          116 kB
          Andres Cuevas Alvarez

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            acuevas Andres Cuevas Alvarez
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment