logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nickwilli...@apache.org
Subject svn commit: r1500507 - /logging/log4j/log4j2/trunk/src/site/xdoc/manual/layouts.xml.vm
Date Sun, 07 Jul 2013 19:10:12 GMT
Author: nickwilliams
Date: Sun Jul  7 19:10:11 2013
New Revision: 1500507

URL: http://svn.apache.org/r1500507
Log:
r1500372 and r1500373 broke `mvn site`. Correcting the XML.

Modified:
    logging/log4j/log4j2/trunk/src/site/xdoc/manual/layouts.xml.vm

Modified: logging/log4j/log4j2/trunk/src/site/xdoc/manual/layouts.xml.vm
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/src/site/xdoc/manual/layouts.xml.vm?rev=1500507&r1=1500506&r2=1500507&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/src/site/xdoc/manual/layouts.xml.vm (original)
+++ logging/log4j/log4j2/trunk/src/site/xdoc/manual/layouts.xml.vm Sun Jul  7 19:10:11 2013
@@ -1159,11 +1159,11 @@ at org.apache.logging.log4j.core.pattern
           <p>For example, if <code>abc</code> is the name of the file where
             the XMLLayout output goes, then a well-formed XML file would be:
           </p>
-          <pre class="prettyprint linenums">&lt;?xml version="1.0" encoding=&quotUTF-8&quot?&gt;
-&lt;!DOCTYPE log4j:eventSet SYSTEM "log4j.dtd" [&lt;!ENTITY data SYSTEM "abc"&gt;]&gt;
-&lt;log4j:eventSet version="2.0" xmlns:log4j="http://logging.apache.org/log4j/"&gt;
-&nbsp;&nbsp;
-&lt;/log4j:eventSet&gt;</pre>
+          <pre class="prettyprint linenums"><![CDATA[<?xml version="1.0" encoding="UTF-8">
+<!DOCTYPE log4j:eventSet SYSTEM "log4j.dtd" [<!ENTITY data SYSTEM "abc">]>
+<log4j:eventSet version="2.0" xmlns:log4j="http://logging.apache.org/log4j/">
+
+</log4j:eventSet>]]></pre>
           <p>This approach enforces the independence of the XMLLayout and the appender
where it is embedded.
           </p>
           <p>The <code>version</code> attribute helps components to correctly
intrepret output generated by XMLLayout.



Mime
View raw message