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 2018/07/19 21:57:00 UTC

[jira] [Comment Edited] (DAFFODIL-1948) DFDLGeneralFormat has dfdl:occursCountKind 'parsed'. Should be 'implicit'

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

Michael Beckerle edited comment on DAFFODIL-1948 at 7/19/18 9:56 PM:
---------------------------------------------------------------------

Testing indicates that if you change occursCountKind to implicit and separatorSuppressionPolicy to trailingEmptyStrict, that the daffodil-test module gets 40 test failures. 
(on master as of 2018-07-19) 

Since I am refactoring the implementation of separators, it is unwise to try to debug these issues prior to that change being complete.


was (Author: mbeckerle):
Testing indicates that if you change occursCountKind to implicit and separatorSuppressionPolicy to trailingEmptyStrict, that the daffodil-test module gets 40 test failures. 
(on master as of 2018-07-19) 

> DFDLGeneralFormat has dfdl:occursCountKind 'parsed'. Should be 'implicit'
> -------------------------------------------------------------------------
>
>                 Key: DAFFODIL-1948
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-1948
>             Project: Daffodil
>          Issue Type: Bug
>          Components: Front End
>    Affects Versions: 2.1.0
>            Reporter: Michael Beckerle
>            Assignee: Michael Beckerle
>            Priority: Major
>             Fix For: 2.2.0
>
>
> Defaulting dfdl:occursCountKind to 'parsed' creates lots of undesirable behaviors. E.g., even optional elements (maxOccurs=1) are treated as possible arrays. 
> The right default behavior here is given by dfdl:occursCountKind 'implicit'. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)