← Prev in month ← Prev in thread
Next in thread → Next in month →

[NEW ISSUE] "wiredByImpl" is an invalid attribute for a Composite Reference

From
Mike Edwards <>
Date
2008-11-19T14:31:56+00:00
ID
Thread
[NEW ISSUE] "wiredByImpl" is an invalid attribute for a Composite Reference
Raiser:        
       Mike Edwards

Target:        
       Assembly spec: sca-assembly-1.1-spec-cd01-rev3.doc

Description:

The current spec has the attribute @wiredByImpl
as an attribute of a Composite reference element.

This cannot be valid, since there @wiredByImpl=true
implies that the composite itself will act to wire

the reference at runtime.  However,
this can never happen since there is no active code in the

composite which could do this.

It is valid for a reference on a component
within the composite to have @wiredByImpl on one of its

references, but this applies to wiring
of the component reference - and NOT to wiring of any

promotion of that reference.

Proposal:

Remove @wiredByImpl from <reference/>
within a <composite/>.

Specifically:

Line 1337 - remove  wiredByImpl="xs:boolean"?

Lines 1399 - 1405 - remove

Lines 3825 - 3826 - remove

Lines 3971 - 4006 - replace with:

    <complexType
name="ComponentReference">

           
<complexContent>

           
               
<sequence>

           
               
        <element
ref="sca:interface"
minOccurs="0"
maxOccurs="1"
/>

           
               
        <element
name="operation"
type="sca:Operation"
minOccurs="0"

       
               
               
    maxOccurs="unbounded"
/>

           
               
        <element
ref="sca:binding"
/>

           
               
        <element
ref="sca:callback"
minOccurs="0"
maxOccurs="1"
/>

           
               
        <any
namespace="##other"
processContents="lax"
minOccurs="0"

       
               
               
    maxOccurs="unbounded"
/>

           
               
</sequence>

           
               
<attribute
name="name"
type="NCName"
use="required"
/>

       
          <attribute
name="autowire"
type="boolean"
use="optional"
/>

           
               
<attribute
name="wiredByImpl"
type="boolean"
use="optional"

       
                default="false"/>

           
               
<attribute
name="target"
type="sca:listOfAnyURIs"
use="optional"/>

           
               
<attribute
name="multiplicity"
type="sca:Multiplicity"

       
               
            use="optional"
default="1..1"
/>

           
               
<attribute
name="requires"
type="sca:listOfQNames"
use="optional"/>

           
            <attribute
name="policySets"
type="sca:listOfQNames"

       
                 
      use="optional"/>

           
               
<anyAttribute
namespace="##other"
processContents="lax"
/>

           
</complexContent>

    </complexType>

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:  

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
← Prev in month ← Prev in thread
Next in thread → Next in month →