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: DDL to Database task: no model name?
Date Tue, 07 Feb 2006 16:10:01 GMT
On 2/7/06, Guy Davis <davis@guydavis.ca> wrote:

> Here are some more details on the error I'm getting when trying to
> create tables from a schema XML file.
>
> Here is the schema.xml file I'm trying to load (dumped from Oracle 9i)
> using DatabaseToDdlTask.
>
> <database>

<snip>

> Here's the Ant log output...
>
> [ddl_to_db] Feb 7, 2006 8:03:56 AM org.apache.commons.digester.Digester
> error
> [ddl_to_db] SEVERE: Parse Error at line 2 column 11: Document root
> element "database", must match DOCTYPE root "null".
> [ddl_to_db] org.xml.sax.SAXParseException: Document root element
> "database", must match DOCTYPE root "null".

You should reference this DTD from your XML:

http://db.apache.org/torque/dtd/database/database.dtd

(this is the DTD that DdlUtils can resolve internally and does not
fetch from the internet per default).

Tom

Mime
View raw message