cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stef...@locus.apache.org
Subject cvs commit: xml-cocoon/src/org/apache/cocoon/transformer XalanTransformer.java
Date Sun, 23 Jan 2000 23:15:29 GMT
stefano     00/01/23 15:15:29

  Modified:    src/org/apache/cocoon/transformer XalanTransformer.java
  Log:
  included patch to make Xalan xsl:import/xsl:include work
  
  Many thanks Scott for this!!!
  
  Revision  Changes    Path
  1.5       +5 -5      xml-cocoon/src/org/apache/cocoon/transformer/XalanTransformer.java
  
  Index: XalanTransformer.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/src/org/apache/cocoon/transformer/XalanTransformer.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- XalanTransformer.java	2000/01/20 00:20:22	1.4
  +++ XalanTransformer.java	2000/01/23 23:15:29	1.5
  @@ -1,4 +1,4 @@
  -/*-- $Id: XalanTransformer.java,v 1.4 2000/01/20 00:20:22 stefano Exp $ -- 
  +/*-- $Id: XalanTransformer.java,v 1.5 2000/01/23 23:15:29 stefano Exp $ -- 
   
    ============================================================================
                      The Apache Software License, Version 1.1
  @@ -69,7 +69,7 @@
    * Xalan XSLT processor.
    *
    * @author <a href="mailto:stefano@apache.org">Stefano Mazzocchi</a>
  - * @version $Revision: 1.4 $ $Date: 2000/01/20 00:20:22 $
  + * @version $Revision: 1.5 $ $Date: 2000/01/23 23:15:29 $
    */
   
   public class XalanTransformer extends AbstractActor implements Transformer, Status {
  @@ -117,15 +117,15 @@
               // The Xalan stylesheet is normally built from SAX events,
               // so if a DocumentHandler is specified, we need to produce
               // SAX events from the DOM tree.
  -/*            if (m_docHandler != null) {
  -                (new TreeWalker(stylesheetProcessor)).traverse(this.document);
  +            if (m_docHandler != null) {
  +                (new TreeWalker(m_docHandler)).traverse(this.document);
                   
                   // Note that when cocoon transitions to being more SAX based,
                   // this function will be called recursivly while the parser is
                   // still in the middle of a parse, and thus the parser will have
                   // created on the fly (or perhaps cloned) since the Xerces parser
                   // is not (to my knowledge) reentrant.
  -            }*/
  +            }
           }
        
           public Document getDocument() {
  
  
  

Mime
View raw message