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 2022/12/19 19:51:00 UTC

[jira] [Assigned] (DAFFODIL-2496) implement emptyElementParsePolicy as a dfdl property. It is part of DFDL 1.0

     [ https://issues.apache.org/jira/browse/DAFFODIL-2496?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mike Beckerle reassigned DAFFODIL-2496:
---------------------------------------

    Assignee: Mike McGann

> implement emptyElementParsePolicy as a dfdl property. It is part of DFDL 1.0
> ----------------------------------------------------------------------------
>
>                 Key: DAFFODIL-2496
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-2496
>             Project: Daffodil
>          Issue Type: Bug
>          Components: Front End
>    Affects Versions: 3.0.0
>            Reporter: Mike Beckerle
>            Assignee: Mike McGann
>            Priority: Major
>              Labels: beginner
>
> emptyElementParsePolicy was a proposed extension to DFDL at the time we implemented it.
> However, it was accepted and is part of DFDL v1.0.
> Hence, we need to implement it as an official DFDL property, not just as an extension.
> Note that our extension dfdlx:emptyElementParsePolicy had enums 'treatAsEmpty' and 'treatAsMissing'.
> The official DFDL 1.0 property renamed 'treatAsMissing' to 'treatAsAbsent'.
> The meanings of the enums did not change.
> We should continue to accept the extension dfdlx property with the original enum values, and detect if both the official and extension properties exist and are in conflict.
> We should issue a suppressable warning about the extension property, suggesting upgrading the DFDL schema to use the official property. 
> The new official emptyElementParsePolicy should, if not defined, generate a suppressable warning, and get a default 'treatAsEmpty'.
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)