You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by "John Interrante (Jira)" <ji...@apache.org> on 2022/12/28 21:16:00 UTC
[jira] [Resolved] (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 ]
John Interrante resolved DAFFODIL-2496.
---------------------------------------
Fix Version/s: 3.5.0
Resolution: Fixed
Fixed in commit abe36cb220ae389c86b040b8e05cfdf0f04de6aa
> 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
> Fix For: 3.5.0
>
>
> 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)