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

Diagnostic message has wrong line number for setVariable with an expression error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.1.0
    • None
    • Diagnostics
    • None

    Description

      See test_setVariable_neg_line_info_01

      The line number given is the xs:schema element, which is useless. It should be the line number of the setVariable statement.

      A similar issue almost certainly will occur for dfdl:newVariableInstance if the default value expression gets a runtime error as well.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mbeckerle Mike Beckerle
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: