You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by "Steve Lawrence (Jira)" <ji...@apache.org> on 2020/10/15 14:19:00 UTC

[jira] [Updated] (DAFFODIL-2412) CLI unparse command always reads infoset into a byte array

     [ https://issues.apache.org/jira/browse/DAFFODIL-2412?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Lawrence updated DAFFODIL-2412:
-------------------------------------
    Summary: CLI unparse command always reads infoset into a byte array  (was: CLI unparse command always reads data into a byte array)

> CLI unparse command always reads infoset into a byte array
> ----------------------------------------------------------
>
>                 Key: DAFFODIL-2412
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-2412
>             Project: Daffodil
>          Issue Type: Improvement
>          Components: CLI
>            Reporter: Steve Lawrence
>            Assignee: Steve Lawrence
>            Priority: Major
>
> The CLI currently always reads the entire infoset into an ByteArray. This means it cannot unparse infosets that are larger than memory. For the performance command, this might be reasonable since we want to avoid any overhead relted to reading from disk. But for the normal unparse commad using an the "xml" infoset type, we should be able to unparse directly from the InputStream.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)