On 9/20/07, Wessam Abd Rabo <[EMAIL PROTECTED]> 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