ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andy Stevens <insomniacpeng...@googlemail.com>
Subject Re: Disable DTD validation
Date Mon, 06 Feb 2012 07:58:30 GMT
You need to supply a catalog entry to map the system uri to a local copy.
Can't remember the details offhand, but I'm pretty sure the task's
configuration allows for this. Or it might be a separate xml catalog task.
Check the docs.

Andy
On 6 Feb 2012 05:41, "Soni, Ashish IN BLR SISL" <ashish.soni@siemens.com>
wrote:

> Hello all!
>
> I have a XML document with <DOCTYPE> section: <!DOCTYPE coverage SYSTEM "
> http://cobertura.sourceforge.net/xml/coverage-04.dtd"> (XML coverage
> report of cobertura)
>
> When I try process this document with <xslt> task, it fails with
> ConnectException. How can I prevent XSLT processor from validating of XML
> document? Or may be from loading external DTDs.
>
> I check old post they are taking about xmlcatalog, but in above dtd we
> don't have publicid.
>
> Any help is appreciated!
>
>  ----------------------------------------------------------------
> With best regards,
> Ashish Soni
>
> Siemens Information Systems Ltd.
> Corporate Technology
> Corporate Development Center India
> Healthcare 1
> PACS
>
> No 84, Keonics Electronics City,
> Hosur Road, Bangalore 560100
> Tel.:  +91 80 2511 3353
> mailto.: ashish.soni@siemens.com<mailto:ashish.soni@siemens.com>
> www.siemens.co.in<http://www.siemens.co.in>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message