You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by ce...@apache.org on 2004/11/30 01:01:01 UTC
cvs commit: logging-log4j/src/xdocs codes.xml
ceki 2004/11/29 16:01:01
Modified: src/xdocs codes.xml
Log:
As discussed on log4j-dev@ Joran no longer tries to compensate for the existance of log4j.dtd in XML file declarations.
Revision Changes Path
1.3 +7 -8 logging-log4j/src/xdocs/codes.xml
Index: codes.xml
===================================================================
RCS file: /home/cvs/logging-log4j/src/xdocs/codes.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- codes.xml 23 Nov 2004 16:31:31 -0000 1.2
+++ codes.xml 30 Nov 2004 00:01:01 -0000 1.3
@@ -36,22 +36,21 @@
</log4j:configuration>
</pre>
- <p>However, <code>JoranConfigurator</code> will continue to
+ <p><code>JoranConfigurator</code> will no longer continue to
parse your old XML configuration files which previously
- required a reference to <code>log4j.dtd</code>. Thus, altough
- deprecated, the following form will continue to be parsed
- correctly.
+ required a reference to <code>log4j.dtd</code>. Thus, the
+ the following form will not work.
</p>
- <p class="red big">Deprecated:</p>
+ <p class="red big">Bad:</p>
<pre><?xml version="1.0" encoding="UTF-8" ?>
-<b><!DOCTYPE log4j:configuration SYSTEM "log4j.dtd" ></b>
+<b><!DOCTYPE log4j:configuration SYSTEM "log4j.dtd"></b>
</pre>
- <p>Using the deprecated form will generate the above mentioned
- warning message.
+ <p>Using this deprecated form will generate the above mentioned
+ error message along with an error from the XML parser.
</p>
</explanation>
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org