Steve Lawrence created DAFFODIL-1965:
----------------------------------------

             Summary: dfdl:assert and dfdl:discriminator "message" attribute 
does not work for DFDL Expressions
                 Key: DAFFODIL-1965
                 URL: https://issues.apache.org/jira/browse/DAFFODIL-1965
             Project: Daffodil
          Issue Type: Bug
          Components: Back End, Front End
    Affects Versions: 2.1.0
            Reporter: Steve Lawrence
             Fix For: 2.2.0


The message attribute for dfdl:assert and dfdl:discriminator is allowed to be a 
DFDL expression, for example:
{code:java}
<dfdl:assert message="{ fn:concat('unknown case ', ../data1) 
}">...</dfdl:assert>{code}
However, we currently treat the message as a string, and never evaluate the 
expression, even if it contains braces. To resolve this issue, we should create 
a new Evaluatable for the message attribute and pass that into the 
assert/discriminator parsers.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to