[
https://issues.apache.org/jira/browse/DAFFODIL-2810?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17885097#comment-17885097
]
Olabusayo Kilo commented on DAFFODIL-2810:
------------------------------------------
So are we thinking like a global option "-e or –escalateWarnings" that calls
error(sdw) instead of warn(sdw) in ImplementsThrowsOrSavesSDE.SDW()?
{code:java}
daffodil -e -s schema.xsd infile.bin{code}
{code:java}
if (escalate) {
error(sdw)
} else {
warn(sdw)
}{code}
> option to escalate schema definition warnings to errors
> -------------------------------------------------------
>
> Key: DAFFODIL-2810
> URL: https://issues.apache.org/jira/browse/DAFFODIL-2810
> Project: Daffodil
> Issue Type: New Feature
> Components: Front End
> Affects Versions: 3.4.0
> Reporter: Mike Beckerle
> Priority: Major
>
> Just as Java and Scala comiplers have a flag that says to escalate warnings
> to errors, Daffodil needs the same.
> In too many cases, warnings about ignored properties slip through the cracks
> when they really indicate major problems with the schema.
> As an example, DAFFODIL-2809 was about warnings when a dfdlx:repType was
> being ignored.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)