jadams-tresys commented on code in PR #812:
URL: https://github.com/apache/daffodil/pull/812#discussion_r923602363
##########
daffodil-cli/src/main/scala/org/apache/daffodil/Main.scala:
##########
@@ -662,14 +666,20 @@ object Main {
val blobSuffix = ".bin"
def getInfosetOutputter(infosetType: InfosetType.Type, os:
java.io.OutputStream)
- : Either[InfosetOutputter, DaffodilParseOutputStreamContentHandler] = {
+ : Either[InfosetOutputter, ContentHandler] = {
val outputter = infosetType match {
case InfosetType.XML => Left(new XMLTextInfosetOutputter(os, pretty =
true))
case InfosetType.SCALA_XML => Left(new ScalaXMLInfosetOutputter())
case InfosetType.JSON => Left(new JsonInfosetOutputter(os, pretty =
true))
case InfosetType.JDOM => Left(new JDOMInfosetOutputter())
case InfosetType.W3CDOM => Left(new W3CDOMInfosetOutputter())
- case InfosetType.SAX => Right(new
DaffodilParseOutputStreamContentHandler(os, pretty = true))
+ case InfosetType.EXI => {
+ val exiFactory = DefaultEXIFactory.newInstance()
Review Comment:
That is correct.
--
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]