jbates      2003/03/14 02:24:18

  Modified:    java/src/org/apache/xindice/client/xmldb/embed
                        DatabaseImpl.java
               java/src/org/apache/xindice/tools/command ImportTree.java
  Log:
  Fixed a little bug when importing with the command-line tools using the 
embedded driver
  
  Revision  Changes    Path
  1.8       +3 -2      
xml-xindice/java/src/org/apache/xindice/client/xmldb/embed/DatabaseImpl.java
  
  Index: DatabaseImpl.java
  ===================================================================
  RCS file: 
/home/cvs/xml-xindice/java/src/org/apache/xindice/client/xmldb/embed/DatabaseImpl.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- DatabaseImpl.java 21 Nov 2002 07:44:35 -0000      1.7
  +++ DatabaseImpl.java 14 Mar 2003 10:24:18 -0000      1.8
  @@ -193,7 +193,8 @@
           /* TODO: introduce authentication some day */
                   
           if (!acceptsURI(uri)) {
  -            throw new XMLDBException(ErrorCodes.INVALID_URI);
  +            throw new XMLDBException(ErrorCodes.INVALID_URI, "Invalid URL: "
  +                    + uri);
           }
   
           /* Chop off driver prefix, and '://' */
  
  
  
  1.8       +2 -2      
xml-xindice/java/src/org/apache/xindice/tools/command/ImportTree.java
  
  Index: ImportTree.java
  ===================================================================
  RCS file: 
/home/cvs/xml-xindice/java/src/org/apache/xindice/tools/command/ImportTree.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- ImportTree.java   21 Nov 2002 07:44:36 -0000      1.7
  +++ ImportTree.java   14 Mar 2003 10:24:18 -0000      1.8
  @@ -116,7 +116,7 @@
            File startdir = new File((String) table.get(XMLTools.FILE_PATH));
   
            // Make call to process, this is called recursively!
  -         process(startdir, startcollection, table);
  +         process(startdir, colstring, table);
   
         } finally {
            // Be sure to close collection objects
  
  
  

Reply via email to