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

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

I concur that the SSCD in either form can just be removed from this error 
message. Given file and line number should be sufficient isolation for the user.

However, if this was complaining about an embedded schema inside a TDML file, 
then the file/line would be useless, and the SSCD would be all you have to go 
on.  That is, until we fix that other bug about not getting the file+line into 
the TDML for embedded schemas.

> 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)

Reply via email to