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

Checker for Infoset to insure only the proper type objects are added to infoset elements.

XMLWordPrintableJSON

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 2.0.0
    • None
    • Back End
    • None

      Yes. In general we should put in a checker that insists what is added to, and taken from the infoset is only the set of specific types we want.

      For example, I found that hexBinary was being put into the infoset as a string of hex-digit characters, not as an Array[Byte]. At least for some of the forms of hexBinary. This is now only Array[Byte] (I think)

      We have to decide what the set of things is. For example, I have been trying to use java.lang.Number and subtypes thereof, but both java.lang.BigInteger and scala.BigInt are subtypes of java.lang.Number. Similarly decimal. For calendars are we using the wrapped DFDLCalendar, or raw underlying one?

              Unassigned Unassigned
              mbeckerle.dfdl Mike Beckerle
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - Not Specified
                  Not Specified
                  Logged:
                  Time Spent - 15 minutes
                  15m