[
https://issues.apache.org/jira/browse/DAFFODIL-1893?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Beckerle resolved DAFFODIL-1893.
----------------------------------------
Resolution: Fixed
Assignee: Dave Thompson (was: Michael Beckerle)
PR: https://github.com/apache/incubator-daffodil/pull/41
This was merged a while back (around Feb 14 2018) and is part of 2.1.0-rc2
Fixed in 836d657ca5bd99577110e8c30007591a26ee4317
Test evidence is scant here. This just improves performance of tests by caching
things.
> TDML Runner not caching schema compiles - only caches schemas if
> compileAllTopLevel is true
> -------------------------------------------------------------------------------------------
>
> Key: DAFFODIL-1893
> URL: https://issues.apache.org/jira/browse/DAFFODIL-1893
> Project: Daffodil
> Issue Type: Bug
> Components: TDML Runner
> Affects Versions: 2.0.0
> Reporter: Michael Beckerle
> Assignee: Dave Thompson
> Priority: Major
> Fix For: 2.2.0
>
>
> The TDML runner is supposed to cache compiled schemas so that many tests
> using the same DFDL schema will compile it only once.
> It currently only does this when compileAllTopLevel is true, but the default
> for this is false.
> The cache should be modified to take the root element into account - i.e.,
> compile all top levels need not be true. The cache should hit, avoiding
> recompilation, so long as the same root element is being used.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)