You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by Stephan Wiesner <st...@stephan-wiesner.de> on 2003/04/19 07:02:56 UTC
DTD for environment.xml
Hi list, I assume there is no DTD for environment.xml either?
I wrote one (see appendix), though this is not perfect, as I don't yet
know enough about it's possible values. Works with the default file, though.
Stephan
DTD for config.xml
Posted by Stephan Wiesner <st...@stephan-wiesner.de>.
Hi list, I wrote a DTD for config.xml (attached).
To use it the rootelement needs to be renamed to 'jamesconfig'.
I had to guess in many places, so it is far from perfect, but works for
my two servers. No more 'server doesn't start because I misspelled
something.
The first DTD declarations include commentaries on special situations,
like 'repository', which appears in many different contexts.
Mailets are a problem, of course, as authors are allowed to name their
expected proterties by themselfes. Configuration of this could be eased
by the usage of external entities. Encouragement to use standard names
would be better, though.
Stephan