Try replacing "SurveyName" with "surveyName" in your digester code. If you have a setSurveyName() method, that means the property name, according to Bean rules is "surveyName". Etc. for the other properties.
K.C. > -----Original Message----- > From: Howard Miller [mailto:[EMAIL PROTECTED]] > Sent: Friday, January 17, 2003 2:03 PM > To: Jakarta Commons Users List > Subject: RE: Logging again > > > Oh, should have added.. > > The setter methods in the bean for "mailer" are NOT getting called. I > put breakpoints on them... no result. The trace seems to imply that > they are getting called though. Example: > > > [DEBUG] Digester - - New match='mailer/survey- > number' > [DEBUG] Digester - - Fire begin() for > BeanPropertySetterRule[propertyName=SurveyNumber] > [DEBUG] sax - -characters(11) > [DEBUG] sax - -endElement(,,survey-number) > [DEBUG] Digester - - match='mailer/survey-number' > [DEBUG] Digester - - bodyText='11' > [DEBUG] Digester - - Fire body() for > BeanPropertySetterRule[propertyName=SurveyNumber] > [DEBUG] Digester - - > [BeanPropertySetterRule]{mailer/survey-number} > Called with text 11 > [DEBUG] Digester - - Popping body text ' > ' > > > On 17 Jan 2003 at 13:49, Baltz, Kenneth wrote: > > > Can you supply your XML and your digester code? > > > > K.C. > > > > > -----Original Message----- > > > From: Howard Miller [mailto:[EMAIL PROTECTED]] > > > Sent: Friday, January 17, 2003 1:47 PM > > > To: [EMAIL PROTECTED] > > > Subject: Logging again > > > > > > > > > Ha! good news and bad.... > > > > > > I got a trace going with the addition of.. > > > > > > -Dorg.apache.commons.logging.simplelog.defaultlog=trace > > > > > > This gives me the output... > > > > > > [DEBUG] Digester - - Fire body() for > > > ObjectCreateRule[className=org.alicats.mailer.Config, > > > attributeName=null] > > > [DEBUG] Digester - - Popping body text '' > > > [DEBUG] Digester - - Fire end() for > > > ObjectCreateRule[className=org.alicats.mailer.Config, > > > attributeName=null] > > > [DEBUG] Digester - -[ObjectCreateRule]{mailer} Pop > > > org.alicats.mailer.Config > > > [DEBUG] sax - -endDocument() > > > > > > This seems to be firing the rules for the opening and closing > > > root tags (<mailer>) and skipping everything else. Why might > > > this happen? Why does it say (atributeName=null)? I have a > > > load of addBeanPropertySetters in there to catch the > > > intermediate elements and they seem to be completely ignored. > > > > > > Stumped! > > > > > > -- > > > To unsubscribe, e-mail: > > > <mailto:[EMAIL PROTECTED]> > > > For additional commands, e-mail: > > > <mailto:[EMAIL PROTECTED]> > > > > > > > > > > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > >
