On 04/08/2011 14:27, Greg Dritschler wrote:
>From the assembly spec on component references:
900 binding : Binding (0..n) - A reference element has zero or more binding
elements as children. If no
901 binding elements are specified for the reference, then the bindings
specified for the equivalent
902 reference in the componentType of the implementation MUST be used. If
binding elements are
903 specified for the reference, then those bindings MUST be used and they
override any bindings
904 specified for the equivalent reference in the componentType of the
implementation. [ASM50012]
If this doesn't hold true, then there's no reason to be able to promote
references, because there's
no possibility to reconfigure them.
I can't find a compliance test for this.
Greg,
Not sure what "this" applies to here.
However, [ASM50012] relates to test assertions TA 5017 and TA 5018 which in turn are implemented by
testcases 5017 and 5018:
5017:
"Tests that where a <reference/> of a <component/> has no <binding/> child element, but the
corresponding <reference/> element in the componentType does have a binding child element, the
<binding/> from the componentType is used for the reference"
5018:
"Tests that where a <reference/> of a <component/> has a <binding/> child element and the
corresponding <reference/> element in the componentType has a binding child element, the <binding/>
from the <reference/> is used for the reference"
If it's the promotion aspect you're concerned about, then there are other testcases that deal with
that, eg 5023.
Yours, Mike.