ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Hatcher" <erikhatc...@earthlink.net>
Subject Re: Turning off XML validation is Style task
Date Fri, 07 Sep 2001 20:58:17 GMT
There currently is no way to turn off validation for the <style> task, but
that seems like a reasonable feature request.

Its probably a fairly trivial modification... patches always welcome!  :)

    Erik


----- Original Message -----
From: "McCollum , Angus" <AMcCollum@grow.net>
To: "Ant User (E-mail)" <ant-user@jakarta.apache.org>
Sent: Friday, September 07, 2001 9:35 AM
Subject: Turning off XML validation is Style task


> Is there a way to turn off XML validation in a Style task?
>
> In particular I want to process a set of XML documents that use a public
> document type. The Style task can find the DTD and produces the error
below:
>
> >ant
>
> Buildfile: build.xml
>
> outline:
>     [style] Transforming into C:\outline
>     [style] Transforming into C:\outline
>     [style] Loading stylesheet C:\outline\outline.xsl
>     [style] Failed to process T:\Documents\Problems.xml
>
> BUILD FAILED
>
> C:\outline\build.xml:9: javax.xml.transform.TransformerException:
> java.io.FileNotFound
> Exception: T:\Documents\mathnote.dtd (The system cannot find the file
> specified)
>
> Total time: 2 seconds
>


Mime
View raw message