commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bart De Gruyter <>
Subject [beanutils] case sensitivity & digester (proposal)
Date Wed, 10 Jul 2002 09:53:14 GMT

When using digester to "digest" the following
XML into a Java object you will get problems:

<pushtransport AckHost="">


public class PushTransport {

     public void setAckHost(java.lang.String aAckHost) {

     public String getSendAck() {

Because the common-beanutils package uses introspection
to get to know the property name of AckHost it will
be transformed into ackHost; hence the digester
rule for "AckHost" will never match a property of
class PushTransport.

Therefore I propose a change in common-beanutils:

in the following file:


2002/07/07 23:17:59


<                 if (name.equals(descriptors[i].getName()))
 >                 if 

I do not have cvs commit access; and would like to know if the
project team would agree that this is a useful bugfix or if
I am using the digester in a wrong way.

friendly greetings,

Bart De Gruyter

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message