olabusayoT commented on code in PR #1650:
URL: https://github.com/apache/daffodil/pull/1650#discussion_r3066084725
##########
daffodil-tdml-lib/src/main/scala/org/apache/daffodil/tdml/TDMLRunner.scala:
##########
@@ -2800,7 +2800,7 @@ case class DFDLInfoset(di: Node, parent: Infoset) {
val testSuite = testCase.parent
val before = testSuite.loadingExceptions.clone()
- val elem = loader.load(infosetSrc, None) // no schema
+ val elem = loader.load(infosetSrc, None, noNormalizations = true) // no
schema
Review Comment:
I think the TDML runner calls normalize which would remove comments for
non-stringAsXML elems, the issue was the load was removing it wholesale, which
is not what we wanted
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]