David Durham <[EMAIL PROTECTED]> writes:

>I have a problem using Torque to create database tables: I'm behind a 
>firewall. 

>How would I change the project-schema's DTD to reference something 
>local.  Currently it is:

><!DOCTYPE database SYSTEM 
>"http://jakarta.apache.org/turbine/dtd/database.dtd";>

What Torque version are you using. If you use the correct Torque 3.1 DTD:

http://db.apache.org/torque/dtd/database_3_1.dtd

then it will use automagically the file inside the torque-gen.jar

You can verify this by looking at the DTD resolver in 
src/generator/src/java/org/apache/torque/engine/database/transform/DTDResolver.java

You should use the following DTD declaration for this:

<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database_3_1.dtd";>

I added this to the Wiki FAQ page.

        Regards
                Henning

-- 
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen          INTERMETA GmbH
[EMAIL PROTECTED]        +49 9131 50 654 0   http://www.intermeta.de/

RedHat Certified Engineer -- Jakarta Turbine Development  -- hero for hire
   Linux, Java, perl, Solaris -- Consulting, Training, Development

"Fighting for one's political stand is an honorable action, but re-
 fusing to acknowledge that there might be weaknesses in one's
 position - in order to identify them so that they can be remedied -
 is a large enough problem with the Open Source movement that it
 deserves to be on this list of the top five problems."
                       -- Michelle Levesque, "Fundamental Issues with
                                    Open Source Software Development"

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

Reply via email to