logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1500373 - /logging/log4j/log4j2/trunk/src/site/xdoc/manual/layouts.xml.vm
Date Sun, 07 Jul 2013 06:40:20 GMT
Author: ggregory
Date: Sun Jul  7 06:40:20 2013
New Revision: 1500373

URL: http://svn.apache.org/r1500373
Log:
Add encoding to XML PI.

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=1500373&r1=1500372&r2=1500373&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 06:40:20 2013
@@ -1159,7 +1159,7 @@ 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" ?&gt;
+          <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;



Mime
View raw message