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 2021/01/21 14:52:00 UTC
[jira] [Assigned] (DAFFODIL-1503) Warning needed for length="0"
being ignored.
[ https://issues.apache.org/jira/browse/DAFFODIL-1503?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Steve Lawrence reassigned DAFFODIL-1503:
----------------------------------------
Assignee: Steve Lawrence
> Warning needed for length="0" being ignored.
> --------------------------------------------
>
> Key: DAFFODIL-1503
> URL: https://issues.apache.org/jira/browse/DAFFODIL-1503
> Project: Daffodil
> Issue Type: Bug
> Components: Diagnostics, Front End, Usability
> Reporter: Mike Beckerle
> Assignee: Steve Lawrence
> Priority: Minor
> Labels: dev-verify
>
> When using dfdl:outputValueCalc, a very common idiom is to create temporary locations that evaluate when unparsing, but which have no representation in the data.
> This is typically done by dfdl:length="0" dfdl:lengthKind="explicit".
> If you leave off the dfdl:lengthKind="explicit" however, and the surrounding format has dfdl:lengthKind of "implicit", then the dfdl:length="0" is just silently ignored.
> Similarly if dfdl:lengthKind="delimited" or "pattern" again the dfdl:length property will be ignored.
> This should either be an SDE, or SDW (schema definition warning)
--
This message was sent by Atlassian Jira
(v8.3.4#803005)