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]>