stevedlawrence commented on code in PR #1526:
URL: https://github.com/apache/daffodil/pull/1526#discussion_r2260822007
##########
daffodil-cli/src/main/scala/org/apache/daffodil/cli/Main.scala:
##########
@@ -177,7 +177,7 @@ class CLIConf(arguments: Array[String], stdout:
PrintStream, stderr: PrintStream
(name, schema.map(_.uri).toOption)
case _ =>
throw new Exception(
- "Unrecognized Validator name %s. Must be 'xerces', 'limited',
'off', or name of spi validator."
+ "Missing Validator name %s. Must be 'xerces', 'daffodil',
'schematron', 'off', or name of a custom validator."
Review Comment:
If the default case is just when you have `--validate` with no name, then I
think the %s will just be the empty string? Should this just be, "Missing
validator name. Must be ..."
--
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]