You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@daffodil.apache.org by GitBox <gi...@apache.org> on 2019/02/27 20:04:02 UTC

[GitHub] mbeckerle commented on a change in pull request #188: Remove extraneous XML loads for repeating include/imports

mbeckerle commented on a change in pull request #188: Remove extraneous XML loads for repeating include/imports
URL: https://github.com/apache/incubator-daffodil/pull/188#discussion_r260921060
 
 

 ##########
 File path: daffodil-core/src/main/scala/org/apache/daffodil/dsom/IIBase.scala
 ##########
 @@ -133,8 +133,8 @@ abstract class IIBase( final override val xml: Node, xsdArg: XMLSchemaDocument,
    * schema file, recursively any of its includes/imports,
    * and that all the resulting are validated by the validating loader.
    */
-  requiredEvaluations(iiSchemaFile)
-  requiredEvaluations(iiSchemaFile.iiXMLSchemaDocument)
+  requiredEvaluations(iiSchemaFileMaybe)
 
 Review comment:
   Please add code comment as to why this does the "right thing" - avoids redundant loading.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services