You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Rahul Akolkar (JIRA)" <ji...@apache.org> on 2009/01/05 21:23:44 UTC

[jira] Updated: (DIGESTER-131) [PATCH] commons-digester / Allow recursive match in ExtendedBaseRules.java (see patch)

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

Rahul Akolkar updated DIGESTER-131:
-----------------------------------

    Fix Version/s: 2.1
                   1.8.2

Setting fix versions so this will be looked at before the next release.


> [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
>             Fix For: 1.8.2, 2.1
>
>         Attachments: ExtendedBaseRules.patch
>
>   Original Estimate: 0.17h
>  Remaining Estimate: 0.17h
>
> 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.
-
You can reply to this email to add a comment to the issue online.