mbeckerle commented on a change in pull request #431:
URL: https://github.com/apache/incubator-daffodil/pull/431#discussion_r512728138



##########
File path: 
daffodil-runtime1/src/main/scala/org/apache/daffodil/processors/DataProcessor.scala
##########
@@ -243,6 +250,18 @@ class DataProcessor private (
 
   def withValidationMode(mode:ValidationMode.Type): DataProcessor = 
copy(validationMode = mode)
 
+  def withValidator(validator: Validator): DataProcessor = copy(validationMode 
= ValidationMode.Custom(validator))
+
+  lazy val validator: Validator = {

Review comment:
       Right. Maybe I need more coffee today. 




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