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

dfdl:lengthUnits not implemented

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: s3
    • Component/s: None
    • Labels:
      None

      Description

      The annotation parser does not recognize dfdl:lengthUnits. This is problematic for bit fields that are not aligned to bytes.

      However, behavior is correct when specifying the length of a string in a wide encoding, e.g., UTF-16. Need to investigate how the processor decides to read length * 2 bytes in that case.

      For bit fields that are not aligned to bytes, the processor needs to make some provision for extracting the bits and computing the correct integer value. I'm not sure if anything of the sort is currently implemented.

        Gliffy Diagrams

          Attachments

            Activity

              People

              Assignee:
              pchu Paul Chu (Inactive)
              Reporter:
              futrelle Joe Futrelle (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Tasks