You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-dev@db.apache.org by to...@db.apache.org on 2004/09/11 18:59:33 UTC

[DB Torque Wiki] Updated: FrequentlyAskedQuestions

   Date: 2004-09-11T09:59:33
   Editor: HenningSchmiedehausen <hp...@intermeta.de>
   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: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org