Return-Path: Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 46946 invoked from network); 16 Aug 2003 23:20:13 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 16 Aug 2003 23:20:13 -0000 Received: (qmail 4026 invoked by uid 50); 16 Aug 2003 23:23:02 -0000 Date: 16 Aug 2003 23:23:02 -0000 Message-ID: <20030816232302.4025.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: commons-dev@jakarta.apache.org Cc: Subject: DO NOT REPLY [Bug 20249] - When using digester rules xml file, digester connot assign date, int or foalt setter fields type to a bean. X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20249 When using digester rules xml file, digester connot assign date, int or foalt setter fields type to a bean. craig.mcclanahan@sun.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID Summary|When using digester rules |When using digester rules |xml file, digester connot |xml file, digester connot |assign date, int or foalt |assign date, int or foalt |setter fields type to a |setter fields type to a |bean. |bean. ------- Additional Comments From craig.mcclanahan@sun.com 2003-08-16 23:23 ------- When you use the as you are doing, Digester assumes that the parameter type expected by the method is a String. Therefore, to call a method that expects a different type, you have to indicate the expected type. For example, you should change your rule for "setId" to be like this: See the Javadocs for CallMethodRule for more information about parameter types.