[
https://issues.apache.org/jira/browse/TUSCANY-3157?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12731923#action_12731923
]
Mike Edwards commented on TUSCANY-3157:
---------------------------------------
Caused by the design for holding <property/> values in 2.0, where they are part
of an XML data structure:
<property>
<value>
....some data content
</value>
</property>
The XPath expression from the @source attribute is being evaluated against the
<property> Node in the target composite property value. This is incorrect in
the new 2.0 design since the logical root of the data is the <value/> element.
This code is in PropertyConfigurationUtil.evaluate() method in tuscany-assembly
module
> Handling of Properties with Source attributes referencing Properties with
> Complex data types incorrect
> ------------------------------------------------------------------------------------------------------
>
> Key: TUSCANY-3157
> URL: https://issues.apache.org/jira/browse/TUSCANY-3157
> Project: Tuscany
> Issue Type: Bug
> Components: Java SCA Assembly Model
> Affects Versions: Java-SCA-2.0
> Reporter: Mike Edwards
> Assignee: Mike Edwards
> Priority: Minor
> Fix For: Java-SCA-2.0
>
>
> Handling of component <property/> elements which have @source attribute set
> to point to a composite property with a complex type, where the @source
> expression is an XPath expression selecting a subtree from the complex type,
> do not work correctly.
> Found using OASIS TestCase ASM_5025_TestCase
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.