stevedlawrence commented on a change in pull request #265: Add blob support
URL: https://github.com/apache/incubator-daffodil/pull/265#discussion_r318531862
 
 

 ##########
 File path: daffodil-lib/src/main/scala/org/apache/daffodil/util/Misc.scala
 ##########
 @@ -121,6 +125,34 @@ object Misc {
     }
   }
 
+  /**
+   * Try a few possibilities to find the model/schema/tdml resources
+   *
+   * IBM's suites have funny model paths in them. We don't have that file 
structure,
+   * so we look for the schema/model/tdml resources in the working directory, 
and in the same
+   * directory as the tdml file, and some other variations.
+   */
+  def findTDMLResource(resName: String, relativeTo: Option[URI]): Option[URI] 
= {
 
 Review comment:
   Yep, we needed the TDML find resource logic since it's also needed by the 
XML comparison functions to find blob files. I'll rename and fix the 
documentation so that it's not TDML specific.

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

Reply via email to