db-ddlutils-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Dudziak <tom...@gmail.com>
Subject Re: Parser error from DatabaseIO.read()
Date Tue, 14 Feb 2006 20:09:38 GMT
On 2/14/06, Guy Davis <davis@guydavis.ca> wrote:
> I ran into this last week I think.  With help from the list, I found I
> needed to add the following to the top of the schema XML file:
> <!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database.dtd">
> Then make sure that your root <database> tag has a name attribute.
> After that, I was able to successfully load the schema into empty
> Oracle, SQLServer, and MySQL databases.

FYI, i've just added a property to the ddlToDatabase task with which
you can specify whether the schema XML shall be validated at all. Per
default, this property is now set to false. This should eliminate the
need for the doctype declaration.


View raw message