Mike Beckerle created DAFFODIL-2912:
---------------------------------------
Summary: Warning about Counterintuitive placement issued when not
needed
Key: DAFFODIL-2912
URL: https://issues.apache.org/jira/browse/DAFFODIL-2912
Project: Daffodil
Issue Type: Bug
Components: Front End
Affects Versions: 3.7.0
Reporter: Mike Beckerle
The warning "Counterintuitive placement detected. Wrap the discriminator or
assert in an empty sequence to evaluate before the contents. (id:
discouragedDiscriminatorPlacement)"
Is issued when an assert/discriminator appears on a sequence, without regard to
whether that assert/discriminator uses testKind 'expression' or 'pattern'.
It should be issued only for testKind 'expression'.
See DFDL spec Section 9.5 Evaluation Order for Statement Annotations
--
This message was sent by Atlassian Jira
(v8.20.10#820010)