You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by "Steve Lawrence (Jira)" <ji...@apache.org> on 2021/08/09 14:02:00 UTC
[jira] [Resolved] (DAFFODIL-2182) Expression .[1] on array should
evaluate to the value of the first element. Produces value of current
element.
[ https://issues.apache.org/jira/browse/DAFFODIL-2182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Steve Lawrence resolved DAFFODIL-2182.
--------------------------------------
Resolution: Not A Bug
Working as expected. Resolving as not a bug.
> Expression .[1] on array should evaluate to the value of the first element. Produces value of current element.
> --------------------------------------------------------------------------------------------------------------
>
> Key: DAFFODIL-2182
> URL: https://issues.apache.org/jira/browse/DAFFODIL-2182
> Project: Daffodil
> Issue Type: Bug
> Components: Middle "End"
> Affects Versions: 2.4.0
> Reporter: Mike Beckerle
> Assignee: Mike Beckerle
> Priority: Minor
> Fix For: 3.2.0
>
>
> See test_array_self_expr1.
> I believe when an element is an array, that .[i] should be meaningful.
> It appears that the DPath compiler is creating an implementation that just gets the value of the current element ignoring the indexing.
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)