Uploaded image for project: 'Daffodil'
  1. Daffodil
  2. DAFFODIL-1650

Unparse: circularly deadlocked due to alignment

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0
    • Unparsing
    • None

    Description

      In a DFDL schema, we have a file type that is entirely made up of byte aligned data (all ascii or hexBinary). However, isKnownToBePreceeedByAllByteLengthItems is (incorrectly) false, and so numerous AlignmentFill and MandatoryTextAlignment parsers/unparsers are inserted. These aren't really necessary but do not prevent parsing from successfully finishing. However, during unparse, we may need to get the dfdl:valueLength of an array. But because of the alignment parsers, we end up with circularly deadlocked

      To allow allow unparsing to successfully finish, we probably need to fix isKnownToBePreceededByAllByteLengthItems.

      Attachments

        Activity

          People

            Unassigned Unassigned
            slawrence Steve Lawrence
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: