commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig R. McClanahan" <craig...@apache.org>
Subject Re: [Digester] - appreciation and suggestions
Date Tue, 13 Nov 2001 19:30:01 GMT


On Tue, 13 Nov 2001, Tal Dayan wrote:

> Date: Tue, 13 Nov 2001 11:09:54 -0800
> From: Tal Dayan <tal@zapta.com>
> Reply-To: Jakarta Commons Developers List <commons-dev@jakarta.apache.org>
> To: commons-dev@jakarta.apache.org
> Subject: [Digester] - appreciation and suggestions
>
> Hello,
>
> In the last day or so we evaluated Digester and we just decided  go with it
> and convert all of our configuration files from our proprietary format to
> XML/Digester.
> Digester is a real time saver and we appreciate it.
>
> Here is a small suggestions:
>
> When specifying rules, such as addObjectCreate, it would be nice to have a
> method that accepts
> a Class object and takes its name internally. This may save spelling errors
> and is a little bit more type safe.
>

This can certainly be done, but how far do you go?  There's a bunch of
stuff that you cannot check until runtime anyway, because you don't know
ahead of time what is going to be on the object stack.  The only safe
way to use libraries as flexible as this is *rigorous* unit testing :-).

> Thanks,
>
> Tal
>

Craig


--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message