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


##########
daffodil-core/src/main/scala/org/apache/daffodil/runtime1/processors/DataProcessor.scala:
##########
@@ -317,15 +273,13 @@ class DataProcessor(
     //
     // Make a copy of this object so that we can make its saved state
     // different than its original state.  Note other software like
-    // Apache Spark may require variableMap and validationMode to be
+    // Apache Spark may require variableMap to be
     // preserved.  But for our save/reload purposes, we want to reset
     // them back to their original values.
     //
     val dpToSave = this.copy(
       // reset to original variables defined in schema
       variableMap = ssrd.originalVariables,
-      // explicitly turn off validation, reloaded processors must call 
withValidationMode
-      validationMode = ValidationMode.Off,

Review Comment:
   I changed Validator to allow it to be serializable and set validator to 
NoValidator explicitly



-- 
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: commits-unsubscr...@daffodil.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to