[
https://issues.apache.org/jira/browse/DAFFODIL-2895?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Steve Lawrence resolved DAFFODIL-2895.
--------------------------------------
Fix Version/s: 3.8.0
Resolution: Fixed
Fixed in commit b2aa98d9648c69c9a4e518b3826ef25f550ec786
> Runtime SDE in ElementCombinator parser with validation causes "Expression
> Evaluation Error: Element does not have a value"
> ---------------------------------------------------------------------------------------------------------------------------
>
> Key: DAFFODIL-2895
> URL: https://issues.apache.org/jira/browse/DAFFODIL-2895
> Project: Daffodil
> Issue Type: Bug
> Components: Back End
> Affects Versions: 3.7.0
> Reporter: Steve Lawrence
> Priority: Major
> Fix For: 3.8.0
>
>
> The finally block for the ElementCombinator parser calls parseEnd which does
> restriction validation. But if an exception was thrown then we do not have a
> value to validate, which creates an "Element does not have a value" exception
> and hides the underlying exception. We should only perform validation if the
> parser actually succeeds, so this logic needs to be moved out of the finally
> block.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)