On 12/20/05, Ken Weiner <[EMAIL PROTECTED]> wrote:
> Since XML validation was enabled by default in DatabaseIO, I have run into
> an error when I run DdlUtils.  My database XML file and resulting stack
> track are shown below.  Do I need to modify or add something to my XML file
> or is there a problem with the DTD?
>
> <?xml version="1.0"?>
> <database name="database-name">
>    ...(the table definitions)
> </database>

Well, the problem is that you haven't specified a DTD at all, and the
XML parser that you're using does not like that.
You can turn XML validation off at the DatabaseIO class via the
setValidateXml method:

http://svn.apache.org/viewcvs.cgi/db/ddlutils/trunk/src/java/org/apache/ddlutils/io/DatabaseIO.java?view=markup

Tom

Reply via email to