[ 
https://issues.apache.org/jira/browse/DAFFODIL-2042?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16756259#comment-16756259
 ] 

Josh Adams commented on DAFFODIL-2042:
--------------------------------------

I took a look into this and there wasn't an obvious, clean way to add more 
helpful error messages without breaking a lot of the path tests.

There has been talk about doing a significant redesign allowing better 
diagnostics in the somewhat near future (if I remember correctly), so perhaps 
this could be revisited then.

> Poor diagnostic message for using "/" instead of "div" in expression
> --------------------------------------------------------------------
>
>                 Key: DAFFODIL-2042
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-2042
>             Project: Daffodil
>          Issue Type: Bug
>          Components: Diagnostics
>            Reporter: Brandon Sloane
>            Priority: Major
>         Attachments: test.dfdl.xsd
>
>
> Schemas that attempt to use the "/" character for division do not result in a 
> descriptive error message.
>  
> Eg. using the expression \{ 4 / 2 } results in the error:
>  
> [error] Schema Definition Error: Unable to parse expression. Message: `}' 
> expected but `/' found
> Next: / 2 }.



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

Reply via email to