mmidy       01/08/17 12:15:08

  Modified:    java/src/org/apache/xml/utils SystemIDResolver.java
  Log:
  Make sure base is not null before checking for its contents.
  
  Revision  Changes    Path
  1.12      +1 -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.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- SystemIDResolver.java     2001/08/15 21:40:06     1.11
  +++ SystemIDResolver.java     2001/08/17 19:15:08     1.12
  @@ -164,7 +164,7 @@
       if ((!isAbsouteUrl) && ((null == base)
               || (base.indexOf(':') < 0)))
       {
  -      if (base.startsWith(File.separator))
  +      if (base != null && base.startsWith(File.separator))
           base = "file://" + base;
         else
           base = getAbsoluteURIFromRelative(base);
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to