[
https://issues.apache.org/jira/browse/DAFFODIL-2880?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17828434#comment-17828434
]
John Interrante commented on DAFFODIL-2880:
-------------------------------------------
<[Update scallop to 5.1.0 by scala-steward · Pull Request #1186 ·
apache/daffodil (github.com)|https://github.com/apache/daffodil/pull/1186]> now
allows scallop to define validation functions on props, which could be useful
for fixing this lack of a warning.
> CLI tunable option does not have an affect using saved parser -- needs
> error/warning
> ------------------------------------------------------------------------------------
>
> Key: DAFFODIL-2880
> URL: https://issues.apache.org/jira/browse/DAFFODIL-2880
> Project: Daffodil
> Issue Type: Bug
> Components: CLI
> Reporter: Steve Lawrence
> Priority: Minor
>
> When using the CLI with the --parser option to use a saved parser, the -T
> option to set tunables has no affect. Instead, Daffodil uses the values of
> tunables set at schema compilation time.
> This is probably the correct behavior since it could potentially cause odd
> behavior to have different tunables for schema compilation and schema
> parsing, but there is no warning or error message that they are ignored and
> have no affect. So Daffodil just silently ignores the tunable values, which
> can be confusing if you are expecting a different behavior.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)