Michael Beckerle commented on DAFFODIL-1893:

PR: https://github.com/apache/incubator-daffodil/pull/41

> 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: Michael Beckerle
>            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

Reply via email to