logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1500374 - /logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/layout/XMLLayout.java
Date Sun, 07 Jul 2013 06:42:15 GMT
Author: ggregory
Date: Sun Jul  7 06:42:15 2013
New Revision: 1500374

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

Modified:
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/layout/XMLLayout.java

Modified: logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/layout/XMLLayout.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/layout/XMLLayout.java?rev=1500374&r1=1500373&r2=1500374&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/layout/XMLLayout.java
(original)
+++ logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/layout/XMLLayout.java
Sun Jul  7 06:42:15 2013
@@ -49,7 +49,7 @@ import org.apache.logging.log4j.message.
  * the XMLLayout ouput goes, then a well-formed XML file would be:
  * <p/>
  * <pre>
- * &lt;?xml version="1.0" ?&gt;
+ * &lt;?xml version="1.0" encoding=&quotUTF-8&quot?&gt;
  *
  * &lt;!DOCTYPE log4j:eventSet SYSTEM "log4j.dtd" [&lt;!ENTITY data SYSTEM "abc"&gt;]&gt;
  *



Mime
View raw message