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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: s4
    • Fix Version/s: s5
    • Component/s: Back End, Middle "End"
    • Labels:
      None

      Description

      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".

        Gliffy Diagrams

          Attachments

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:

                  Tasks