minchau 2003/05/02 18:41:58
Modified: java/src/org/apache/xml/serializer ToHTMLStream.java
Log:
endDTD() for ToHTMLStream now does nothing. It used to incorrectly
write out some closing characters, but that was already hanled in
startDocumentIntermal()
PR: 19587
Submitted by: [EMAIL PROTECTED] (Bruno Dumon)
Reviewed by: Brian Minchau
Revision Changes Path
1.4 +12 -0
xml-xalan/java/src/org/apache/xml/serializer/ToHTMLStream.java
Index: ToHTMLStream.java
===================================================================
RCS file:
/home/cvs/xml-xalan/java/src/org/apache/xml/serializer/ToHTMLStream.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- ToHTMLStream.java 1 May 2003 14:49:08 -0000 1.3
+++ ToHTMLStream.java 3 May 2003 01:41:58 -0000 1.4
@@ -1718,4 +1718,16 @@
}
startPrefixMapping(prefix,uri,false);
}
+
+ /**
+ * Report the end of DTD declarations.
+ * @throws org.xml.sax.SAXException The application may raise an
exception.
+ * @see #startDTD
+ */
+ public void endDTD() throws org.xml.sax.SAXException
+ {
+ /* for ToHTMLStream the DOCTYPE is entirely output in
the
+ * startDocumentInternal() method, so don't do anything
here
+ */
+ }
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]