You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-user@db.apache.org by David Durham <da...@scott.af.mil> on 2004/09/10 20:20:00 UTC

Setting the DTD for schema.xml generated by

The torque_xml.xdt contains the following line:

    <!DOCTYPE database SYSTEM "<XDtConfig:configParameterValue
    paramName='dtdUrl'/>">

I'd like to change the dtdUrl because I'm behind a proxy and the 
<torqueschema/> task fails because it can not retrieve the dtd.  Does 
anyone know a good way to do that.  I don't want to change the template 
(for obvious versioning reasons).  Is there a way to pass in this 
parameter through the task itself?  I tried adding dtdUrl="something", 
but that did not work.


Thanks,

Dave

---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org


Re: Setting the DTD for schema.xml generated by

Posted by Thomas Dudziak <to...@first.fhg.de>.
David Durham wrote:

> The torque_xml.xdt contains the following line:
>
>    <!DOCTYPE database SYSTEM "<XDtConfig:configParameterValue
>    paramName='dtdUrl'/>">
>
> I'd like to change the dtdUrl because I'm behind a proxy and the 
> <torqueschema/> task fails because it can not retrieve the dtd.  Does 
> anyone know a good way to do that.  I don't want to change the 
> template (for obvious versioning reasons).  Is there a way to pass in 
> this parameter through the task itself?  I tried adding 
> dtdUrl="something", but that did not work.

The torqueschema subtask has this dtdUrl attribute, see here for an 
explanation:

http://db.apache.org/ojb/docu/guides/xdoclet-module.html#Usage

Tom


---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org