From ddlutils-dev-return-1601-apmail-db-ddlutils-dev-archive=db.apache.org@db.apache.org Fri Sep 21 07:14:43 2007 Return-Path: Delivered-To: apmail-db-ddlutils-dev-archive@www.apache.org Received: (qmail 20328 invoked from network); 21 Sep 2007 07:14:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Sep 2007 07:14:41 -0000 Received: (qmail 96388 invoked by uid 500); 21 Sep 2007 07:14:32 -0000 Delivered-To: apmail-db-ddlutils-dev-archive@db.apache.org Received: (qmail 96368 invoked by uid 500); 21 Sep 2007 07:14:32 -0000 Mailing-List: contact ddlutils-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ddlutils-dev@db.apache.org Delivered-To: mailing list ddlutils-dev@db.apache.org Received: (qmail 96357 invoked by uid 99); 21 Sep 2007 07:14:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Sep 2007 00:14:32 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of tomdzk@gmail.com designates 64.233.166.182 as permitted sender) Received: from [64.233.166.182] (HELO py-out-1112.google.com) (64.233.166.182) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Sep 2007 07:14:33 +0000 Received: by py-out-1112.google.com with SMTP id p76so1482089pyb for ; Fri, 21 Sep 2007 00:14:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=mBLdhJEKIGR/E229cXHvdYvHst0G1n7+BlcTcMGxPNU=; b=ok7/TEYphfdbbR/fj4YgcMLFUPv+bNuYsOvzA/4ImQEQJU4KWN4D8xdQ2ylfmg5PydlgrgYqI3d4h++BAeiiFmC9VDKUYpPu0r/Pm3RGC7m9a7ZPCtf8GLGPvIjgac1Ule0nvIoruSc8wZ9BQZDU3h0YXKPl0eGlSeuZ64Z5o9U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=aCVI1rqy6xbrXgaPexJwKsZ8/ZlIq2T6KSa9cfAq5wk9ouHKGwbKjETRO4lIPU2Q+Fi8HJNmEed6yoaHtKdiPHd0eP0Qmpbl37DOZn0TZ0WX7v3UTPhVax3g+YKbsVWlAhboidQ1hskiJfiqntJ7ERPh/YqN4/YhPlUIIAtsdT4= Received: by 10.65.214.19 with SMTP id r19mr6084695qbq.1190358852219; Fri, 21 Sep 2007 00:14:12 -0700 (PDT) Received: by 10.65.163.14 with HTTP; Fri, 21 Sep 2007 00:14:12 -0700 (PDT) Message-ID: <224f32340709210014g4ab54ca5sb7bfe97690480636@mail.gmail.com> Date: Fri, 21 Sep 2007 00:14:12 -0700 From: "Thomas Dudziak" To: ddlutils-dev@db.apache.org Subject: Re: Need help In-Reply-To: <5bdcc63c0709201803x3d9af862xd9a505388295831c@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <5bdcc63c0709201803x3d9af862xd9a505388295831c@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org On 9/20/07, Wessam Abd Rabo 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 to the beginning of your schema file. Tom