[ 
https://issues.apache.org/jira/browse/FELIX-626?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Clement Escoffier resolved FELIX-626.
-------------------------------------


Fixed in the revision 674783.
Create an empty Hashtable when parsing an empty aggregate property element. 
This allows specifying empty dictionaries inside instance configurations. The 
instance configuration, then, receives an empty dictionary for this property.

> Allow specifying instance configuration containing empty dictionaries
> ---------------------------------------------------------------------
>
>                 Key: FELIX-626
>                 URL: https://issues.apache.org/jira/browse/FELIX-626
>             Project: Felix
>          Issue Type: Improvement
>          Components: iPOJO
>    Affects Versions: iPOJO-0.8.0
>            Reporter: Clement Escoffier
>            Assignee: Clement Escoffier
>   Original Estimate: 0h
>  Remaining Estimate: 0h
>
> When writting an instance configuration like
> <instance component="yyy">
>      <property name="myDict">
>         <!-- empty dictionary -->
>      </property>
> </instance>
> iPOJO refuses the instance configuration with an error indicating that the 
> property tag must either have a value attribute or a contained 'property' 
> element.
> This  error forbids pushing an empty dictionary from the XML-syntax during 
> the instance configuration. 

-- 
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