You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by "Dave Thompson (Jira)" <ji...@apache.org> on 2020/06/29 16:22:00 UTC
[jira] [Closed] (DAFFODIL-2340) TDML Runner suppresses loading
warnings from invalid config files
[ https://issues.apache.org/jira/browse/DAFFODIL-2340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dave Thompson closed DAFFODIL-2340.
-----------------------------------
Verified the specified commit (commit b8c15895e0eb6c7dba7eb7a9f57415313e46fa65) is included in the latest pull from the incubator-daffodil repository.
Verified the incubator-daffodil sbt test suites execute successfully.
Verified the nightly test schemas compile and save successfully.
Verified the nightly test suite executes successfully.
> TDML Runner suppresses loading warnings from invalid config files
> -----------------------------------------------------------------
>
> Key: DAFFODIL-2340
> URL: https://issues.apache.org/jira/browse/DAFFODIL-2340
> Project: Daffodil
> Issue Type: Bug
> Components: TDML Runner
> Affects Versions: 2.6.0
> Reporter: Mike Beckerle
> Assignee: Mike Beckerle
> Priority: Major
> Fix For: 2.7.0
>
>
> The TDML runner gathers up sax errors onto a loadingExceptions list.
> This list is only displayed if the TDML file is deemed invalid, which requires that the sax exception was reported as an error, not just as a warning.
> Even if the TDML is deemed valid, warnings should be output.
> In test_unqualifiedPathStepPolicy_defaultNamespace_test_01 a warning is being suppressed that should say:
> {code}
> org.apache.daffodil.xml.DFDLCatalogResolver Info[Unable to resolve file:/home/mbeckerle-unencrypted/daffodil/daffodil-test/target/scala-2.12/test-classes/org/apache/daffodil/section00/general/org/apache/daffodil/xsd/dafext.xsd in Some(file:/home/mbeckerle-unencrypted/daffodil/daffodil-test/target/scala-2.12/test-classes/org/apache/daffodil/section00/general/tunables.xml)]
> {code}
> Couple things though. First, that exception is because of an xsi:schemaLocation attribute on the daf:dfdlConfig element in the config file tunables.xml.
> That particular error is spurious. It *should* be finding and properly resolving. That's a separate ticket DAFFODIL-2339.
> But, for purposes of this ticket, this exception is on the loadingExceptions list and is suppressed entirely.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)