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

Bad diagnostic message: The type Complex cannot be converted to ....

    XMLWordPrintableJSON

Details

    Description

      The type Complex cannot be converted to .....

      This schema definition error is produced in situations where one has a complex element type, but you are using it in an expression that requires a simple type.

      The message needs to provide more info. E.g.,

      test_checkConstraintsComplexTypeFails has an expression containing dfdl:checkConstraints(.) but on a complex type. The message doesn't contain the expression text anywhere.

      test_assertFailShowsValue2 has an assertion which tries to evaluate the expression "." on a complex type. Again no mention of the expression, or it appearing in an assertion test.

      Attachments

        Activity

          People

            Steinberger Rick
            mbeckerle Mike Beckerle
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: