From user-return-19718-apmail-commons-user-archive=commons.apache.org@commons.apache.org Fri Aug 10 07:54:55 2007 Return-Path: Delivered-To: apmail-commons-user-archive@www.apache.org Received: (qmail 81044 invoked from network); 10 Aug 2007 07:54:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Aug 2007 07:54:52 -0000 Received: (qmail 56200 invoked by uid 500); 10 Aug 2007 07:54:47 -0000 Delivered-To: apmail-commons-user-archive@commons.apache.org Received: (qmail 56133 invoked by uid 500); 10 Aug 2007 07:54:47 -0000 Mailing-List: contact user-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list user@commons.apache.org Received: (qmail 56124 invoked by uid 99); 10 Aug 2007 07:54:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Aug 2007 00:54:46 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [213.46.255.22] (HELO viefep17-int.chello.at) (213.46.255.22) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Aug 2007 07:54:44 +0000 Received: from [192.168.0.4] (really [84.113.196.60]) by viefep17-int.chello.at (InterMail vM.7.08.02.00 201-2186-121-20061213) with ESMTP id <20070810075421.OBRW1194.viefep17-int.chello.at@[192.168.0.4]> for ; Fri, 10 Aug 2007 09:54:21 +0200 Subject: Re: Digester1.8 and recursive tag types From: simon To: Jakarta Commons Users List In-Reply-To: <7777616F99DFD94BB454020F2BB70B3005559234@EXNJMB70.nam.nsroot.net> References: <7777616F99DFD94BB454020F2BB70B3005559234@EXNJMB70.nam.nsroot.net> Content-Type: text/plain Date: Fri, 10 Aug 2007 09:53:52 +0200 Message-Id: <1186732432.6332.11.camel@simon-laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.10.1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On Thu, 2007-08-09 at 17:51 -0400, Madisetti, Sumesh wrote: > Hi, > > I am having trouble parsing recursive tags with digester version 1.8. > > With the digester def below, I am not able to get to any of the inner > list elements such as person.name=bar3. > > Any help appreciated. > > Thanks > Sumesh > > Xml - > ===== > > foo > bar > > foo2 > bar2 > > bar3 > > > zap > > > > > Digester > ======== > > > > > > > > > That looks ok to me (though presumably you also have a rule to set the name attribute for a person which you haven't shown). I suggest turning on debug-level logging for category org.apache.commons.digester, which will show what rules are firing and when. By "cannot get to person.name=bar3", I presume you mean that no corresponding java object has been created during the parse. What objects *do* get created? Regards, Simon --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@commons.apache.org For additional commands, e-mail: user-help@commons.apache.org