[ 
https://issues.apache.org/jira/browse/TUSCANY-924?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12475440
 ] 

Venkatakrishnan commented on TUSCANY-924:
-----------------------------------------

Hi,

Here is a first increment to support for Multivalued properties.  This has been 
committed over the sca java integration branch (r511044, r511048, r511049, 
r511055) and soon I hope to be making this work in the trunk as well.

With this commit I have introduced the following: -
- support for defining properties after xml schema element
- support for defining multiple values for properties with the following 
assumptions / limitations : -
        - multiple values for simple type is not yet supported as it is yet to 
be clarified in the specs as to whether it will be represented as multiple 
property elements or within a property element with demarcations.
        - for complex type properties defined by a xml schema type, it is 
expected that each complex value is enclosed within a top level element that 
provides the schematype info mentioned in the xsi:type attribute.  
        - there are some issues with namespace-prefix qualified xpath 
expressions working when property values are defined by the 'source' attribute. 
 I hope to take Raymond's help to get this sorted out soon or if anybody is 
already familiar with his problem please do pitch in. 
        - There are also a couple of other optimizations that I'd like to 
further work on, such as representing each of the multiple values as a element 
instead of as a document.

I have updated the PropertyLoaderTestCase and have also include a 
MultivaluedPropertyLoadingTestCase.  There is also the iTest called 
propertyTest that I have updated to demonstrate the support for multivalued 
properties.  In this iTest I have commented out the scdl for properties that 
use the 'source' attribute and also the testcases that revolve around them, due 
to the problem stated above.

Thanks.

- Venkat

> Many valued properties not supported
> ------------------------------------
>
>                 Key: TUSCANY-924
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-924
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Core
>            Reporter: Brent Daniel
>         Assigned To: Venkatakrishnan
>             Fix For: Java-SCA-M3
>
>
> The SCA runtime currently does not support <property many="true"/>

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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to