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

Unparse: circularly deadlocked due to alignment

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 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.

      Gliffy Diagrams

        Attachments

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Tasks