sca-policy message
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
| [List Home]
Subject: ISSUE-105: Clarifying the Domain Composite Infoset
- From: David Booz <booz@us.ibm.com>
- To: sca-policy@lists.oasis-open.org
- Date: Fri, 18 Sep 2009 16:05:21 -0400
http://www.osoa.org/jira/browse/POLICY-105
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
ashok malhotra ---09/17/2009 09:09:22 AM---Raymond Feng and I have been exchanging mail on the list. This issue arose as a result of that int
From: |
ashok malhotra <ashok.malhotra@oracle.com> |
To: |
oasis Policy <sca-policy@lists.oasis-open.org> |
Date: |
09/17/2009 09:09 AM |
Subject: |
[sca-policy] NEW ISSUE: Clarifying the Domain Composite Infoset |
Raymond Feng and I have been exchanging mail on the list. This issue
arose as a result of that interaction.
Raymond makes two points about the Domain Composite Infoset:
1. The assembly spec defines a URI scheme for embedded composites.
But the URI needs to be
surfaced in an attribute so that it can be selected using an XPath
expression.
2. Raymond argues that the embedded composites need to be inlined rather
that referenced.
If the Infoset corresponds to:
[1]
<composite xmlns:ns2="http://ns2 <http://ns2/>" ...>
<component name="Component1" *uri="Component1"*>
<implementation.composite name="ns2:InnerComposite"/>
</component>
</composite>
Applying //component[@uri='Component1/Component2'] against the XML
doesn't select Component2 as it is NOT an element in the tree. If we
inline the inner composite into the domain composite as illustrated
below, the it would work.
[2]
<composite xmlns:ns2="http://ns2 <http://ns2/>" ...>
<component name="Component1" *uri="Component1**"*>
<implementation.composite name="ns2:InnerComposite">
<!-- For demo purpose, Inline the inner composite -->
<composite targetNamespace="http://ns2 <http://ns2/>"
name="InnerComposite">
<service name="Service1" promote="Component2/Service1"/>
<reference name="ref1" promote="Component2/ref1"/>
<component name="Component2" *uri="Component1/Component2"*>
<implementation.java class="sample.Component2Impl"/>
</component>
</composite>
</implementation.composite>
</component>
</composite>
--
All the best, Ashok
---------------------------------------------------------------------
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]