On 2/7/06, Guy Davis <[EMAIL PROTECTED]> 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
