[ 
https://issues.apache.org/jira/browse/TUSCANY-3629?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12891160#action_12891160
 ] 

Mike Edwards commented on TUSCANY-3629:
---------------------------------------

Change to CompositeProcessor.java in 966650

- this deals with the generation of the XPathExpression object from the @source 
string

Change to ComponentBuilderImpl.java in 966653

- this deals with the execution of the XPathExpression against the target 
composite property object and the setting of the result value into the 
component property

A significant change here is that the new code sets up the XPathExpression to 
operate against the root <property/> element where the value(s) are stored - 
this permits a scan across all the subelements, if there are multiple present.  
Previously the XPath was structured to operate against the first <value/> 
subelement.



> Tuscany does not handle cases where component <property> @source attribute 
> references a multi-valued composite property
> -----------------------------------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-3629
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-3629
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Assembly Model
>    Affects Versions: Java-SCA-2.0-M5
>            Reporter: Mike Edwards
>             Fix For: Java-SCA-2.0
>
>
> Creation of OASIS SCA Assembly testcases ASM_5043 and ASM_5044 revealed some 
> limitations in the Tuscany handling of <property> @source attributes which 
> reference a <composite> <property> that is multi-valued.
> Basically there are 2 items:
> 1) The Tuscany code will only ever retrieve a single value even if both 
> properties are multi-valued (this is simply a bug)
> 2) These testcases introduce some clarifications to the syntax for @source 
> referencing sub-portions of a multi-valued property (this is an enchancement 
> to what is in Tuscany now)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to