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

                 Key: XMLBEANS-284
                 URL: http://issues.apache.org/jira/browse/XMLBEANS-284
             Project: XMLBeans
          Issue Type: Bug
          Components: Cursor
    Affects Versions: Version 2, Version 2.1, Version 2.2
         Environment: Windows 2000, jdk 1.4.2_08
            Reporter: Andres Cuevas Alvarez
            Priority: Critical
             Fix For: Version 1.0.4
         Attachments: XmlBeansTest.java, XmlBeansTest2.java

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.




-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to