sca-assembly message
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
| [List Home]
Subject: Re: [sca-assembly] [ASSEMBLY 180] Composite ref pseudo schema doesn't agreewith XML schema definitions - @autowire - PROPOSAL
- From: Mike Edwards <mike_edwards@uk.ibm.com>
- To: sca-assembly@lists.oasis-open.org
- Date: Tue, 8 Sep 2009 13:47:49 +0100
Dave,
I went back through the history of autowire
and reached the conclusion that it had never been intended that autowire
should work
through a promotion, and that the appearance
of @autowire on the XSD for composite reference was a mistake.
I think that your interpretation is
correct - autowire is resolved within the composite containing the component
with the autowire reference.
If not resolved, then its an error if
multiplicity 1..x was specified for the reference.
I also note that my proposal is a simplification
of references ;-)
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
From:
| David Booz <booz@us.ibm.com>
|
To:
| sca-assembly@lists.oasis-open.org
|
Date:
| 08/09/2009 13:39
|
Subject:
| Re: [sca-assembly] [ASSEMBLY 180] Composite
ref pseudo schema doesn't agree with XML schema definitions - @autowire
- PROPOSAL |
Interesting. I went back and looked at the spec text again.
In my proposal for ASSEMBLY-180 (in JIRA), I'm interpreting lines 1883
(cd03-rev2) in the spec to mean that autowire+promotion is possible, but
unfortunately not defined. Mike, you seem to read those words as autowire
was never intended to work in conjunction with promotion. I hadn't considered
that interpretation. If we were to take that position, then effectively
it says that autowire MUST be resolved within the bounds of a given composite
(where the domain is a composite for domain level components) and that
the failure to find targets within the composite results in an error?
Dave Booz
STSM, BPM and SCA Architecture
Co-Chair OASIS SCA-Policy TC and SCA-J TC
"Distributed objects first, then world hunger"
Poughkeepsie, NY (845)-435-6093 or 8-295-6093
e-mail:booz@us.ibm.com
Mike
Edwards ---09/08/2009 08:15:26 AM---Folks, I didn't spot that Dave Booz
had already raised an issue on this topic.
From:
|
Mike Edwards <mike_edwards@uk.ibm.com>
|
To:
|
"OASIS Assembly" <sca-assembly@lists.oasis-open.org>
|
Date:
|
09/08/2009 08:15 AM
|
Subject:
|
[sca-assembly] [ASSEMBLY 180] Composite ref pseudo schema doesn't agree
with XML schema definitions - @autowire - PROPOSAL |
Folks,
I didn't spot that Dave Booz had already raised an issue on this topic.
Please accept the following email as an alternative
proposal for Issue 180.
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
----- Forwarded by Mike Edwards/UK/IBM on 08/09/2009 13:13 -----
From:
| Mike Edwards/UK/IBM@IBMGB
|
To:
| "OASIS Assembly" <sca-assembly@lists.oasis-open.org>
|
Date:
| 07/09/2009 15:27
|
Subject:
| [sca-assembly] [NEW ISSUE] sca-core.xsd incorrectly has
@autowire attribute for composite <reference/> element |
Raiser: Mike Edwards
Target: sca-assembly-1.1-spec-cd03-Rev2.pdf
Description:
The sca-core XSD declares the <composite/> <reference/> element
to have an @autowire attribute:
4190 <attribute
name="autowire"
type="boolean"
use="optional"/>
However, the specification section for the <composite/> <reference/>
element does not contain a description of @autowire and the
pseudo-schema does not contain the @autowire attribute.
It was never intended that composite references should have an @autowire
attribute. If they did, this could lead to dangerous
default autowire values occurring on components that used a composite containing
a composite reference of this kind.
Proposal:
Remove the @autowire attibute from the <composite/> <reference/>
element in the sca-core XSD.
This means deleting line 4190 from CD03-Rev2.
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
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
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
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
| [List Home]