ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephane Bailliez <>
Subject RE: Is there a dependency on XML parser for Ant 1.2
Date Wed, 07 Feb 2001 10:26:15 GMT
> -----Original Message-----
> From: Yusuf Goolamabbas []
> Sent: Wednesday, February 07, 2001 8:59 AM
> To:
> Subject: Is there a dependency on XML parser for Ant 1.2
> Hi I had posted a query to ant-user and the response I got was to use
> 'fork="yes"' in my java task to workaround this. I had used Ant 1.2
> earlier to write programs using Xerces/Xalan and required no such
> workaround. 
> After upgrading to Xeces 1.3 and Xalan 2.0, I seem to require this.
> Whilst I am okay with the workaround, is there a specific reason for
> this and should we always use fork=yes for java tasks which call
> classes using Xerces/Xalan

That must be due to a classloader / classpath problem I suppose.
IMHO the problem should disappear if you use xerces/xalan for ant instead of
xalan 2.0 includes the jaxp 1.1 interface and default parser is xerces.

 St├ęphane Bailliez 
 Software Engineer, Paris - France 
 iMediation - 
 Disclaimer: All the opinions expressed above are mine and not those from my

View raw message