I guess in your xslt task you need a nested xmlcatalog element like so:
<xmlcatalog>
<dtd
publicId="http://cobertura.sourceforge.net/xml/coverage-02.dtd"
location="/path/on/your/harddisk/coverage-02.dtd"/>
</xmlcatalog>
In your doctype declaration you probably have to replace "SYSTEM" by
"PUBLIC" (I'm not quite sure, if this is really necessary).
See http://ant.apache.org/manual/CoreTypes/xmlcatalog.html for reference.
Regards,
Gisbert Amm
duvelbier-tsmets@yahoo.com wrote:
> I have an XML document generated which declares the following DOCTYPE :
> <!DOCTYPE coverage SYSTEM "http://cobertura.sourceforge.net/xml/coverage-02.dtd">
>
> The XSLT parser complains that it cannot connect to the site (consitent with the PROXY
> authentication requested).
> So the question is :
> How do I define the XML catalog in that case ... ?
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
|