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

Sequence with 7-bit ASCII encoding expecting more bits

XMLWordPrintableJSON

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Normal Normal
    • 2.0.0
    • 2.0.0
    • None
    • None

      I created a test that uses X-DFDL-US-ASCII-7-BIT-PACKED encoding with a sequence with two elements with explicit length of 2, so I would expect it to need 28 bits total but it seems to want 30. Here's the error:

      [error] Test edu.illinois.ncsa.daffodil.section11.content_framing_properties.TestContentFramingPropertiesDebug.test_packed7BitASCII10 failed: edu.illinois.ncsa.daffodil.tdml.TDMLException: Parse Error: Insufficient bits available. Required 14 bits, but only 12 were available.
      [error] Schema context: element.s2 Location line 268 column 12 in file:/tmp/packed7BitASCII5940072276120378281.dfdl.xsd

      See test_packed7BitASCII10 in:
      daffodil-test/src/test/scala-debug/edu/illinois/ncsa/daffodil/section11/content_framing_properties/TestContentFramingPropertiesDebug.scala
      daffodil-test/src/test/resources/edu/illinois/ncsa/daffodil/section11/content_framing_properties/ContentFramingProps.tdml

              efinnegan Elizabeth Finnegan
              efinnegan Elizabeth Finnegan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: