60 likes | 173 Views
CDL Revision. Jun Tatemura. Revision Highlights. Section 3 is revised and made clearer Thanks to Hiro Kishimoto 3.1 The CDDLM Framework (which was “Configuration Description in Deployment Services Framework”) is more tightly, consistently coupled with Component Model and Deployment API
E N D
CDL Revision Jun Tatemura
Revision Highlights • Section 3 is revised and made clearer • Thanks to Hiro Kishimoto • 3.1 The CDDLM Framework (which was “Configuration Description in Deployment Services Framework”) is more tightly, consistently coupled with Component Model and Deployment API • Made explicit about duplicate properties (Section 5,7) • CDL Spec was silent about behavior of duplicate properties (properties with the same name in the same property list). • Since the Component Model uses duplicate properties, CDL spec document is revised to explicitly support them (see the next slide) • Behavior on non-duplicate properties is exactly same – the change is clarification rather than fundamental modification of the spec • In addition, the spec now explicitly states that a property list is an ordered list (it is purely editorial without changing CDL behavior). • Example in Appendix is revised to use the Component Model • It is now consistent with the Component Model • However, this non-normative example is not meant to specify how to describe component in CDL with Component Model
Explicit Support of Duplicate Properties • 5.1 Property Lists • The example now has duplicate properties • 7.2. Prototype Reference • Resolution definition (as an algorithm) is refined for cases of duplicate properties • A new example of resolution (with duplicate properties) is added. • 7.3.2 Value Reference • Resolution definition (as an algorithm) is refined for cases of duplicate properties • A new example of resolution (a reference to duplicate properties) is added • <cdl:ref> is removed from the spec, since we can use a reference to duplicate properties instead (see the next slide)
Elimination of <cdl:ref> • <cdl:ref> was introduced to support SmartFrog’s list concatenation • Now that we support duplicate properties, @cdl:ref can realize list concatenation • An example of list concatenation using @cdl:ref is shown in the spec • To keep the spec as simple as possible (i.e., as easy to implement as possible), <cdl:ref> is dropped from the spec <a>4</a> <a>5</a> <a>1</a> <a>2</a> <a cdl:ref=“..”/> <a>3</a> <a>1</a> <a>2</a> <a>4</a> <a>5</a> <a>3</a>