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

valueLength with lengthUnit 'characters' not implemented

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.0
    • Component/s: Front End
    • Labels:
      None

      Description

      The function valueLength with lengthUnit of characters has not been implemented yet.

      [error] Test edu.illinois.ncsa.daffodil.section23.dfdl_expressions.TestDFDLExpressionsDebug.test_valueLength_unparse_1 failed: scala.NotImplementedError: an implementation is missing
      [error]     at scala.Predef$.$qmark$qmark$qmark(Predef.scala:230)
      [error]     at edu.illinois.ncsa.daffodil.dpath.DFDLLengthFunctionBase$$anonfun$1.apply(DFDLFunctions2.scala:61)
      [error]     at edu.illinois.ncsa.daffodil.dpath.DFDLLengthFunctionBase$$anonfun$1.apply(DFDLFunctions2.scala:48)
      [error]     at edu.illinois.ncsa.daffodil.dpath.DState$.withRetryIfBlocking(DState.scala:375)

      See test_valueLength_2 and test_valueLength_unparse_1 in:
      daffodil-test/src/test/resources/edu/illinois/ncsa/daffodil/section23/dfdl_functions/Functions.tdml
      daffodil-test/src/test/scala-debug/edu/illinois/ncsa/daffodil/section23/dfdl_expressions/TestDFDLExpressionsDebug.scala

        Gliffy Diagrams

          Attachments

            Activity

              People

              Assignee:
              efinnegan Elizabeth Finnegan
              Reporter:
              efinnegan Elizabeth Finnegan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Tasks