You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by cz...@apache.org on 2002/07/04 11:20:46 UTC
cvs commit: xml-cocoon2/src/java/org/apache/cocoon/serialization HTMLSerializer.java
cziegeler 2002/07/04 02:20:46
Modified: src/java/org/apache/cocoon/serialization HTMLSerializer.java
Log:
Fixing html output problem
Revision Changes Path
1.7 +2 -2 xml-cocoon2/src/java/org/apache/cocoon/serialization/HTMLSerializer.java
Index: HTMLSerializer.java
===================================================================
RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/serialization/HTMLSerializer.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- HTMLSerializer.java 1 Jul 2002 14:43:17 -0000 1.6
+++ HTMLSerializer.java 4 Jul 2002 09:20:46 -0000 1.7
@@ -70,7 +70,7 @@
public void setOutputStream(OutputStream out) {
try {
super.setOutputStream(out);
- handler = this.getTransformerHandler();
+ handler = this.getTransformerFactory().newTransformerHandler();
format.put(OutputKeys.METHOD,"html");
handler.setResult(new StreamResult(this.output));
handler.getTransformer().setOutputProperties(format);
----------------------------------------------------------------------
In case of troubles, e-mail: webmaster@xml.apache.org
To unsubscribe, e-mail: cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org