sboag       00/10/06 00:46:43

  Modified:    java/src/org/apache/xalan/utils URI.java
  Log:
  Tolerate '\' chars.
  
  Revision  Changes    Path
  1.2       +2 -1      xml-xalan/java/src/org/apache/xalan/utils/URI.java
  
  Index: URI.java
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/src/org/apache/xalan/utils/URI.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- URI.java  2000/10/02 02:43:10     1.1
  +++ URI.java  2000/10/06 07:46:41     1.2
  @@ -88,7 +88,7 @@
   * default port for a specific scheme). Rather, it only knows the 
   * grammar and basic set of operations that can be applied to a URI.
   *
  -* @version  $Id: URI.java,v 1.1 2000/10/02 02:43:10 sboag Exp $
  +* @version  $Id: URI.java,v 1.2 2000/10/06 07:46:41 sboag Exp $
   *
   **********************************************************************/
   public class URI implements Serializable {
  @@ -667,6 +667,7 @@
         }
         else if (!isReservedCharacter(testChar) && 
                  !isUnreservedCharacter(testChar)) {
  +        if('\\' != testChar)
           throw new MalformedURIException(
                     "Path contains invalid character: " + testChar);
         }
  
  
  

Reply via email to