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:48:00 UTC

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

    [ https://issues.apache.org/jira/browse/DAFFODIL-2594?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17451243#comment-17451243 ] 

Mike Beckerle commented on DAFFODIL-2594:
-----------------------------------------

Same issue does occur for newVariableInstance

See test_newVariableInstance_neg_line_info_01

> 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
>            Priority: Minor
>
> 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)