If you were going to attempt to schema validate the current configuration files, you would need to define a schema for http://jakarta.apache.org/log4j containing configuration and import a no-namespace schema for all the other elements.
On Mar 15, 2005, at 5:16 AM, OOMS DIRK wrote:
Hello,
I have a question on the example xml config files in the log4j book, e.g. on
page 75 (of my version)
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/"> <appender ...
</log4j:configuration>
My basic knowledge of xml namespaces tells me that 'appender' (and all other
tags inside this config) is outside the log4j namespace (else the top tag
should have contained a default namespace like:
xmlns="http://jakarta.apache.org/log4j/"). Is there a reason for this or is
my knowledge of xml namespaces not even basic?
[I was hitting this problem when i was writing an xml schema that was
checking whether a configuration was conforming to a subset of the log4j
tags.]
dirk
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
