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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • Version 2.4.1
    • None
    • XmlObject
    • None
    • Win XP

    Description

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

      Attachments

        Activity

          People

            Unassigned Unassigned
            jj2012 J J
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: