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

Tests pass using embedded schema but fail when schema is not embedded.

XMLWordPrintableJSON

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • s12
    • None
    • Infrastructure
    • None

      The tests are in daffodil-test\src\test\scala-debug\daffodil\section07\variables\TestVariablesDebug.scala. The tests, setVar1, doubleSetErr, and setAfterReadErr, pass when using the embedded schema but the same tests, setVar1_d, doubleSetErr_d, and setAfterReadErr_d, fail when the schema is not embedded. The error message for all 3 tests is:

      daffodil.exceptions.NotYetImplementedException: Not yet implemented.

      {http://www.ogf.org/dfdl/dfdl-1.0/XMLSchemaSubset}

      int
      daffodil.exceptions.Assert$.notYetImplemented(Assert.scala:45)
      daffodil.dsom.ExpressionCompiler.convertTypeString(CompiledExpression.scala:193)
      daffodil.processors.VariableFactory$.create(VariableMap.scala:118)
      daffodil.dsom.DFDLDefineVariable.newVariableInstance(DFDLAnnotation.scala:642)

      Please see commit in 73d55d9 in master.

              jchab Jessie Chab
              pchu Paul Chu (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: