You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by gg...@apache.org on 2013/07/07 08:40:20 UTC

svn commit: r1500373 - /logging/log4j/log4j2/trunk/src/site/xdoc/manual/layouts.xml.vm

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;