Return-Path: Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 32867 invoked from network); 23 Apr 2003 17:09:03 -0000 Received: from pcow053o.blueyonder.co.uk (HELO blueyonder.co.uk) (195.188.53.96) by daedalus.apache.org with SMTP; 23 Apr 2003 17:09:03 -0000 Received: from localhost ([80.194.24.21]) by blueyonder.co.uk with Microsoft SMTPSVC(5.5.1877.757.75); Wed, 23 Apr 2003 18:11:43 +0100 Date: Wed, 23 Apr 2003 18:10:01 +0100 Subject: Re: [digester] proposal: plugins module Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v482) From: robert burrell donkin To: "Jakarta Commons Users List" Content-Transfer-Encoding: 7bit In-Reply-To: <1050822113.2149.318.camel@PCSIMON.ecnnz.ecnetwork.co.nz> Message-Id: <6B7571DE-75AE-11D7-9080-003065DC754C@blueyonder.co.uk> X-Mailer: Apple Mail (2.482) X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N hi simon sounds interesting but i don't think that the attachment made it through. IIRC there will be certain legal formalities that have to be undertaken before this work would be included so it's probably best to repost the attachment (maybe zipping it first) or post it up on the web somewhere and mail the url. i'd also like to encourage you to subscribe to the commons-dev list and post the offer there. (i know that the volume is large but once you set up mail filters to select the [digester] posts, it's not too bad.) - robert On Sunday, April 20, 2003, at 08:01 AM, Simon Kitching wrote: > > Hi, > > I've been working for a while now on a "plugins" module for Digester, > which allows the *input* xml to specify concrete classes to instantiate > at certain points. > > It's been in production at my workplace for over 6 months (and has gone > through several architectural changes that time). So it is reasonably > robust, and has proved useful to me at least. > > I would be happy to contribute this to the digester project if it is > wanted; I also have permission from my employers to do so. > > Rather than describe its functionality here, I have attached the package > documentation (package.html). > > However, here's a teaser from that doc: > > > > > > ruleinfo="StmtIfRuleInfo"/> > > > msg1 > > > msg2a > msg2b > > > .... > > The code for this is completely separate from Digester (no patches to > core digester code required to run it). > However while developing this, I did identify a number of ways in which > Digester could potentially be enhanced to make life easier for this > module (and hopefully others). I will post that as a separate email. > > I am happy to post code if there is interest. Currently the code follows > my coding style (which is not apache style) and of course has non-apache > package names, etc. However it should be no big deal to convert that all > over. > > If you are interested in incorporating this module into the digester, I > suggest that it could become an "org.apache.commons.digester.plugins" > package, like xmlrules has been incorporated. When not in use, there is > no performance impact to Digester. In size, the binary code is 29Kb when > jar'ed of which about 30% is test harness. > > > Regards, > > Simon > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: commons-user-help@jakarta.apache.org