Return-Path: Delivered-To: apmail-incubator-geronimo-dev-archive@www.apache.org Received: (qmail 61636 invoked from network); 1 Sep 2003 23:57:32 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 1 Sep 2003 23:57:32 -0000 Received: (qmail 28879 invoked by uid 500); 1 Sep 2003 23:56:46 -0000 Delivered-To: apmail-incubator-geronimo-dev-archive@incubator.apache.org Received: (qmail 28795 invoked by uid 500); 1 Sep 2003 23:56:45 -0000 Mailing-List: contact geronimo-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: geronimo-dev@incubator.apache.org Delivered-To: mailing list geronimo-dev@incubator.apache.org Received: (qmail 28706 invoked from network); 1 Sep 2003 23:56:44 -0000 Received: from unknown (HELO public.coredevelopers.net) (209.233.18.245) by daedalus.apache.org with SMTP; 1 Sep 2003 23:56:44 -0000 Received: from coredevelopers.net (dsundstrom-host236.dsl.visi.com [208.42.65.236]) (using TLSv1 with cipher DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by public.coredevelopers.net (Postfix on SuSE Linux 8.0 (i386)) with ESMTP id 587271C179 for ; Mon, 1 Sep 2003 16:49:55 -0700 (PDT) Date: Mon, 1 Sep 2003 18:56:44 -0500 Subject: Re: [vote] XML Parsing Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v552) From: Dain Sundstrom To: geronimo-dev@incubator.apache.org Content-Transfer-Encoding: 7bit In-Reply-To: <3DE10E7A-DC7C-11D7-8FD9-000A959D0312@yahoo.co.uk> Message-Id: X-Mailer: Apple Mail (2.552) X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I think we should just use Digester directly. Betwixt looks interesting but I don't see why we need it. I wrote some digester code the handle mbean description files in about 20 minutes (without knowing anything about Digester). -dain On Monday, September 1, 2003, at 08:00 AM, James Strachan wrote: > +1 > > with a minor change. If we're gonna be hand-coding POJOs ourselves > then there's less reason to use XMLBeans - so I suggest we use > something like betwixt rather than XMLBeans to do the parsing / > converting to XML. Thats probably gonna be easier to use and have a > smaller dependencies in terms of jars. Then we just need to follow > some simple naming conventions in the POJOs to get the XML marshalling > for free. e.g. > > public class WebApp { > > public void addServlet() { > ... > } > > public List getServlets() { > ... > } > > } > > public class Servlet { > public String getName() {..} > public void setName(String name) {...} > }