You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by jo...@apache.org on 2004/03/22 14:41:45 UTC

cvs commit: cocoon-2.1/src/java/org/apache/cocoon/transformation XIncludeTransformer.java

joerg       2004/03/22 05:41:45

  Modified:    src/java/org/apache/cocoon/transformation
                        XIncludeTransformer.java
  Log:
  thanks to Roy Huang: the second AbstractXMLProducer "consequence" - if there is a third one I will revert all, but I grepped for super.setConsumer() and found no other candidate
  
  Revision  Changes    Path
  1.19      +3 -2      cocoon-2.1/src/java/org/apache/cocoon/transformation/XIncludeTransformer.java
  
  Index: XIncludeTransformer.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/java/org/apache/cocoon/transformation/XIncludeTransformer.java,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- XIncludeTransformer.java	5 Mar 2004 13:02:59 -0000	1.18
  +++ XIncludeTransformer.java	22 Mar 2004 13:41:44 -0000	1.19
  @@ -79,7 +79,8 @@
           this.xIncludePipe = new XIncludePipe();
           this.xIncludePipe.enableLogging(getLogger());
           this.xIncludePipe.init(null);
  -        super.setConsumer(xIncludePipe);
  +        super.setContentHandler(xIncludePipe);
  +        super.setLexicalHandler(xIncludePipe);
       }
   
       public void setConsumer(XMLConsumer consumer) {