Uploaded image for project: 'Daffodil'
  1. Daffodil
  2. DFDL-1644

xs:unsignedLong does not compare correctly to other types

XMLWordPrintableJSON

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 2.0.0
    • None
    • Middle "End"
    • None

      For example, if you have an expression test="xs:unsignedLong(0) eq xs:int(0)". This fails because it ends up comparing a java.math.BigInteger with a java.lang.Integer, which always fails. We probably want to coerce the Integer (and other int-based types) into a BigInteger when comparing with an xs:unsignedLong.

              dthompson David Thompson
              slawrence Steve Lawrence
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: