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

RoundTrip: Need to implement the ability to skip bits (ElementUnused region)

XMLWordPrintableJSON

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocking Blocking
    • 2.0.0
    • None
    • Unparsing
    • None

      When unparsing, if a complex parent element has a specified length, and the children element do not fill that space, then those bytes need to be skipped using the fillByte. This should happen in the SpecifiedLengthUnparserBase, but it was broken so was commented out. It was broken because skipping is bits similar to alignment in that you cannot do it until the absolute position is determined.

      If you lookat OptionalWSPTermWithExplicitLength and OptionalWSPTermWithExplicitLength2, those test should round trip, but are currently disabled due to lack of this feature.

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

                Created:
                Updated:
                Resolved: