sboag       00/12/01 14:01:16

  Modified:    java/src/org/apache/xml/utils SystemIDResolver.java
  Log:
  Commented hack to clip off the scheme at the start of a relative URI.
  I'm not sure anymore of the exact reason for this hack, but it
  clearly screws things up with namespace20, when the test harness
  passes a URL of file:e:/foo.xsl (for example).
  
  Revision  Changes    Path
  1.3       +4 -1      
xml-xalan/java/src/org/apache/xml/utils/SystemIDResolver.java
  
  Index: SystemIDResolver.java
  ===================================================================
  RCS file: 
/home/cvs/xml-xalan/java/src/org/apache/xml/utils/SystemIDResolver.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- SystemIDResolver.java     2000/12/01 20:30:13     1.2
  +++ SystemIDResolver.java     2000/12/01 22:01:15     1.3
  @@ -119,11 +119,14 @@
       }
   
       // bit of a hack here.  Need to talk to URI person to see if this can be 
fixed.
  +    /*
  +    bad hack -sb
       if ((null != base) && urlString.startsWith("file:")
               && (urlString.charAt(5) != '/'))
       {
         urlString = urlString.substring(5);
  -    }
  +    }   
  +    */                
   
       // This is probably a bad idea, we should at least check for quotes...
       if (null != base && (base.indexOf('\\') > -1))
  
  
  

Reply via email to