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 2021/03/18 19:33:00 UTC

[jira] [Updated] (DAFFODIL-2386) Full infoset validation should stream use SAX ValidationHandler

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

Steve Lawrence updated DAFFODIL-2386:
-------------------------------------
    Issue Type: Improvement  (was: Bug)

> Full infoset validation should stream use SAX ValidationHandler
> ---------------------------------------------------------------
>
>                 Key: DAFFODIL-2386
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-2386
>             Project: Daffodil
>          Issue Type: Improvement
>            Reporter: Steve Lawrence
>            Priority: Major
>
> Currently, if validation mode is full we write out the entire infoset to a byte array and then validate that at the end of parse. For large infosets, this could require a very large amount of memory.
> Instead, we should create a ValidationHandler and use the new SAXInfosetOutputter to perform validation as we parse. See [https://stackoverflow.com/questions/31325770/java-sax-parser-validation]
> Also see DAFFODIL-1749



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