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

DPath: Error when using empty sequence in string functions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • s15
    • s15
    • None
    • None

    Description

      NOTE: this issue is with the "serializatoin-with-dpath2" branch, not the current 0.15.0 branch.

      All tests for string functions that used the empty sequence "()" as an argument failed with "java.lang.Exception: Schema Definition Error: Unable to parse expression. Message: `}' expected but `(' found"

      See tests:
      test_uppercase_03
      test_contains_04
      test_contains_03
      test_substringbefore_03
      test_substringbefore_02
      test_lowercase_03
      test_stringlength_03
      test_concat_05
      test_startswith_04
      test_startswith_03
      test_substringafter_03
      test_substringafter_02
      test_endswith_04
      test_endswith_03

      In files:
      daffodil-test/src/test/resources/edu/illinois/ncsa/daffodil/section23/dfdl_functions/Functions.tdml
      daffodil-test/src/test/scala/edu/illinois/ncsa/daffodil/section23/dfdl_expressions/TestDFDLExpressions.scala

      Attachments

        Activity

          People

            efahl Elizabeth Fahl
            efahl Elizabeth Fahl
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: