OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

sca-assembly message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: ISSUE 98: Conformance Assertion [ASM50012] is invalid



http://www.osoa.org/jira/browse/ASSEMBLY-98

Thank you, Mike, for creating the issue.

Scott

On Jan 6, 2009, at 7:52 AM, Simon Nash wrote:

> Mike Edwards wrote:
>> Raiser:                Mike Edwards
>> Target:                SCA Assembly Specification - sca- 
>> assembly-1.1-spec-cd01-rev8.doc
>> Description:
>> Conformance assertion [ASM50012], in lines 866 - 871 says:
>> "If no binding elements are specified for the reference, then the  
>> bindings specified for the
>> equivalent reference in the componentType of the implementation  
>> MUST be used, but if
>> the componentType also has no bindings specified, then <binding.sca/ 
>> > MUST be used
>> as the binding. If binding elements are specified for the  
>> reference, then those bindings
>> MUST be used and they override any bindings specified for the  
>> equivalent reference in the
>> componentType of the implementation."
>> The problem is that IF no bindings are specified in the <reference>  
>> of the <component>
>> and there are no bindings specified in the reference of the  
>> <componentType/>, then the
>> only way of identifying a target service is through the @target  
>> attribute of the <reference/>
>> element.  We have a rule [ASM50026] which precludes there being ANY  
>> <binding/>
>> child elements of the <reference/> in the case where there is a  
>> value for the @target
>> attribute of the <reference/>.  This is so that the binding used  
>> for the wire is determined
>> by the bindings attached to the target service, not by the reference.
>> So the statement that <binding,sca/> MUST be used where there are  
>> no bindings
>> declared for the reference is incorrect and should be removed.  In  
>> this case there is
>> simply no <binding/> present and the binding used is determined by  
>> the target service.
>> Proposal:
>> Change conformance assertion [ASM50012] to read as follows:
>> "If no binding elements are specified for the reference, then the  
>> bindings specified for the
>> equivalent reference in the componentType of the implementation  
>> MUST be used. If binding
>> elements are specified for the reference, then those bindings MUST  
>> be used and they
>> override any bindings specified for the equivalent reference in the  
>> componentType of the
>> implementation. [ASM50012]"
>> Add the following explanatory words following [ASM50012]:
>> "It is valid for there to be no binding elements on the component  
>> reference and none on the
>> reference in the componentType - the binding used for such a  
>> reference is determined by
>> the target service"
> I would have expected that an RFC2119-compliant version of the above
> words would be included within [ASM50012].  Is this covered by some
> other conformance assertion elsewhere?  if so, it would be useful to
> have a cross-reference to it in the explanatory words.
>
>  Simon
>> Yours,  Mike.
>> Strategist - Emerging Technologies, SCA & SDO.
>> Co Chair OASIS SCA Assembly TC.
>> IBM Hursley Park, Mail Point 146, Winchester, SO21 2JN, Great  
>> Britain.
>> Phone & FAX: +44-1962-818014    Mobile: +44-7802-467431  Email:  mike_edwards@uk.ibm.com
>> ------------------------------------------------------------------------
>> /
>> /
>> /Unless stated otherwise above:
>> IBM United Kingdom Limited - Registered in England and Wales with  
>> number 741598.
>> Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire  
>> PO6 3AU/
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this mail list, you must leave the OASIS TC that
> generates this mail.  Follow this link to all your TCs in OASIS at:
> https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]