Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 24633 invoked from network); 15 Jun 2005 04:30:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 15 Jun 2005 04:30:51 -0000 Received: (qmail 6150 invoked by uid 500); 15 Jun 2005 04:30:43 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 6116 invoked by uid 500); 15 Jun 2005 04:30:42 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: 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 6085 invoked by uid 99); 15 Jun 2005 04:30:42 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from mta205-rme.xtra.co.nz (HELO mta205-rme.xtra.co.nz) (210.86.15.187) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 14 Jun 2005 21:30:40 -0700 Received: from pop1-rme.xtra.co.nz ([210.86.15.240]) by mta208-rme.xtra.co.nz with ESMTP id <20050615041019.VQEZ1901.mta208-rme.xtra.co.nz@pop1-rme.xtra.co.nz> for ; Wed, 15 Jun 2005 16:10:19 +1200 Received: from [10.1.1.9] ([222.153.67.191]) by pop1-rme.xtra.co.nz with ESMTP id <20050615041019.OKTJ7985.pop1-rme.xtra.co.nz@[10.1.1.9]> for ; Wed, 15 Jun 2005 16:10:19 +1200 Subject: Re: [Digester] enums in ConvertUtils.register From: Simon Kitching Reply-To: skitching@apache.org To: Jakarta Commons Users List In-Reply-To: <44FB4F89BC3EB24C8CD1BC76E00C70EB08D6718D@exchange.uss.net> References: <44FB4F89BC3EB24C8CD1BC76E00C70EB08D6718D@exchange.uss.net> Content-Type: text/plain Date: Wed, 15 Jun 2005 16:11:24 +1200 Message-Id: <1118808684.3951.16.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.0.4 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On Tue, 2005-06-14 at 20:32 -0400, Jon Steelman wrote: > I just tried to register a Java 1.5 enum class, but Digester seems not > to work with it. No exceptions are thrown during > ConvertUtils.register(myConverter, SomeEnum.class) or during a parsing > match of digester.parse. I'm using Digester 1.7 I would hope it works; it seems a reasonable thing to do. However java1.5 enums are fairly cutting-edge so there may be some issue. Unfortunately, as far as I am aware, you are the first to try using ConvertUtils with enums so you're probably going to have to figure out what the issue is yourself. I would suggest first writing a simple test using ConvertUtils directly; if that doesn't work then the problem is not Digester. Regards, Simon --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org