cziegeler    2003/10/30 05:03:19

  Modified:    src/java/org/apache/cocoon/components/source
                        CocoonSourceResolver.java
  Log:
  Updating environment handling
  
  Revision  Changes    Path
  1.5       +2 -3      
cocoon-2.2/src/java/org/apache/cocoon/components/source/CocoonSourceResolver.java
  
  Index: CocoonSourceResolver.java
  ===================================================================
  RCS file: 
/home/cvs/cocoon-2.2/src/java/org/apache/cocoon/components/source/CocoonSourceResolver.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- CocoonSourceResolver.java 27 Oct 2003 07:57:26 -0000      1.4
  +++ CocoonSourceResolver.java 30 Oct 2003 13:03:19 -0000      1.5
  @@ -91,8 +91,7 @@
           if ( baseURI == null ) {
               final Processor processor = 
EnvironmentHelper.getCurrentProcessor();
               if ( processor != null ) {
  -                // FIXME (CZ) - No recursive call here, get the context from 
the processor!
  -                return processor.getSourceResolver().resolveURI(location, 
null, parameters);
  +                baseURI = processor.getContext();
               }
           }
           if ( this.customResolver != null ) {
  
  
  

Reply via email to