On Wed, 22 Jan 2003, Kelvin Tan wrote:

> Date: Wed, 22 Jan 2003 11:38:35 +0800
> From: Kelvin Tan <[EMAIL PROTECTED]>
> Reply-To: Jakarta Commons Developers List <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: [digester] wildcard matching with "/*"
>
> I've patched RulesBase to accept /foo/bar/* matches. Wondering if
> anyone's interested in the patch.
>

In principle, this sounds interesting.

The best way to deal with this would be to submit an enhancement request
to the bug tracing system:

  http://nagoya.apache.org/bugzilla/

and add your patch as an attachment.  That way, the digester developers
can evaluate what you've got (and ensure that there are sufficient unit
tests to validate the behavior).


> So
> digester.addBeanPropertySetter("foo/bar/*);
>
> will work with
>
> <foo>
> <bar>
> <propertyA>snafu</propertyA>
> <propertyB>snafu</propertyB>
> </bar>
> </foo>
>
> where propertyA and propertyB are bar Javabean properties.
>
> Regards,
> Kelvin
>

Craig McClanahan


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to