mbeckerle commented on a change in pull request #343: Daffodil 2302 fixes
external variables API difficulties
URL: https://github.com/apache/incubator-daffodil/pull/343#discussion_r400967665
##########
File path: daffodil-japi/src/main/scala/org/apache/daffodil/japi/Daffodil.scala
##########
@@ -122,8 +125,14 @@ class Compiler private[japi] () {
* @throws java.io.IOException if an I/O error occurs while reading the
schemaFile
*/
@throws(classOf[java.io.IOException])
- def compileFile(schemaFile: File): ProcessorFactory = {
- val pf = sCompiler.compileFile(schemaFile)
+ def compileFile(schemaFile: File): ProcessorFactory =
compileFile(schemaFile, None, None)
+
+ @throws(classOf[java.io.IOException])
+ def compileFile(schemaFile: File,
+ optRootName: Option[String],
+ optRootNamespace: Option[String]): ProcessorFactory = {
+
Review comment:
Good point. These can be string or null and I'll option them inside.
----------------------------------------------------------------
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]
With regards,
Apache Git Services