You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by "Mike Beckerle (Jira)" <ji...@apache.org> on 2021/04/20 16:59:00 UTC

[jira] [Commented] (DAFFODIL-2217) trailingEmptyStrict not being strict in this case

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

Mike Beckerle commented on DAFFODIL-2217:
-----------------------------------------

Adding more tests: https://github.com/apache/daffodil/pull/535

Test  test_sep_trailingEmptyStrict_1 fails because it should cause a parse error,  but does not.

Test test_sep_trailingEmptyStrict_2 works because it DOES detect the parse error.

The only difference between these two tests is one has maxOccurs="3" the other maxOccurs="4", the input data only has 2 elements in it.

 

> trailingEmptyStrict not being strict in this case
> -------------------------------------------------
>
>                 Key: DAFFODIL-2217
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-2217
>             Project: Daffodil
>          Issue Type: Bug
>          Components: Back End
>    Affects Versions: 2.4.0
>            Reporter: Mike Beckerle
>            Priority: Major
>         Attachments: test-6.tdml.xml
>
>
> This TDML test parse-test-6 should cause an error, but does not.
> The trailingEmptyStrict seems not to be checking in this case.
> See attached TDML file. (Which is not pasted here because if you do this, then any Jira search that uses a property name matches the ticket because every property is mentioned in the TDML).



--
This message was sent by Atlassian Jira
(v8.3.4#803005)