Date: 2004-09-11T09:59:33
   Editor: HenningSchmiedehausen <[EMAIL PROTECTED]>
   Wiki: DB Torque Wiki
   Page: FrequentlyAskedQuestions
   URL: http://wiki.apache.org/db-torque/FrequentlyAskedQuestions

   no comment

Change Log:

------------------------------------------------------------------------------
@@ -341,3 +341,24 @@
 <database defaultIdMethod="idbroker" name="databaseName">
 
 -- Jorge Ortega
+
+== What is the correct DTD to use with the Schema files and how can I avoid loading 
the DTD file from the internet every time ? ==
+
+'''Answer'''
+For the 3.1 release of Torque, these are the right DTD Definitions:
+
+{{{
+
+Torque 3.1 and Torque 3.1.1:          
http://db.apache.org/torque/dtd/database_3_1.dtd 
+Torque 3.2:                           http://db.apache.org/torque/dtd/database_3_2.dtd
+}}} 
+
+If you use this DTD, then the Torque Generator will use the database.dtd file 
embedded in the torque-gen-3.1.jar 
+
+You should use the following DTD declaration in your Schema files:
+
+{{{
+<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database_3_1.dtd";>
+}}}
+
+-- Henning Schmiedehausen

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to