Mike Beckerle created DAFFODIL-2979:
---------------------------------------
Summary: optional element in expression should not require indexing
Key: DAFFODIL-2979
URL: https://issues.apache.org/jira/browse/DAFFODIL-2979
Project: Daffodil
Issue Type: Bug
Components: Front End
Affects Versions: 3.10.0
Reporter: Mike Beckerle
Suppose 'bar' is an optional element, i.e., minOccurs 0, maxOccurs 1 and
dfdl:occursCountKind is not 'parsed' (because that would make it an array).
Then expressions like:
```
foo/bar/baz
```
should *not* require indexing a child of the bar element. I.e., this should
*not* be required but was reported that it is required:
```
foo/bar[1]/baz
```
The indexing should only be _required_ for arrays.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)