olabusayoT commented on code in PR #1610:
URL: https://github.com/apache/daffodil/pull/1610#discussion_r2683775849


##########
daffodil-core/src/main/scala/org/apache/daffodil/runtime1/processors/DataProcessor.scala:
##########
@@ -190,7 +190,7 @@ class DataProcessor(
     copy(variableMap = newVariableMap)
   }
 
-  override def isError = false
+  override def isError = ssrd == null || ssrd.parser == null && ssrd.unparser 
== null

Review Comment:
   I think if onPath failed, it ended up throwing an error so the user never 
had a chance to check dp.isError
   
   But till do!



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

Reply via email to