db-ddlutils-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ricky Hazelwood (JIRA)" <j...@apache.org>
Subject [jira] Created: (DDLUTILS-186) WriteDataToDatabaseCommand throws MalFormedURL if used with commons-digester 1.8
Date Mon, 26 Nov 2007 08:01:05 GMT
WriteDataToDatabaseCommand  throws MalFormedURL if used with commons-digester 1.8
---------------------------------------------------------------------------------

                 Key: DDLUTILS-186
                 URL: https://issues.apache.org/jira/browse/DDLUTILS-186
             Project: DdlUtils
          Issue Type: Bug
          Components: Core (No specific database)
    Affects Versions: 1.0
            Reporter: Ricky Hazelwood
            Assignee: Thomas Dudziak


The parse method on the Digester class in commons-digester-1.8 was changed to use URL rather
than FileInputStream to get InputSource. WriteDataToDatabaseCommand takes the input file and
passes file.getAbsolutePath() to DatabaseDataIO which in turn passes that string to Digester
parse method. Since the file is passed as string without 'file:' prefix, new URL(filename)
throws a MalFormedURL  exception (missing protocol)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message