DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5145>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5145

Add validation of server.xml





------- Additional Comments From [EMAIL PROTECTED]  2001-12-14 18:22 -------
Note that it's not possible to build a DTD (or a Schema) that can completely
verify the contents of server.xml, even for the standard elements provided by
Tomcat.  Given that users can add their own implemenations of things like
Valves, Loggers, and Realms -- with configuration attributes that are not
knowable in advance -- it becomes technically infeasible to do this.

In addition, the particular issue you raised (complain about attributes that do
not have corresponding properties on the corresponding object) would break uses
of server.xml where different attributes are processed by different objects.  A
common case is the "className" attribute on (say) the <Valve> element, which is
processed by the Context or Host object, rather than by the Valve implementation
class itself.

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

Reply via email to