svn commit: r1227205 - /cocoon/cocoon3/trunk/cocoon-sax/src/main/java/org/apache/cocoon/sax/component/TextSerializer.java

[email protected]
Newsgroups gmane.text.xml.cocoon.cvs
Message-ID <[email protected]>
Author: thorsten
Date: Wed Jan  4 16:09:35 2012
New Revision: 1227205

URL: http://svn.apache.org/viewvc?rev=1227205&view=rev
Log:
Removing doctype declaration from output.

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

Modified: cocoon/cocoon3/trunk/cocoon-sax/src/main/java/org/apache/cocoon/sax/component/TextSerializer.java
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-sax/src/main/java/org/apache/cocoon/sax/component/TextSerializer.java?rev=1227205&r1=1227204&r2=1227205&view=diff
==============================================================================
--- cocoon/cocoon3/trunk/cocoon-sax/src/main/java/org/apache/cocoon/sax/component/TextSerializer.java (original)
+++ cocoon/cocoon3/trunk/cocoon-sax/src/main/java/org/apache/cocoon/sax/component/TextSerializer.java Wed Jan  4 16:09:35 2012
@@ -57,7 +57,18 @@ public class TextSerializer extends XMLS
     throws SAXException{
         // nothing
     }
-
+    @Override
+    public void startDTD(String name,
+            String publicId,
+            String systemId)
+     throws SAXException{
+     // nothing
+    }
+    
+    public void endDTD()
+            throws SAXException{
+        // nothing
+    }
 
     @Override
     public void startElement(String uri, String loc, String raw, Attributes a)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.