You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@daffodil.apache.org by "Michael Beckerle (JIRA)" <ji...@apache.org> on 2019/06/20 19:45:00 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=16868879#comment-16868879 ] 

Michael Beckerle commented on DAFFODIL-2161:
--------------------------------------------

I recently changed this to a much shorter formula for what SSCDs look like.

Should be in since git hash 015891ff982144ab07f092a25ab133707a9a31e9

What version was this bug in?

The new SSCD for the path you showed would be something like

e=ex:foo:ct:s:e=foo:ct:s:c2:e=baz

I don't know that I displaced all old usages. The old path code may still be there, but the way to fix this is also there.

> 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
>            Priority: Major
>
> 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
(v7.6.3#76005)