You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by GitBox <gi...@apache.org> on 2022/07/06 23:28:09 UTC

[GitHub] [daffodil] jadams-tresys commented on a diff in pull request #797: WIP: EXI feature

jadams-tresys commented on code in PR #797:
URL: https://github.com/apache/daffodil/pull/797#discussion_r915328864


##########
daffodil-runtime1/src/main/scala/org/apache/daffodil/infoset/EXIInfosetInputter.scala:
##########
@@ -28,15 +28,15 @@ import java.io.ByteArrayInputStream
 import java.io.ByteArrayOutputStream
 import java.io.BufferedOutputStream
 import javax.xml.transform.stream.StreamResult
-import org.apache.daffodil.util.MaybeBoolean
+import org.apache.daffodil.util.{ MaybeBoolean, Misc }
 import org.apache.daffodil.dpath.NodeInfo
 
 object EXIInfosetInputter {
-  def ConvertEXIToXMLWithExificient(input: java.io.InputStream): java.io.InputStream = {
-    val xsdLocation = "daffodil-lib/src/main/resources/org/apache/daffodil/xsd/XMLSchema.xsd"
+  def ConvertEXIToXML(input: java.io.InputStream): java.io.InputStream = {
+    val xsdLocation = Misc.getRequiredResource("org/apache/daffodil/xsd/XMLSchema.xsd")

Review Comment:
   I suppose I should have prefaced this commit by saying that this was mainly getting the existing code working.  I had some of the same thoughts but since it was working I thought it might be worth a review.



-- 
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: commits-unsubscribe@daffodil.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org