You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avalon.apache.org by Peter Royal <pr...@apache.org> on 2002/10/28 01:56:27 UTC

Re: cvs commit: jakarta-avalon/src/java/org/apache/avalon/framework/configuration ConfigurationUtil.java

On Sunday, October 27, 2002, at 05:57  PM, donaldp@apache.org wrote:
> donaldp     2002/10/27 14:57:54
>
>   Added:       src/java/org/apache/avalon/framework/configuration
>                         ConfigurationUtil.java
>   Log:
>   Add a utility class to convert a Configuration tree into a w3c DOM  
> tree

Why not put this here:
http://cvs.apache.org/viewcvs.cgi/jakarta-avalon-excalibur/ 
configuration/src/java/org/apache/excalibur/configuration/ 
ConfigurationUtil.java?rev=1.9&content-type=text/vnd.viewcvs-markup

?

-pete
-- 
peter royal -> proyal@apache.org


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: cvs commit: jakarta-avalon/src/java/org/apache/avalon/framework/configuration ConfigurationUtil.java

Posted by Peter Donald <pe...@apache.org>.
On Mon, 28 Oct 2002 11:56, Peter Royal wrote:
> On Sunday, October 27, 2002, at 05:57  PM, donaldp@apache.org wrote:
> > donaldp     2002/10/27 14:57:54
> >
> >   Added:       src/java/org/apache/avalon/framework/configuration
> >                         ConfigurationUtil.java
> >   Log:
> >   Add a utility class to convert a Configuration tree into a w3c DOM
> > tree
>
> Why not put this here:
> http://cvs.apache.org/viewcvs.cgi/jakarta-avalon-excalibur/
> configuration/src/java/org/apache/excalibur/configuration/
> ConfigurationUtil.java?rev=1.9&content-type=text/vnd.viewcvs-markup

Because that codebase is bulky and I don't want to add a dependency on it 
combined with the fact that the Config 2 DOM is a widely applicable 
no-brainer functionality. Most of the code I am decoupling from Avalon will 
use w3c DOM for configuration purposes. 

ie Currently Policy, ClassLoader and Log4j config all convert to W3C DOM 
before getting passed to repective toolkits. In the future the Tag/Attribute 
Schema, Interceptor defs, MXInfo and so forth will all be w3c DOM configured.

-- 
Cheers,

Peter Donald
-----------------------------------------------
   "You can't depend on your eyes when your 
   imagination is out of focus." -Mark Twain 
----------------------------------------------- 


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>