Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 7179 invoked from network); 20 Apr 2005 17:00:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 20 Apr 2005 17:00:13 -0000 Received: (qmail 97639 invoked by uid 500); 20 Apr 2005 07:47:51 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 97568 invoked by uid 500); 20 Apr 2005 07:47:51 -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 97553 invoked by uid 99); 20 Apr 2005 07:47:51 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from Unknown (HELO exder.exder.se) (62.181.234.130) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 20 Apr 2005 00:47:51 -0700 Received: from Macbeth.expertsystem.se ([84.19.131.23]) by exder.exder.se (8.13.1/8.11.6) with ESMTP id j3K7llvw011565 for ; Wed, 20 Apr 2005 09:47:48 +0200 (CEST) (envelope-from mjslask@expertsystem.se) Message-Id: <6.2.1.2.0.20050420094359.02649040@bar> X-Mailer: QUALCOMM Windows Eudora Version 6.2.1.2 Date: Wed, 20 Apr 2005 09:47:50 +0200 To: "Jakarta Commons Developers List" From: Mattias J Subject: Re: [i18n] Entry qualifier In-Reply-To: <1657083983@web.de> References: <1657083983@web.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N At 2005-04-20 09:23, you wrote: > > Seems like i18n is reinventing the wheel over and over. I see we are > using > > of Sax, when Digester is the most viable choice, given the typical clients > > of this framework. I see where ResourceBundle is used, yet a much more > > robust solution is already provided through Commons Resources. Any chance > > we can change this to use the above frameworks? > >My primary goal was to keep this component simple. It has no dependencies >to other jars and that is a big plug for the daily use. +1 Even though I am quite fond of Digester, I also see the benefits of zero runtime dependencies. I suggest sticking with pure SAX. >I know that we have some overlapping with Commons Resources, but the I18n >is dealing with bundles of messages and introduces LocalizedExceptions >using these bundles. The way i18n bundles several "submessages" under a common key is what makes it so great. I hope to be able to add a DatabaseMessageProvider, which gets different messages (title, details etc) from different columns in the database table. Hopefully the benefits will be even more clear then. B.t.w James: Thought I'd run your new Maven config to see the coverage of the tests I've added. Though I have not checked out ../commons-build/sandbox-project.xml and currently I cannot access the SVN server. Mattias Jiderhamn --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org