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

dfdl:nilKind 'literalValue' when the nil value contains delimiter characters

XMLWordPrintableJSON

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • deferred
    • None
    • Back End, DFDL Language
    • None

      There is no code to escapify the contents of the literalValue nil value during unparsing.

      So if this nil value happens to contain a delimiter character, and the lengthKind is delimited, then nothing will escape the delimiter that is part of the nil value, and so we will not be able to parse the data again.

      An alternative to fixing this is just SDE, but since initiators/terminators/separators can come from runtime-valued expressions, a simple static check to rule this out isn't comprehensive but might be practical.

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

                Created:
                Updated: