cocoon-cvs 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/processor/xslt XSLTProcessor.java
Date Fri, 21 Jul 2000 23:55:04 GMT
stefano     00/07/21 16:55:04

  Modified:    src/org/apache/cocoon/processor/xslt XSLTProcessor.java
  Log:
  no message
  
  Revision  Changes    Path
  1.16      +3 -5      xml-cocoon/src/org/apache/cocoon/processor/xslt/XSLTProcessor.java
  
  Index: XSLTProcessor.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/src/org/apache/cocoon/processor/xslt/XSLTProcessor.java,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- XSLTProcessor.java	2000/05/06 11:12:48	1.15
  +++ XSLTProcessor.java	2000/07/21 23:55:04	1.16
  @@ -1,4 +1,4 @@
  -/*-- $Id: XSLTProcessor.java,v 1.15 2000/05/06 11:12:48 stefano Exp $ --
  +/*-- $Id: XSLTProcessor.java,v 1.16 2000/07/21 23:55:04 stefano Exp $ --
   
    ============================================================================
                      The Apache Software License, Version 1.1
  @@ -73,7 +73,7 @@
    * This class implements an XSLT processor.
    *
    * @author <a href="mailto:stefano@apache.org">Stefano Mazzocchi</a>
  - * @version $Revision: 1.15 $ $Date: 2000/05/06 11:12:48 $
  + * @version $Revision: 1.16 $ $Date: 2000/07/21 23:55:04 $
    */
   
   public class XSLTProcessor implements Actor, Processor, Status, Defaults {
  @@ -220,9 +220,7 @@
       }
   
       private Document getDocument(Object resource) throws Exception {
  -        InputSource input = new InputSource();
  -        input.setSystemId(resource.toString());
  -        return this.parser.parse(input, false);  // do not validate stylesheets
  +        return this.parser.parse(new InputSource(resource.toString()), false);  // do not
validate stylesheets
       }
   
       public boolean hasChanged(Object context) {
  
  
  

Mime
View raw message