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

Warning needed for length="0" being ignored.

    XMLWordPrintableJSON

Details

    Description

      When using dfdl:outputValueCalc, a very common idiom is to create temporary locations that evaluate when unparsing, but which have no representation in the data.

      This is typically done by dfdl:length="0" dfdl:lengthKind="explicit".

      If you leave off the dfdl:lengthKind="explicit" however, and the surrounding format has dfdl:lengthKind of "implicit", then the dfdl:length="0" is just silently ignored.

      Similarly if dfdl:lengthKind="delimited" or "pattern" again the dfdl:length property will be ignored.

      This should either be an SDE, or SDW (schema definition warning)

      Attachments

        Activity

          People

            slawrence Steve Lawrence
            mbeckerle Mike Beckerle
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: