You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@daffodil.apache.org by "Michael Beckerle (JIRA)" <ji...@apache.org> on 2019/07/12 19:21:00 UTC
[jira] [Created] (DAFFODIL-2182) Expression .[1] on array should
evaluate to the value of the first element. Produces value of current
element.
Michael Beckerle created DAFFODIL-2182:
------------------------------------------
Summary: 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: Michael Beckerle
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
(v7.6.14#76016)