ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sbaill...@apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional TraXLiaison.java
Date Tue, 07 Aug 2001 23:39:49 GMT
sbailliez    01/08/07 16:39:49

  Modified:    src/main/org/apache/tools/ant/taskdefs/optional
                        TraXLiaison.java
  Log:
  Changed the systemid to have a valid one with file:/// rather than file:.
  Some xalan code are doing some check on file:, file:/, file://, file:///, file:///
  But I'd rather take file:/// which is normally the valid one.
  Reported by Michael J. Hudson <mhudson@blueprinttech.com>
  
  Revision  Changes    Path
  1.3       +2 -2      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/TraXLiaison.java
  
  Index: TraXLiaison.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/TraXLiaison.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- TraXLiaison.java	2001/06/22 07:24:18	1.2
  +++ TraXLiaison.java	2001/08/07 23:39:49	1.3
  @@ -68,7 +68,7 @@
    *
    * @author <a href="mailto:rubys@us.ibm.com">Sam Ruby</a>
    * @author <a href="mailto:dims@yahoo.com">Davanum Srinivas</a>
  - * @version $Revision: 1.2 $ $Date: 2001/06/22 07:24:18 $
  + * @version $Revision: 1.3 $ $Date: 2001/08/07 23:39:49 $
    */
   public class TraXLiaison implements XSLTLiaison {
   
  @@ -104,7 +104,7 @@
   
       protected String normalize(String fileName) {
           if(fileName != null && !fileName.startsWith(FILEURL)) {
  -            return FILEURL + fileName;
  +            return FILEURL + "///" + fileName;
           }
           return fileName;
       }
  
  
  

Mime
View raw message