stevedlawrence commented on a change in pull request #463:
URL: https://github.com/apache/incubator-daffodil/pull/463#discussion_r560159726
##########
File path:
daffodil-test/src/test/resources/org/apache/daffodil/section02/schema_definition_errors/SchemaDefinitionErrors.tdml
##########
@@ -203,9 +203,11 @@
description="">
<tdml:document><![CDATA[test]]></tdml:document>
- <tdml:errors>
- <tdml:error />
- </tdml:errors>
+ <tdml:infoset>
+ <tdml:dfdlInfoset>
+ <elem>test</elem>
+ </tdml:dfdlInfoset>
+ </tdml:infoset>
Review comment:
Just want to point out that if there is not a ``<tdml:warning>`` element
in a test, the TDML runner doesn't care if there are warnings or not. The TMDL
Runner only requires that warnings exist if the ``<tdml:warnigns>`` element
exists. So unfortunately there's no way test that no warnings were output.
Probably still worth having this, since some point we will want to add that
feature and if we are ignoring a warning here, that would be caught some day.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]