You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xmlbeans.apache.org by "J J (JIRA)" <xm...@xml.apache.org> on 2009/04/28 17:43:30 UTC

[jira] Created: (XMLBEANS-406) (XmlObject.Factory.newInstance()).compareTo(XmlObject.Factory.newInstance()) generates unexpected class cast exception

(XmlObject.Factory.newInstance()).compareTo(XmlObject.Factory.newInstance()) generates unexpected class cast exception
----------------------------------------------------------------------------------------------------------------------

                 Key: XMLBEANS-406
                 URL: https://issues.apache.org/jira/browse/XMLBEANS-406
             Project: XMLBeans
          Issue Type: Bug
          Components: XmlObject
    Affects Versions: Version 2.4.1 
         Environment: Win XP
            Reporter: J J
            Priority: Minor


 (XmlObject.Factory.newInstance()).compareTo(XmlObject.Factory.newInstance())  generates unexpected class cast exception
and 
(XmlObject.Factory.newInstance()).compareValue(XmlObject.Factory.newInstance()) generates 2 

I would have expected these to be equal. This prevents testing for empty objects - I havn't identified a work around.


-- 
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