Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.6.0
-
None
Description
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:
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)]
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.