You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by "Steve Lawrence (Jira)" <ji...@apache.org> on 2023/01/25 21:58:00 UTC

[jira] [Resolved] (DAFFODIL-2161) inputvalueCalc on direct dispatch choice branch is too verbose

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

Steve Lawrence resolved DAFFODIL-2161.
--------------------------------------
    Resolution: Fixed

Fixed in commit 38b0dbac0d2715057d65b3e993052e37cbb6ed6e

> inputvalueCalc on direct dispatch choice branch is too verbose
> --------------------------------------------------------------
>
>                 Key: DAFFODIL-2161
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-2161
>             Project: Daffodil
>          Issue Type: Bug
>          Components: Diagnostics
>            Reporter: Steve Lawrence
>            Assignee: Mike McGann
>            Priority: Trivial
>              Labels: beginner
>             Fix For: 3.5.0
>
>
> If a branch of a direct dispatch choice has the dfdl:inputValueCalcProperty, you get an error that contains the SSCD, which for a very deeply nested choice is not all that short. For example:
> {quote}
> [error] Schema Definition Error: Branch of choice foo::LocalComplexTypeDef::sequence[1]::foo::LocalComplexTypeDef::sequence[1]::choice[2]::baz cannot have the dfdl:inputValueCalc property.
> {quote}
> The SchemaContext provides enough information to figure out where the offending element is, so this provides no extra information and is too verbose. We should just remove the sscd from this error.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)