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] Commented: (DIGESTER-131) [PATCH] commons-digester / Allow recursive match in ExtendedBaseRules.java (see patch)
Date Fri, 15 Oct 2010 08:31:35 GMT

    [ https://issues.apache.org/jira/browse/DIGESTER-131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12921280#action_12921280
] 

Simone Tripodi commented on DIGESTER-131:
-----------------------------------------

Hi Volker,
apologizes but I wasn't able to manage that issue before :(
Looking forward to publish 2.2 ASAP including the submitted patch, It would be nicer if you
can provide in the patch also a TestCase that shows the benefit of the submitted code.
Sorry but I'm not familiar with XML config, can you post here in the comments a sample that
shows which is now allowed that was not admitted before?
Many thanks in advance and apologizes once again,
Simo

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


Mime
View raw message