geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "james strachan (JIRA)" <j...@apache.org>
Subject [jira] Commented: (XBEAN-24) [RTC] Support mixed nested properties and complex elements
Date Tue, 01 Aug 2006 08:39:15 GMT
    [ http://issues.apache.org/jira/browse/XBEAN-24?page=comments#action_12424797 ] 
            
james strachan commented on XBEAN-24:
-------------------------------------

+1 (though I do find properties inside text of XML a tad of a hack :)

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

        

Mime
View raw message