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: NEW ISSUE: Description for @name attribute of component property is notconsistent with that of service and reference


TARGET: sca-assembly-1.1-spec-cd02-Rev4.doc

DESCRIPTION:
The description for @name attribute of component property is not consistent
with that of component service and component reference.

Component Property:
Lines 1063-1065:

name : NCName (1..1) – the name of the property. The @name attribute of a
component property MUST match the name of a property element in the
component type of the component implementation. [ASM50031]


-----


Component Service:


Lines 718-722:


name : NCName (1..1) -  the name of the service. The @name attribute of a
service element of a <component/> MUST be unique amongst the service
elements of that <component/> [ASM50002]  The @name attribute of a service
element of a <component/> MUST match the @name attribute of a service
element of the componentType of the <implementation/> child element of the
component. [ASM50003]


-----


Component Reference:


Lines 788-792:


name : NCName (1..1) – the name of the reference. The @name attribute of a
reference element of a <component/> MUST be unique amongst the reference
elements of that <component/> [ASM50007]  The @name attribute of a
reference element of a <component/> MUST match the @name attribute of a
reference element of the componentType of the <implementation/> child
element of the component. [ASM50008]



These descriptions are partly given by the conformance statements in
   Appendix-C.

#####

Property:

[ASM50031] : The @name attribute of a component property MUST match the
name of a property element in the component type of the component
implementation.


Service:


[ASM50002]: The @name attribute of a service element of a <component/> MUST
be unique amongst the service elements of that <component/>


[ASM50003]: The @name attribute of a service element of a <component/> MUST
match the @name attribute of a service element of the componentType of the
<implementation/> child element of the component.


Reference:


[ASM50007]: The @name attribute of a reference element of a <component/>
MUST be unique amongst the reference elements of that <component/>


[ASM50008]: The @name attribute of a reference element of a <component/>
MUST match the @name attribute of a reference element of the componentType
of the <implementation/> child element of the component.


#####





PROPOSAL:


Make the description of @name attribute for component property consistent
with that of component service and component reference by the following.


1. In Appendix-C, change the description of conformace ID ASM50031 to "The
@name attribute of a property element of a <component/> MUST be unique
amongst the property elements of that <component/>."


2. Introduce another conformance item with a new ID (say ASM50031-2) for
component property with the description, "The @name attribute of a property
element of a <component/> MUST match the @name attribute of a property
element of the componentType of the <implementation/> child element of the
component."


3. Update the description of @name attribute for component property at line
1063 so that it reads:


name : NCName (1..1) – the name of the property. The @name attribute of a
property element of a <component/> MUST be unique amongst the property
elements of that <component/>. [ASM50031] The @name attribute of a property
element of a <component/> MUST match the @name attribute of a property
element of the componentType of the <implementation/> child element of the
component. [ASM50031-2]


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