cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Donald Ball <ba...@locus.apache.org>
Subject cvs commit: xml-cocoon/src/org/apache/cocoon/processor/xinclude XIncludeProcessor.java
Date Thu, 06 Jul 2000 18:25:50 GMT
balld       00/07/06 11:25:50

  Modified:    src/org/apache/cocoon/processor/xinclude
                        XIncludeProcessor.java
  Log:
  fixed a stupid bug in local file including
  
  Revision  Changes    Path
  1.10      +2 -2      xml-cocoon/src/org/apache/cocoon/processor/xinclude/XIncludeProcessor.java
  
  Index: XIncludeProcessor.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/src/org/apache/cocoon/processor/xinclude/XIncludeProcessor.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- XIncludeProcessor.java	2000/07/05 03:51:51	1.9
  +++ XIncludeProcessor.java	2000/07/06 18:25:49	1.10
  @@ -45,7 +45,7 @@
    * from my XInclude filter for cocoon2.
    *
    * @author <a href="mailto:balld@webslingerZ.com">Donald Ball</a>
  - * @version CVS $Revision: 1.9 $ $Date: 2000/07/05 03:51:51 $ $Author: balld $
  + * @version CVS $Revision: 1.10 $ $Date: 2000/07/06 18:25:49 $ $Author: balld $
    */
   public class XIncludeProcessor extends AbstractActor implements Processor, Status {
   
  @@ -238,7 +238,7 @@
   			} else {
   				local = new File(Utils.getBasepath(request,context)+href);
   				system_id = local.toString();
  -				content = ((URL)local).getContent();
  +				content = new FileReader((File)local);
   			}
   			processor.monitored_table.put(monitor_key,"");
   			processor.monitor.watch(monitor_key,local);
  
  
  

Mime
View raw message