db-ddlutils-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Dudziak" <tom...@gmail.com>
Subject Re: Need help
Date Fri, 21 Sep 2007 07:14:12 GMT
On 9/20/07, Wessam Abd Rabo <wessam.abdrabo@gmail.com> wrote:

> I'm still getting the MalFormedURL exception by DatabaseIO.read(filename).
> My guess is that the problem is not with the xml filename itself, but
> is rather with the database.dtd and mapping.xml files. For some reason,
> inside a netbeans module, referencing this resource is problematic. I'm a
> bit lost here. Any bit of useful info can help. Here's the stack trace:

A MalformedURLException basically means that you passed in an illegal
url to the read method which internally uses the java.net.URL class
(as you can see from the stacktrace). You should define an exception
breakpoint for this MalformedURLException and see which URL it is
complaining about.
Also, for some reason your environment uses an XML 1.1 parser whereas
DdlUtils files are XML 1.0 (and the two versions are not a 100%
compatible). Try adding

<?xml version="1.0"?>

to the beginning of your schema file.

Tom

Mime
View raw message