ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: [PATCH] XMLValidate
Date Wed, 25 Sep 2002 10:15:56 GMT
On Mon, 23 Sep 2002, J. Pietschmann <j3322ptm@yahoo.de> wrote:

> You get an exception if the parser doesn't support setting
> the schema validation feature. Use this, don't test for a
> specific implementation class.

Thanks, I was looking for a way that would mix well with <condition>
so we could detect whether the parser we are using supports schema and
skip the test if it does not.

The alternative is to catch the BuildException in the test itself and
swallow it.

Stefan

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message