mbeckerle commented on a change in pull request #560:
URL: https://github.com/apache/daffodil/pull/560#discussion_r636278911



##########
File path: 
daffodil-tdml-lib/src/main/scala/org/apache/daffodil/tdml/TDMLRunner.scala
##########
@@ -2402,8 +2402,9 @@ case class DFDLInfoset(di: Node, parent: Infoset) {
     // The expected infoset is loaded using the normalizeCRLFtoLF mode (which
     // is the default), so MS-DOS/Windows CRLFs in expected data XML files will
     // have been converted into LF at this point.
-    if (elem ne null)
+    if ((elem ne null) && elem.toString.contains("\r")) {
       Assert.invariant(!elem.toString.contains("\r"))

Review comment:
       Once I get this debugged I will remove this one. Yes it is way too 
costly. 




-- 
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]


Reply via email to