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

lengthKind="pattern" doesn't work with nilKind="literalValue" - No implementation of LiteralNil for patterns

XMLWordPrintableJSON

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • s5
    • s4
    • Back End, Middle "End"
    • None

      In some formats fields are delimited using lengthKind="pattern" with an initiator of "/", and a pattern length that means "anything up to but excluding the next /".

      These same formats use "-" as a nil value.

      The implementation of LiteralNil currently seems to assume delimited length, and scans until end of data. (Should be renamed LiteralNilDelimitedOrEndOfData).

      A LiteralNilPattern primitive needs to be created which works more like StringPatternMatched. This primitive needs to be used when the lengthKind="pattern".

              jchab Jessie Chab
              mbeckerle.dfdl Mike Beckerle
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: