Author: sylvain
Date: Wed Feb  2 01:40:13 2005
New Revision: 149504

URL: http://svn.apache.org/viewcvs?view=rev&rev=149504
Log:
more fixing of pass-through mounts and cocoon: URLs

Modified:
    
cocoon/branches/BRANCH_2_1_X/src/deprecated/java/org/apache/cocoon/components/source/SitemapSource.java

Modified: 
cocoon/branches/BRANCH_2_1_X/src/deprecated/java/org/apache/cocoon/components/source/SitemapSource.java
URL: 
http://svn.apache.org/viewcvs/cocoon/branches/BRANCH_2_1_X/src/deprecated/java/org/apache/cocoon/components/source/SitemapSource.java?view=diff&r1=149503&r2=149504
==============================================================================
--- 
cocoon/branches/BRANCH_2_1_X/src/deprecated/java/org/apache/cocoon/components/source/SitemapSource.java
 (original)
+++ 
cocoon/branches/BRANCH_2_1_X/src/deprecated/java/org/apache/cocoon/components/source/SitemapSource.java
 Wed Feb  2 01:40:13 2005
@@ -133,7 +133,7 @@
         } else if (uri.startsWith("/", position)) {
             position ++;
             this.prefix = null;
-            this.processor = CocoonComponentManager.getActiveProcessor();
+            this.processor = CocoonComponentManager.getActiveProcessor(env);
         } else {
             throw new ProcessingException("Malformed cocoon URI.");
         }
@@ -243,7 +243,7 @@
             this.processKey = 
CocoonComponentManager.startProcessing(this.environment);
             this.environment.setURI(this.prefix, this.uri);
             this.processingPipeline = 
this.processor.buildPipeline(this.environment);
-            this.pipelineProcessor = 
CocoonComponentManager.getActiveProcessor(); 
+            this.pipelineProcessor = 
CocoonComponentManager.getActiveProcessor(this.environment); 
             String redirectURL = this.environment.getRedirectURL();
             if (redirectURL != null) {
                 if (redirectURL.indexOf(":") == -1) {


Reply via email to