On Wednesday, August 6, 2003, at 07:26 AM, Alexis Agahi wrote:
When dealing with XML component configuration file used by container (any of
them), it can become really unreadable for an average joe. Also a lots of
configuration parameters and xml declaration are not dealing with application
configuration itself (but more with component interaction).


A user running an application can be lost when he comes to editing such file,
this, just for changing a simple value.


So here comes my suggestion.
Could it be possible to refere some configuration values outside the current
conf xml file, using xsl-xpath-like query.


For exemple, having a well known phoenix XML conf:

<thread-manager>
...
<min-threads>5</min-threads>
...
</thread-manager>

-----

could become

<thread-manager>
...
<min-threads><conf:value
select="document('simpleconf.xml')/root/min-thread/text()"/></min- threads>
...
</thread-manager>

Perhaps look at http://avalon.apache.org/excalibur/configuration/configuration- merger.html


And the FilesystemPersistentConfigurationRepository component that you can use in Phoenix.
-pete



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to