You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by "Mike Beckerle (Jira)" <ji...@apache.org> on 2021/11/30 16:27:00 UTC

[jira] [Created] (DAFFODIL-2594) Diagnostic message has wrong line number for setVariable with an expression error

Mike Beckerle created DAFFODIL-2594:
---------------------------------------

             Summary: Diagnostic message has wrong line number for setVariable with an expression error
                 Key: DAFFODIL-2594
                 URL: https://issues.apache.org/jira/browse/DAFFODIL-2594
             Project: Daffodil
          Issue Type: Bug
          Components: Diagnostics
    Affects Versions: 3.1.0
            Reporter: Mike Beckerle


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. 




--
This message was sent by Atlassian Jira
(v8.20.1#820001)