db-ddlutils-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject svn commit: r357845 - /db/ddlutils/trunk/src/test/org/apache/ddlutils/TestPlatformBase.java
Date Mon, 19 Dec 2005 23:57:14 GMT
Author: tomdz
Date: Mon Dec 19 15:57:11 2005
New Revision: 357845

URL: http://svn.apache.org/viewcvs?rev=357845&view=rev
Log:
Disabled XML validation for the tests

Modified:
    db/ddlutils/trunk/src/test/org/apache/ddlutils/TestPlatformBase.java

Modified: db/ddlutils/trunk/src/test/org/apache/ddlutils/TestPlatformBase.java
URL: http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/test/org/apache/ddlutils/TestPlatformBase.java?rev=357845&r1=357844&r2=357845&view=diff
==============================================================================
--- db/ddlutils/trunk/src/test/org/apache/ddlutils/TestPlatformBase.java (original)
+++ db/ddlutils/trunk/src/test/org/apache/ddlutils/TestPlatformBase.java Mon Dec 19 15:57:11
2005
@@ -194,7 +194,11 @@
      */
     protected Database parseDatabaseFromString(String dbDef)
     {
-        return new DatabaseIO().read(new StringReader(dbDef));
+        DatabaseIO dbIO = new DatabaseIO();
+        
+        dbIO.setUseInternalDtd(true);
+        dbIO.setValidateXml(false);
+        return dbIO.read(new StringReader(dbDef));
     }
 
     /**



Mime
View raw message