You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xmlbeans.apache.org by "Andres Cuevas Alvarez (JIRA)" <xm...@xml.apache.org> on 2006/08/11 18:41:14 UTC

[jira] Created: (XMLBEANS-284) The method Cursor.toNextSibling(String) doesn't use the argument.

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: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org


[jira] Updated: (XMLBEANS-284) The method Cursor.toNextSibling(String) doesn't use the argument.

Posted by "Andres Cuevas Alvarez (JIRA)" <xm...@xml.apache.org>.
     [ http://issues.apache.org/jira/browse/XMLBEANS-284?page=all ]

Andres Cuevas Alvarez updated XMLBEANS-284:
-------------------------------------------

    Attachment: XmlBeansTest2.java

The previous XmlBeansTest2 class was incorrect.

> 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, 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: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org


[jira] Commented: (XMLBEANS-284) The method Cursor.toNextSibling(String) doesn't use the argument.

Posted by "Andres Cuevas Alvarez (JIRA)" <xm...@xml.apache.org>.
    [ http://issues.apache.org/jira/browse/XMLBEANS-284?page=comments#action_12429178 ] 
            
Andres Cuevas Alvarez commented on XMLBEANS-284:
------------------------------------------------

I uploaded the class org.apache.xmlbeans.impl.store.Cursor

The change made to the class solves this issue.

Old code:

public boolean _toNextSibling(String name) {
    return Locale.toNextSiblingElement(_cur);
}

New Code:

public boolean _toNextSibling(String name) {
    return _toNextSibling(new QName(name));
}

> 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: Cursor.java, XmlBeansTest.java, XmlBeansTest2.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: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org


[jira] Updated: (XMLBEANS-284) The method Cursor.toNextSibling(String) doesn't use the argument.

Posted by "Andres Cuevas Alvarez (JIRA)" <xm...@xml.apache.org>.
     [ http://issues.apache.org/jira/browse/XMLBEANS-284?page=all ]

Andres Cuevas Alvarez updated XMLBEANS-284:
-------------------------------------------

    Attachment: Cursor.java

Cursor class with the fix, this class was extracted from Xmlbeans 2.2.0 source code.

> 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: Cursor.java, XmlBeansTest.java, XmlBeansTest2.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: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org


[jira] Updated: (XMLBEANS-284) The method Cursor.toNextSibling(String) doesn't use the argument.

Posted by "Andres Cuevas Alvarez (JIRA)" <xm...@xml.apache.org>.
     [ https://issues.apache.org/jira/browse/XMLBEANS-284?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andres Cuevas Alvarez updated XMLBEANS-284:
-------------------------------------------

    Fix Version/s:     (was: Version 1.0.4)

> The method Cursor.toNextSibling(String) doesn't use the argument.
> -----------------------------------------------------------------
>
>                 Key: XMLBEANS-284
>                 URL: https://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
>         Attachments: Cursor.java, XmlBeansTest.java, XmlBeansTest2.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.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org


[jira] Resolved: (XMLBEANS-284) The method Cursor.toNextSibling(String) doesn't use the argument.

Posted by "Wing Yew Poon (JIRA)" <xm...@xml.apache.org>.
     [ https://issues.apache.org/jira/browse/XMLBEANS-284?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wing Yew Poon resolved XMLBEANS-284.
------------------------------------

       Resolution: Fixed
    Fix Version/s:  Version 2.3.1

Fixed in revision 603802.

> The method Cursor.toNextSibling(String) doesn't use the argument.
> -----------------------------------------------------------------
>
>                 Key: XMLBEANS-284
>                 URL: https://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 2.3.1
>
>         Attachments: Cursor.java, XmlBeansTest.java, XmlBeansTest2.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.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org


[jira] Commented: (XMLBEANS-284) The method Cursor.toNextSibling(String) doesn't use the argument.

Posted by "Andres Cuevas Alvarez (JIRA)" <xm...@xml.apache.org>.
    [ https://issues.apache.org/jira/browse/XMLBEANS-284?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12526824 ] 

Andres Cuevas Alvarez commented on XMLBEANS-284:
------------------------------------------------

Hi, I just want to know why this issue has not been solved after more than a year.
The solution of the problem is included in this jira.

It seems like nobody cares about closing the old issues that are still pending.

> The method Cursor.toNextSibling(String) doesn't use the argument.
> -----------------------------------------------------------------
>
>                 Key: XMLBEANS-284
>                 URL: https://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
>         Attachments: Cursor.java, XmlBeansTest.java, XmlBeansTest2.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.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org