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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]