Uploaded image for project: 'XBean'
  1. XBean
  2. XBEAN-24

[RTC] Support mixed nested properties and complex elements

Details

    • New Feature
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • 2.6
    • spring
    • None

    Description

      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:

       
        <p:PizzaService id="pizzaService">
            cheese    Edam
      
          <!-- properties can have complex elements mixed in -->
          <p:topping>Salami</p:topping>
      
             size      17
        </p:PizzaService>
      

      Attachments

        1. mixed-content.patch
          7 kB
          Dain Sundstrom

        Activity

          People

            dain Dain Sundstrom
            dain Dain Sundstrom
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: