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/08/16 15:27:00 UTC
[jira] [Commented] (DAFFODIL-1720) missing properties not reported
[ https://issues.apache.org/jira/browse/DAFFODIL-1720?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16582692#comment-16582692 ]
Michael Beckerle commented on DAFFODIL-1720:
--------------------------------------------
Since many schemas will not have these properties defined, there should be a tunable flag that turns this check on/off. Default off should create a schema definition warning that these properties are required but not specified. Changing the tunable should make this an SDE.
Tunable should default to warnings, and those can be suppressed by the regular warning suppression mechanism.
> missing properties not reported
> -------------------------------
>
> Key: DAFFODIL-1720
> URL: https://issues.apache.org/jira/browse/DAFFODIL-1720
> Project: Daffodil
> Issue Type: Bug
> Components: Compatibility, Diagnostics, Front End
> Reporter: Michael Beckerle
> Priority: Major
> Labels: beginner
> Fix For: 2.3.0
>
>
> Recent work on a DFDL schema for Praat TextGrid this was observed on the DFDL WG mailing list {code}
> 1) IBM DFDL validates the DFDL schema before parsing and it found some missing properties. The DFDL specification says that if a schema object needs a property then you must provide a value, there are no build-in defaults. The missing properties are:
> - textBidi="no"
> - floating="no"
> - encodingErrorPolicy="error"
> Daffodil is presumably not reporting their absence as an error, which strictly speaking is non-compliance with the DFDL spec.
> If you add them into your dfdl:defineFormat then the errors go away.
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)