You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by "Mike Beckerle (Jira)" <ji...@apache.org> on 2019/11/27 16:02:00 UTC

[jira] [Created] (DAFFODIL-2244) Refactor ResolvesProperties into Scoped and Local variants

Mike Beckerle created DAFFODIL-2244:
---------------------------------------

             Summary: Refactor ResolvesProperties into Scoped and Local variants
                 Key: DAFFODIL-2244
                 URL: https://issues.apache.org/jira/browse/DAFFODIL-2244
             Project: Daffodil
          Issue Type: Improvement
          Components: Front End
    Affects Versions: 2.5.0
            Reporter: Mike Beckerle
            Assignee: Mike Beckerle
             Fix For: 3.0.0


ResolvesProperties is a mixin that implements scoped property lookups.

Only Terms should do full scoped lookups since they're the things that have all the properties all the way from the Element/Group Ref, to the Def/Decl, to the type, etc. 

Some things need to lookup local properties like the typeCalc properties or dfdl:choiceDispatchKey for a choice. 

So split ResolvesProperties into 
ResolvesScopedProperties that requires mixin to a Term,
and ResolvesLocalProperties, that can be mixed in to any annotated schema component. 





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