mike-mcgann commented on code in PR #985:
URL: https://github.com/apache/daffodil/pull/985#discussion_r1132373687
##########
daffodil-test/src/test/scala/org/apache/daffodil/section00/general/TestDisallowDocType.scala:
##########
@@ -87,7 +86,7 @@ class TestDisallowDocType {
}
@Test def test_infosetFileMustNotHaveDocType(): Unit = {
- val e = intercept[TDMLException] {
+ val e = intercept[SAXParseException] {
Review Comment:
Now that makes me wonder if Daffodil itself is the one causing the infinite
loop. Especially since you said that it looks like scala-xml isn't calling it
directly. Maybe the case where an exception is being handled but delegated but
then the handler doesn't know it is the delegate so it tries to handle it and
then delegates and gets caught in a loop. I'll take a deeper look and follow
the error handling paths.
--
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]