ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: How to use a different XML parser?
Date Fri, 12 Dec 2003 07:37:04 GMT
On Thu, 11 Dec 2003, Brian Colfer <Brian.Colfer@kp.org> wrote:

> OK, I can see that but I would need to have my non-xerces parser
> named xercesImpl.jar

Why?

Ant will simply use the JAXP parser the VM hands to it.

If you run JDK 1.4, you can remove Xerces completely and use the
Crimson that's part of the JDK (though I'd recommend to use the
endorsed standards mechanism to upgrade to Xerces in general).

If you run JDK 1.3, simply put the desired XML parser into your
CLASSPATH or ANT_HOME/lib and make sure that JAXP doesn't see Ant's
Xerces version.

Stefan

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


Mime
View raw message