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

fn:not, fn:nilled, fn:empty, xs:boolean constructor - was: DPath: Vague SDE - 'Value has not been set'

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Reopened
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: s15
    • Fix Version/s: deferred
    • Component/s: Diagnostics, Usability
    • Labels:
      None

      Description

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

      I wrote test not_04 to test the following: "If $arg is...a node with [nilled] true, fn:not returns true"
      I set up a sequence where the first element is a nillable string (nameVal), and the second is a boolean with inputValueCalc set to fn:not(nameVal). This test only works against the current implementation with XPath when I cast nameVal to a string, but when I run it against the dpath2 branch, I get the following error:

      [error] Test edu.illinois.ncsa.daffodil.section23.dfdl_expressions.TestDFDLExpressions.test_not_04 failed: edu.illinois.ncsa.daffodil.dsom.SchemaDefinitionError: Schema Definition Error: Value has not been set.

      Please see test not_04 in the following file:
      daffodil-test/src/test/resources/edu/illinois/ncsa/daffodil/section23/dfdl_functions/Functions.tdml

        Gliffy Diagrams

          Attachments

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              jchab Jessie Chab
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:

                  Tasks

                  Progress: 
                   0/0