[ 
https://issues.apache.org/jira/browse/DAFFODIL-879?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Steve Lawrence reopened DAFFODIL-879:
-------------------------------------

I think we need to reopen this issue. Doing some unrelated testing, i found we 
are getting the error "looks like an expression but cannot be an expression" 
for properties that can be expressions. The ones I saw it on are 
choiceDispatchKey, inputValueCalc, and outputValueCalc. Very possible there are 
others. We need to rescrutinize all the places findPropertyOption is called and 
makes sure we have expresionAllowed set correctly.

> Warn when using an expression in a property that does not accept expressions
> ----------------------------------------------------------------------------
>
>                 Key: DAFFODIL-879
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-879
>             Project: Daffodil
>          Issue Type: Improvement
>          Components: Diagnostics, Middle "End", Usability
>            Reporter: Steve Lawrence
>            Assignee: IanCarlson
>            Priority: Minor
>              Labels: beginner
>             Fix For: 3.0.0
>
>
> For example, if you have the following:
> {code}
> dfdl:textStandardInfinityRep="{ ../ex:infrep }"
> {code}
> it would be helpful if we displayed a warning alerting the user that they are 
> probably using the infinity rep in a manner that will never evaluate.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to