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:     [EMAIL PROTECTED]
To unsubscribe, e-mail:          [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to