Uploaded image for project: 'Daffodil'
  1. Daffodil
  2. DFDL-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)

        Gliffy Diagrams

          Attachments

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              mbeckerle.dfdl Mike Beckerle
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:

                  Tasks

                  Progress: 
                   0/0