Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 1165 invoked from network); 9 Aug 2004 17:51:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 9 Aug 2004 17:51:43 -0000 Received: (qmail 9788 invoked by uid 500); 9 Aug 2004 17:51:35 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 9680 invoked by uid 500); 9 Aug 2004 17:51:34 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: 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 9665 invoked by uid 99); 9 Aug 2004 17:51:34 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [205.160.101.145] (HELO hqexch01.upstate.com) (205.160.101.145) by apache.org (qpsmtpd/0.27.1) with ESMTP; Mon, 09 Aug 2004 10:51:31 -0700 Received: from IQUITOS (81-202-68-97.user.ono.com [81.202.68.97]) by hqexch01.upstate.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id PW2QYJ46; Mon, 9 Aug 2004 13:54:40 -0400 Reply-To: From: "Eric Pugh" To: "Jakarta Commons Users List" Subject: RE: [configuration] Can't get it to work properly Date: Mon, 9 Aug 2004 19:51:30 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 In-Reply-To: <410A42E5.2020400@med.uni-marburg.de> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Okay, I've removed the ConfigurationXMLDocument.. It was painful to do! I am working on a 1.0 RC1, so I'm taking the path of least resistence here. Eric > -----Original Message----- > From: Oliver Heger [mailto:hegero@med.uni-marburg.de] > Sent: Friday, July 30, 2004 2:45 PM > To: Jakarta Commons Users List > Subject: Re: [configuration] Can't get it to work properly > > > Eric, > > I have been thinking about this problem for a while, but I really don't > see a way to get ConfigurationXMLDocument running with a reasonable > amount of work. So I would opt for removing this class in the 1.0 > release and later add it again. I think, Emanuel is on the same opinion. > > I have made a suggestion for a more hierarchical design of > [configuration], which can be found here: > http://nagoya.apache.org/eyebrowse/ReadMsg?listName=commons-dev@ja > karta.apache.org&msgNo=52582 > > This approach would make integration of ConfigurationXMLDocument > very easy. > > Oliver > > Eric Pugh wrote: > > > Oliver, > > do you know what changes need to be done to make > ConfigurationXMLDocument > > work? Or do you think we should remove it for now, and get the > 1.0 release > > out, so we can start on 2.0 refactoring? > > > > Eric > > > > > >>-----Original Message----- > >>From: Oliver Heger [mailto:hegero@med.uni-marburg.de] > >>Sent: Thursday, July 29, 2004 7:53 AM > >>To: Jakarta Commons Users List > >>Subject: Re: [configuration] Can't get it to work properly > >> > >> > >>Hello Marty, > >> > >>usage of ConfigurationXMLDocument is quite problematic ATM because there > >>have been changes on other classes which brake this class. If you build > >>[configuration] from the actual CVS sources, you will see that the unit > >>tests for ConfigurationXMLDocument fail. > >> > >>Currently there is no easy solution for this problem. AFAIK it is planed > >>that ConfigurationXMLDocument won't be part of the 1.0 release of > >>[configuration] (which will come very soon hopefully). After that some > >>refactoring and redesign will be performed which solve the problems. > >>(Can somebody else confirm this or correct me?) > >> > >>What could help you with your actual problem is the following: If you > >>have only one XML configuration file you have to process, you can load > >>it directly using HierarchicalXMLConfiguration (and don't use > >>ConfigurationFactory). If you then create a ConfigurationXMLDocument > >>from this configuration, the resulting XML document will probably keep > >>its structure and can be processed by Digester. > >> > >>Oliver > >> > [snip] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: commons-user-help@jakarta.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org