cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From upayav...@apache.org
Subject cvs commit: cocoon-2.1/src/java/org/apache/cocoon/components/treeprocessor/sitemap SerializeNode.java
Date Mon, 07 Jul 2003 09:26:53 GMT
upayavira    2003/07/07 02:26:53

  Modified:    src/java/org/apache/cocoon/components/treeprocessor/sitemap
                        SerializeNode.java
  Log:
  No longer adds LinkGatherer to internal pipelines, thanks to Sylvain's env.isExternal()
  
  Revision  Changes    Path
  1.4       +2 -2      cocoon-2.1/src/java/org/apache/cocoon/components/treeprocessor/sitemap/SerializeNode.java
  
  Index: SerializeNode.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/java/org/apache/cocoon/components/treeprocessor/sitemap/SerializeNode.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- SerializeNode.java	6 Jul 2003 11:44:30 -0000	1.3
  +++ SerializeNode.java	7 Jul 2003 09:26:53 -0000	1.4
  @@ -120,7 +120,7 @@
                   "<translator>", null, Parameters.EMPTY_PARAMETERS, Parameters.EMPTY_PARAMETERS
               );
           }
  -        if (env.getObjectModel().containsKey(Constants.LINK_COLLECTION_OBJECT)) {
  +        if (env.getObjectModel().containsKey(Constants.LINK_COLLECTION_OBJECT) &&
env.isExternal()) {
               context.getProcessingPipeline().addTransformer(
                   "<gatherer>", null, Parameters.EMPTY_PARAMETERS, Parameters.EMPTY_PARAMETERS
               );
  
  
  

Mime
View raw message