cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From robbypelss...@apache.org
Subject svn commit: r1228135 - /cocoon/cocoon3/trunk/cocoon-sax/src/main/java/org/apache/cocoon/sax/component/XMLSerializer.java
Date Fri, 06 Jan 2012 12:02:50 GMT
Author: robbypelssers
Date: Fri Jan  6 12:02:50 2012
New Revision: 1228135

URL: http://svn.apache.org/viewvc?rev=1228135&view=rev
Log:
fixed typo 
changed HTML_TRANSICTIONAL_DOCTYPE_PUBLIC to HTML_TRANSITIONAL_DOCTYPE_PUBLIC

Modified:
    cocoon/cocoon3/trunk/cocoon-sax/src/main/java/org/apache/cocoon/sax/component/XMLSerializer.java

Modified: cocoon/cocoon3/trunk/cocoon-sax/src/main/java/org/apache/cocoon/sax/component/XMLSerializer.java
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-sax/src/main/java/org/apache/cocoon/sax/component/XMLSerializer.java?rev=1228135&r1=1228134&r2=1228135&view=diff
==============================================================================
--- cocoon/cocoon3/trunk/cocoon-sax/src/main/java/org/apache/cocoon/sax/component/XMLSerializer.java
(original)
+++ cocoon/cocoon3/trunk/cocoon-sax/src/main/java/org/apache/cocoon/sax/component/XMLSerializer.java
Fri Jan  6 12:02:50 2012
@@ -61,7 +61,7 @@ public class XMLSerializer extends Abstr
 
     private static final String XHTML_STRICT_DOCTYPE_PUBLIC = "-//W3C//DTD XHTML 1.0 Strict//EN";
 
-    private static final String HTML_TRANSICTIONAL_DOCTYPE_PUBLIC = "-//W3C//DTD HTML 4.01
Transitional//EN";
+    private static final String HTML_TRANSITIONAL_DOCTYPE_PUBLIC = "-//W3C//DTD HTML 4.01
Transitional//EN";
 
     private static final String XHTML_STRICT_DOCTYPE_SYSTEM = "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";
 
@@ -217,7 +217,7 @@ public class XMLSerializer extends Abstr
         XMLSerializer serializer = new XMLSerializer();
 
         serializer.setContentType(TEXT_HTML_UTF_8);
-        serializer.setDoctypePublic(HTML_TRANSICTIONAL_DOCTYPE_PUBLIC);
+        serializer.setDoctypePublic(HTML_TRANSITIONAL_DOCTYPE_PUBLIC);
         serializer.setEncoding(UTF_8);
         serializer.setMethod(HTML);
 



Mime
View raw message