Hi,

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>

---------

with file simpleconf.xml

<root>
<min-thread>5</min-thread>
</root>

-------

This exemple does not illustrate pretty well the problem, and also the xpath 
query syntax is coming from outerspace, but this was just to explain the 
need.

Also you might suggest using entity declaration, but this can be unreadable 
when dealing with more than 10 values.


Regards.

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

Reply via email to