[
https://issues.apache.org/jira/browse/DAFFODIL-2723?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mike Beckerle reassigned DAFFODIL-2723:
---------------------------------------
Assignee: Mike Beckerle
> Change DataProcessor.copy() method to public
> --------------------------------------------
>
> Key: DAFFODIL-2723
> URL: https://issues.apache.org/jira/browse/DAFFODIL-2723
> Project: Daffodil
> Issue Type: New Feature
> Components: Back End
> Affects Versions: 3.3.0
> Reporter: Mike Beckerle
> Assignee: Mike Beckerle
> Priority: Major
>
> I need to copy a DataProcessor in order to avoid reloading it (which takes
> 10+ seconds on a very large schema project.)
> For some reason the copy() method on DataProcessor is private.
> I can't think of a good reason it *needs* to be private, other than fewer
> public methods is better. But I really need this in a test rig I've built for
> a schema project. I need to create a DP instance, and then copy it so that I
> can have both a regular DP and one with Trace/Debug and have both initialized
> but only restoring the DP from a file *once.*
> This test rig is not using SAPI, as I've found I have other reasons to use
> internal interfaces of Daffodil, like using a variety of access to Infoset
> Inputters/Outputters.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)