commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simone Tripodi (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (DIGESTER-131) [PATCH] commons-digester / Allow recursive match in ExtendedBaseRules.java (see patch)
Date Thu, 23 Jun 2011 15:51:47 GMT

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

Simone Tripodi resolved DIGESTER-131.
-------------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 1.8.2)
         Assignee: Simone Tripodi

Patch applied, see org.apache.commons.digester3.ExtendedBaseRules r1138914

> [PATCH] commons-digester / Allow recursive match in ExtendedBaseRules.java (see patch)
> --------------------------------------------------------------------------------------
>
>                 Key: DIGESTER-131
>                 URL: https://issues.apache.org/jira/browse/DIGESTER-131
>             Project: Commons Digester
>          Issue Type: Improvement
>         Environment: all
>            Reporter: Volker Karlmeier
>            Assignee: Simone Tripodi
>             Fix For: 3.0
>
>         Attachments: ExtendedBaseRules.patch
>
>   Original Estimate: 10m
>  Remaining Estimate: 10m
>
> Recursive tags in XML-rules-file only work on root node. Nested nodes like the one below
to not work.
> With the attached patch, it is possible to specify rules like
> <...>
>   <...>
>     <pattern value="*/properties">
>        <object-create-rule classname="de.wsy.f4ja.alertbatches.configuration.alerting.alertingconfig.Properties"
/>
>        <set-properties-rule />
>        <set-next-rule methodname="addProperties"/>		         	 
>    </pattern>
>  
>    <pattern value="*/property">
>        <object-create-rule classname="de.wsy.f4ja.alertbatches.configuration.alerting.alertingconfig.Property"
/>
>        <set-properties-rule />
>        <set-next-rule methodname="addProperty" /> 
>   </pattern>
>   </...> 
> </..>

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message