[ http://issues.apache.org/jira/browse/XBEAN-24?page=comments#action_12421252 ] Dain Sundstrom commented on XBEAN-24: -------------------------------------
Jason this code didn't add the nested properties files support, but only adds support for mixed complex elements in the text. Anyway, the code simply passes the text to properties.load(in) which supports '=' ':' and white space to split names from values. > [RTC] Support mixed nested properties and complex elements > ---------------------------------------------------------- > > Key: XBEAN-24 > URL: http://issues.apache.org/jira/browse/XBEAN-24 > Project: XBean > Issue Type: New Feature > Components: spring > Reporter: Dain Sundstrom > Assigned To: Dain Sundstrom > Priority: Critical > Fix For: 2.6 > > Attachments: mixed-content.patch > > > In OpenEJB we would like to be able to support arbitrary mixing of text based > properties and complex elements. This patch adds support for this by merging > all text sub nodes and attempting to read them in using java.util.Properties. > This patch contains a test case which read the following xbean-spring > element: > {code:xml} > <p:PizzaService id="pizzaService"> > cheese Edam > <!-- properties can have complex elements mixed in --> > <p:topping>Salami</p:topping> > size 17 > </p:PizzaService> > {code} -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
