Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@apache.org Received: (qmail 93887 invoked from network); 14 Jun 2002 17:36:05 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 14 Jun 2002 17:36:05 -0000 Received: (qmail 24802 invoked by uid 97); 14 Jun 2002 17:36:09 -0000 Delivered-To: qmlist-jakarta-archive-commons-dev@jakarta.apache.org Received: (qmail 24749 invoked by uid 97); 14 Jun 2002 17:36:08 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 24737 invoked by uid 98); 14 Jun 2002 17:36:08 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Subject: Re: [Betwixt] Some ideas From: Martin van den Bemt To: Jakarta Commons Developers List In-Reply-To: <25E17D92-7FB7-11D6-9765-003065DC754C@mac.com> References: <25E17D92-7FB7-11D6-9765-003065DC754C@mac.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.5 Date: 14 Jun 2002 19:36:03 +0200 Message-Id: <1024076163.11295.463.camel@swami> Mime-Version: 1.0 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi Robert, What are you currently working on ? I don't want to duplicate the effort and waste your or mine time on that.. I don't have anything spefically in mind right now for myself (besides the todo list ofcourse).. Hmm a bugdatabase would be really nice so you can assign this to yourself.. I hope to get started in about 2 hours, if the 4 tomcat servers I am upgrading now are cooperating.. Mvgr, Martin On Fri, 2002-06-14 at 18:52, robert burrell donkin wrote: > hi stephen > > i think that we're hoping to make the 1.0 release a quick one so that > scarab and maven can use it. i've had a quick look and you've got some > interesting ideas but i need to concentrate on making betwixt work with > those components (they are waiting on betwixt for their release). > > i don't think that your improvements will break backwards compatibility > too badly - and if it turned out that they do, there's no reason we couldn' > t go for an early 2.0 release. > > - robert > > On Thursday, June 13, 2002, at 10:16 PM, Stephen Colebourne wrote: > > > Hi, > > A while back I looked at using Betwixt for my Bean to XML generation > > (Joda). > > In the end I rolled my own (time pressure was a factor), but I would still > > like to refactor Joda to use betwixt if possible in the longer term. > > > > As you are talking about a 1.0 release, I thought I'd jot down some of the > > ideas which I implemented in my Bean to XML code that aren't (yet) in > > betwixt. Maybe some might make it to the todo list? > > > > 1) SAX outputter - I believe this is on the todo list already ;-) > > > > 2) ID's as Strings - Betwixt uses ints for it's ID/IDREF values (to handle > > recursion). I needed Strings, to allow for more complex generated ids > > including IP ref etc. This would be a faily easy change to make, but > > after a > > release it would break backwards compatability? > > > > 3) ID's controlled on a per object basis - I created an Identifiable > > interface with getIdentifier and setIdentifier methods. Those beans which > > implemented it outputted an ID/IDREF. Those which didn't implement it were > > output directly, with the potential for (the exception case) recursion. > > > > 4) Subclass handling - When I last looked, I could find no automatic > > handling of class hierarchies. For example, the automatic generation of a > > type attribute if the class being output is a subclass of that expected. > > > > 5) End of line handling - I have read in the JDOM source code that the > > end > > of line in XML documents must be \n on all systems. So should betwixt have > > the setEndOfLine() method on BeanWriter? > > > > Stephen > > > > > > -- > > To unsubscribe, e-mail: > org> > > For additional commands, e-mail: > org> > > > > > -- > To unsubscribe, e-mail: > For additional commands, e-mail: > > -- To unsubscribe, e-mail: For additional commands, e-mail: