On 26 September 2012 08:12, Gary Gregory <garydgreg...@gmail.com> wrote: > Furthermore, if we do XML, we should deliver an XML Schema.
Having a schema is always good. But if you're tempted to do automatic validation of config files using the schema, I suggest you don't. I implemented automatic XSD validation in log4php to see how it works, but i found it too restrictive. The main problem is that it does not allow out of order elements. For example, if you define first <appender> then <logger> node in schema, the validation will report errors if it's the config file has them the other way around. So I decided to remove it. Just my 2p. Regards, Ivan --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-dev-unsubscr...@logging.apache.org For additional commands, e-mail: log4j-dev-h...@logging.apache.org