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

Delimiter scanning takes into account too many delimiters

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.4.0
    • 4.0.0
    • Back End, DFDL Language
    • None

    Description

      When scanning for delimiters, we can sometimes scan for delimiters that we shouldn't. See test delmiterScanning_03 in SequenceGroupDelimiters.tdml as an example where we scan for comma separator that, while it is in scope, should be ignored because the element is the last in the sequence with an infix separator.

      I've confirmed that the DelimitedStringParser scans for and finds the wrong delimiter, but it's possible that this is a problem in the delimiter stack. Perhaps we need to manipulate the delimiter stack when we determine that the current scope of delimiters should be ignored due to being the last in the sequence? With the correct stack, all the delimiter scanning and delimite consuming sould just work.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: