Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 18929 invoked from network); 11 Apr 2006 17:30:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 11 Apr 2006 17:30:44 -0000 Received: (qmail 55982 invoked by uid 500); 11 Apr 2006 17:30:34 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 55553 invoked by uid 500); 11 Apr 2006 17:30:32 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Users List" Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 55531 invoked by uid 99); 11 Apr 2006 17:30:32 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Apr 2006 10:30:32 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [63.240.6.46] (HELO mail.mi8.com) (63.240.6.46) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Apr 2006 10:30:30 -0700 Received: from 172.16.1.110 by mail.mi8.com with ESMTP (- Welcome to Mi8 Corporation www.Mi8.com (D2)); Tue, 11 Apr 2006 13:28:41 -0400 X-Server-Uuid: 7829E76E-BB9E-4995-8473-3C0929DF7DD1 Received: from MI8NYCMAIL03.Mi8.com ([172.16.1.81]) by D01SMTP01.Mi8.com with Microsoft SMTPSVC(6.0.3790.1830); Tue, 11 Apr 2006 13:28:41 -0400 X-MIMEOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Subject: help for Commenos Digester Date: Tue, 11 Apr 2006 13:28:39 -0400 Message-ID: <65531D426735784F854EE658938A585302B537B6@MI8NYCMAIL03.Mi8.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: help for Commenos Digester Thread-index: AcZdjV7r+DRKvGEyTSGO1ytMlKUQIA== From: "Qaiser Mehmood" To: "Jakarta Commons Users List" cc: commons-dev@jakarta.apache.org X-OriginalArrivalTime: 11 Apr 2006 17:28:41.0374 (UTC) FILETIME=[6047FBE0:01C65D8D] X-WSS-ID: 682538C32XS43642238-01-01 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C65D8D.602277E4" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C65D8D.602277E4 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Hi, =20 I am using Commons Digester to parse one XML file to a Java Object and the code is not populating my Java Bean. The XML Files are=20 =20 Rules.xml : =20 =20 =20 =20 =20 Test.xml : =20 =20 Find Doc 2006-04-11 09:48:22.406 1 0 index.jsp Error on Index.jsp 5 Revolution Team 1 =20 And the code : =20 List messagesList =3D new ArrayList( ); URL rules =3D getClass( ).getResource("/rules.xml"); Digester digester =3D DigesterLoader.createDigester(rules); digester.push(messagesList); InputStream input =3D getClass( ).getResourceAsStream("/test.xml"); Object root =3D digester.parse(input); message =3D (Message) messagesList.get(0); =20 System.out.println("message application name "+message); =20 There are elements in messageList , bu the fileds in message are null. So Field from the 2nd XML file are not populated. Any help. I will appreciate prompt response. =20 Qaiser Mehmood ------_=_NextPart_001_01C65D8D.602277E4--